-
Notifications
You must be signed in to change notification settings - Fork 409
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
Some times go2rtc serves only audio to webrtc consumer #112
Comments
This is related to #65. Your stream starts from only audio consumer. You can't request new track from RTSP after play command. There is should be some restart logic. |
Right. That would make sense. The only consumer who requests only audio in my streams is go2rtc itself so it can transcode to another format. |
Ok, just to update: I found a way to reliably reproduce the error on my end (I just need to restart a bunch of cameras). If you need something like logs or so, let me know, and I can capture. |
This situation is very easy to reproduce. It's not a bug. These are limitations of the current capabilities of go2rtc. |
@AlexxIT another thing which I noticed: chrome_rHzokzXsbj.mp4I think this is not normal, is it? So many active connections which don't seem to disappear automatically. |
I've seen that before. It was common before #39 was merged. At this point I haven't seen it since then. |
Hm... just to be clear I'm using the latest version
Another idea which I have is for go2rtc to somehow block the stream entirely if the dependent source isn't available. Something like:
The |
Source 2 will always fail if source 1 fail. |
Probably fixed in v0.1-rc.5 |
On a quick test, it seems to be fixed indeed. Thank you very much! |
For some reason this happens some times, I was able to capture a video demonstrating the issue:
video_2022-11-17_16-55-25.mp4
Video with full quality: https://1drv.ms/v/s!AntpCaY1YjnMi6EVW_i6yy6p2utDUg?e=js4gUj
The text was updated successfully, but these errors were encountered: