Skip to content

send STREAT-START event to downstream when app pushes data after sending EOS - #1719

Open
kkanag314 wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
kkanag314:wpe-2.38
Open

send STREAT-START event to downstream when app pushes data after sending EOS#1719
kkanag314 wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
kkanag314:wpe-2.38

Conversation

@kkanag314

@kkanag314 kkanag314 commented Aug 19, 2026

Copy link
Copy Markdown

Test Procedure:

Root Cause:
During MediaSource reuse across ad/content transitions, the pipeline remained in EOS state after EOS was pushed. Since STREAM_START was not re-sent, subsequent CAPS and buffer pushes failed, causing the MediaSource to close and resulting in a green screen during stream transitions.

Fix Done:
Modified webKitMediaSrcLoop() to reset wasStreamStartSent on EOS and re-send STREAM_START when the MediaSource is reused. This allows the pipeline to recover from EOS state and correctly process new segments during period and ad transitions.

@modeveci
modeveci requested a review from eocanha August 19, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants