-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Remote/RTSP is broken: Failed to bind RTCP server #3759
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
I'm not so sure... it looks to me like the port isn't configured and it isn't getting a hostname for localhost... What do you have in Options->Network->MIN_RTP_PORT ? Default is 40200. You might try changing this... |
MIN_RTP_PORT is still default 40200. The error log shows that it tried to bind port 0 and 1 (comes from 0+1). Binding 0 was fine because it picked a random one instead. Binding 1 failed. These two threads are not supposed to run at all (the comment says so). But yet they run and try to bind port 0 and 1. That's the problem. |
I've this issue too |
I have the same issue on Debian 11, zoneminder-1.36.33-bullseye1 from the zoneminder APT repo. This is what I got from the debug output:
I dug a bit in the source (I'm not an expert!) but it seems that a new RtpSource object is created here in zm_rtsp.cpp:
Where But looking at the source (again in zm_rtsp.cpp):
it seems to just parse the value from
Hope this makes any sense and helps you track down the issue. |
Describe Your Environment
Describe the bug
Remote/RTSP is broken with error log: "Failed to bind RTCP server"
I think the bug was introduced in 71edb9d. Before this commit RtpCtrlThread needs to call .start() but this commit changed it to start without it.
Then in zm_rtsp.cpp there is a ctrl thread that doesn't want to start:
Now it starts and fails.
To Reproduce
Simply use Remote/RTSP.
Expected behavior
It should work
Debug Logs
The text was updated successfully, but these errors were encountered: