-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video lag in ProtectLivesteam #28
Comments
Mea culpa. The lag is introduced by HLS. |
There is no lag. It’s used in my homebridge-unifi-protect plugin and it livestreams video with sub-second latency just fine. It’s also used by the native UniFi Protect webUI to show livestreams. I won’t troubleshoot your FFmpeg challenges (well beyond the scope of support I provide), but your issue is there, not with the API or this library. |
Enjoy! Glad you tracked it down. |
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions. |
Describe The Problem:
I'm using the
unifi-protect
package to stream the video of a single camera toffmpeg
and product HLS video (this format is suitable for consuming via a web page). There's a lag of about 15 seconds in the video - is this normal?To Reproduce:
Followed the docs for listening to the
message
events ofProtectLivestream
. I'm feeding these directly intoffmpeg
stdin
(i.e.,-i pipe:0
) for transcoding into HLS. I'm watching the transcoded stream withVLC
.The text was updated successfully, but these errors were encountered: