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

Allow mid stream audio video format change #1497

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

levs42
Copy link
Contributor

@levs42 levs42 commented Jun 24, 2024

Description & motivation

When audio or video format is changed in the middle of the stream, the muxer sends RTMP message with zero chunk type. This breaks streams on different platforms, including Twitch. RTMPStream used to have flags audioWasSent, videoWasSent to handle this case before this 65cbf34 change. This PR doesn't bring the flags back, instead it just checks if the format was nil.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@shogo4405
Copy link
Owner

Thank you.

@shogo4405 shogo4405 merged commit 0dcb5ee into shogo4405:main Jun 25, 2024
1 check failed
@shogo4405 shogo4405 added this to the 1.9.1 milestone Jun 25, 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.

2 participants