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 handle publisher disconnect? #45

Open
terion-name opened this issue Dec 23, 2024 · 0 comments
Open

How to handle publisher disconnect? #45

terion-name opened this issue Dec 23, 2024 · 0 comments

Comments

@terion-name
Copy link

Hello! Very neat library, thank you.
But I don't see any possibility to handle when publisher stops streaming.
E.g. I launch ffmpeg -stream_loop -1 -i demo.webm -c:v copy -f rtsp rtsp://127.0.0.1:5554/stream-test and then Cmd+C to stop FFMPEG – and there is no teardown request, so mounts are not cleared, subsequent publishes are not accepted, etc.

This would be not a problem if tcp rtsp_transport would've been supported (BTW any chances for implementing this?), but with UDP streams...

Is there any suggested method?

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