Skip to content
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

Unable to restart service if RTSP stream is active when service is stopped #122

Open
kmusser2 opened this issue Dec 9, 2023 · 0 comments

Comments

@kmusser2
Copy link

kmusser2 commented Dec 9, 2023

If an RTSP stream is active when the service is stopped, camera-streamer leaves the socket in TIME_WAIT state. This prevents the service from restarting until the TIME_WAIT state is cleaned up by the OS. The systemctl attempts to restart the service repeatedly, but it will always fail until the TIME_WAIT clears.

The following is written to syslog:
camera-streamer[3317]: output/rtsp/rtsp.cc: ?: Failed to create RTSP server: bind() error (port number: 8554): Address already in use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant