algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.07k stars 67 forks source link

Chrome bug: Playing merged stream has a frozen frame segment #93

Open Lirianer opened 2 months ago

Lirianer commented 2 months ago

Problem Description

When merging multiple video streams, using Algora.Admin.merge_streams added in #76, into a single stream, a playback glitch occurs when playing the resulting .m3u8 in Chrome specifically after the #EXT-X-DISCONTINUITY tag.

The video freezes after the tag for the duration of the segment that follows, it then plays correctly. Video evidence by @zcesur , the glitch occurs at 0:46. The frame freezes showing the first frame of the second segment after the discontinuity tag

https://github.com/user-attachments/assets/c6ac7829-4963-4c07-9b32-708410b84512

Repro steps

Attempted solutions

Possible investigation