Skip to content

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