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

Handle stream_deleted child notification in SourceBin #107

Closed

Conversation

lastcanal
Copy link
Contributor

Hello! I am getting a FunctionClauseError in RTMP.SourceBin when an RTMP stream ends before the pipeline is terminated. It looks like RTMP.SourceBin is not setup to handle the :stream_deleted child notification.

This PR:

  • Updates the 'happy path' test to wait for the ffmpeg stream to end before terminating the test pipeline.
  • Handles the stream_deleted child notification from Source to SourceBin by forwarding to it's parent.

@lastcanal lastcanal requested a review from varsill as a code owner October 31, 2024 16:15
@lastcanal lastcanal force-pushed the propagate_stream_deleted branch from 92c5c6d to 109f664 Compare October 31, 2024 16:27
@lastcanal
Copy link
Contributor Author

Looks like this was already handled in #106 but I didn't see it before creating this PR :). I've rebased my changes to only include the failing test case.

@lastcanal lastcanal closed this Oct 31, 2024
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.

1 participant