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

How to make stream drop faster after client disconnects #1375

Open
Erithax opened this issue Sep 27, 2024 · 0 comments
Open

How to make stream drop faster after client disconnects #1375

Erithax opened this issue Sep 27, 2024 · 0 comments

Comments

@Erithax
Copy link

Erithax commented Sep 27, 2024

With a simple stream

ffmpeg:device?video=/dev/video0&input_format=h264&video_size=1280x720

and using the included web page (stream.html). When the client disconnects, the stream takes 7-10s to shutdown as indicated

  • usb led
  • go2rtc web page showing '1' online
  • error when opening another camera quickly after closing the first, because usb can't handle both at the same time

How do I make sure the stream shuts down quickly?

Adding #raw=-timeout 1 -rw_timeout 1 did not work.

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