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
Using go2rtc to play recordings [question] #1104
Comments
I haven't dealt with it. I don't know why it worked before and doesn't work now. |
the h264 decoding(?) wasn't working on 1.5.0 (h265 wasn't working either) |
There have been a lot of changes between these versions. |
go2rtc has no mechanisms that will select a different track if there are problems with the first track. |
So I have been fiddling a bit with the go2rtc to support playing streams from NVR's that support it, so far I got it to work by adding:
Require: onvif-replay
Range: clock=20240507T203746Z-20240507T203756Z
to the PLAY request
I was working on an old version of go2rtc, it was 1.5.0 but the playback was broken (using own go2rtc player).
I updated to 1.9.1 ahd the playback now works on h264 but on h265 is not working, any place I should pay attention to?
(the livestream from the same source works in h265, but I'm assume that there may be any variants)
I also saw something about custom headers, is that for NVRs that supports them (i.e. the clock range is handled by the device and not in the PLAY request) or it can also add headers to the PLAY command?
I can provide Wireshark captures of a playback working with h264 and one stuck on h265 if you are interested on checking it out.
Thanks in advance for any guidance
The text was updated successfully, but these errors were encountered: