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

notify clients when publisher stopped broadcasting #14

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shaulfl
Copy link

@shaulfl shaulfl commented Oct 24, 2018

In my use case I'm using ngnix-rtmp as rtmp proxy.
When rtmp publisher disconnects, ffmpeg rtmp subscribers hangs indefinitely, and manually closing ffmpeg causes file corruption.
This pull request resolves this issue by notifying client on publish/unpublish and handle it accordingly so ffmpeg exits gracefully.

In my use case I'm using ngnix-rtmp as rtmp proxy.
When rtmp publisher disconnects, ffmpeg rtmp subscribers hangs indefinitely, and manually closing ffmpeg causes file corruption.
This pull request resolves this issue by notifying client on publish/unpublish so ffmpeg exits gracefully.
notify clients when publisher stopped broadcasting
@JasonRivers
Copy link
Owner

Thanks for this! However, in your PR you have disabled HLS, HLS is a large part of what's used on this image, Please could you remove disabling HLS and then I can merge this in.

add build arg to fix build issue
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

Successfully merging this pull request may close these issues.

2 participants