-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Question about removing remuxEmptyAudio #6528
Comments
In muxed audio video segments audio samples ending before video, this call to remuxEmptyAudio could insert silent audio that may be carried in the next segment. Silent audio insertion is now only handled in |
Thanks for the answer, now I understand why it's removed. If there will be no more audio data in the rest of the stream, I know this is actually a problem of the stream, but is there any other way to make a workaround? for example, still use |
You could get the audio SourceBuffer from BUFFER_CREATED, and try appending silent audio after FRAG_BUFFERED based on fragments.elementaryStreams. |
What do you want to do with Hls.js?
Hi, I notice that there is a workaround has been removed by this commit, but i cannot fully understand the descripiton: "Remove empty audio track workaround because it causes gaps in live streams with audio PES carryover", could you please help to explain further?
Because this workaround could resolve a problem caused by my broken vod stream: the audio data suddenly disappears after a certain fragment. If I added this workaround back in my code, what potential risks might there be?
Thank you.
What have you tried so far?
No response
The text was updated successfully, but these errors were encountered: