Streaming not working over Unifi
See original GitHub issueLive Streaming Issue
Describe the live streaming issue
I used to have streaming working a while back, but more recently the camera stream never seems to resolve.I do get preview pictures but no live stream.
I think it stopped working when I switched to a Unifi UDM as my router. Up until a few weeks ago I was getting the Preparing…Waiting… then nothing. Since the last update I am now getting past the waiting stage and see a “Receiving…” but it always seems to respond just over 10 seconds after the request starts, at which point the UI has timed out. I do have UPnP and NATPMP turned on.
I did wonder if it was my home bridge setup, so I built a new homebridge instance on a clean Raspberry Pi and still got the same results.
What confuses me is that the Ring app works just fine on all my devices while running on the same Wifi as the RPi, so why is this different?
(I am a longtime web/cloud dev so not a noob, but I am also not a hardcore networking expert)
Screenshots/Logs
[5/30/2020, 12:41:00 PM] [Ring] Preparing Live Stream for Front Door
[5/30/2020, 12:41:00 PM] [Ring] Waiting for stream data from Front Door (0.32s)
[5/30/2020, 12:41:07 PM] [Ring] Snapshot for Front Door is still within its life time (28.97s old)
[5/30/2020, 12:41:09 PM] [Ring] Snapshot for Driveway is still within its life time (1.247s old)
[5/30/2020, 12:41:20 PM] [Ring] Received stream data from Front Door (20.385s)
[5/30/2020, 1:45:33 PM] [Ring] Preparing Live Stream for Front Door
[5/30/2020, 1:45:34 PM] [Ring] Waiting for stream data from Front Door (0.941s)
[5/30/2020, 1:45:44 PM] [Ring] Stopped Live Stream for Front Door
[5/30/2020, 1:45:44 PM] [Ring] Received stream data from Front Door (10.764s)
[5/30/2020, 1:46:13 PM] [Ring] Preparing Live Stream for Front Door
[5/30/2020, 1:46:13 PM] [Ring] Ding 6832741206375923018 is expired (480). Fetching a new ding and trying video stream again
[5/30/2020, 1:46:14 PM] [Ring] Waiting for stream data from Front Door (1.692s)
[5/30/2020, 1:46:24 PM] [Ring] Stopped Live Stream for Front Door
[5/30/2020, 1:46:24 PM] [Ring] Received stream data from Front Door (11.007s)
Recommended solution
I have tried everything I can think of and am humbly looking for advice here.
Environment
- Ring Camera: Ring Pro Doorbell, plus two Ring FloodLight cams and two Ring Spotlight Cams
- OS: Raspberry Pi OS (fresh install 5/30/20)
- Node.js: 12.17.0
- NPM: 6.14.4
- homebridge-ring v8.2.0
- homebridge (if applicable): 1.1.0
Network Environment
Comcast XFinity gateway put in bridge mode Unifi UDM Raspberry Pi running latest OS, clean install of Homebridge. Wired connection directly to the UDM. Apple TV 4K as HomeKit Hub.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Yeah giving it some time, it seems to resolve. I’m very happy it is working on my Mac at least, I just need to work out now why it is not working on the phone or iPad.
Thank you for all your work on this plugin. I will close this bug now.
Yep, I’ll give that a go now