question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Streaming not working over Unifi

See original GitHub issue

Live 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:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
markcarrollcommented, May 30, 2020

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.

1reaction
markcarrollcommented, May 30, 2020

Yep, I’ll give that a go now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Streaming video slow, or stops - Ubiquiti Community
Try by lowering the power (medium or even low), and use different channels, 1-6-11, on ht 20. Could be necessary add 'some' APs,...
Read more >
Streaming Issues : r/Ubiquiti - Reddit
I have about 70 HomeKit devices and about 100 total WiFi devices. Streaming and web site Issues. It happens both during the day...
Read more >
homebridge-unifi-protect/Troubleshooting.md at main - GitHub
This page is intended to help you walk through troubleshooting two key areas - getting homebridge-unifi-protect connected to UniFi Protect, and streaming ......
Read more >
UniFi's Advanced Wi-Fi Settings Explained - McCann Tech
Recommendation: Turn on if battery life is important, and older/IoT device connectivity is not. Disabling this is a good troubleshooting step if ...
Read more >
UniFi Protect - Home Assistant
The Package Camera entity will not have streaming capabilities regardless of whether RTSPS is enabled on the channel or not. This is due...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found