[Webkit-unassigned] [Bug 287881] New: [GStreamer] Account for internal pauses because of buffering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 18 12:24:31 PST 2025


https://bugs.webkit.org/show_bug.cgi?id=287881

            Bug ID: 287881
           Summary: [GStreamer] Account for internal pauses because of
                    buffering
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eocanha at igalia.com

The PlaybackRatePausedState in MediaPlayerPrivateGStreamer only accounts for different pause reasons because of manual pause and playbackRate == 0, but pauses because of low buffering level should also be accounted. Currently they aren't (but the player can get paused because of it) and that's confusing the code that deals with pauses/unpauses because of playbackRate.

See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1455

This downstream PR proposes to "abuse" PlaybackRatePausedState::RatePaused to keep tack of pauses because of buffering, but that's conceptually wrong. A new BufferingPaused state should be created to keep track of this pause reason and be able to recover from it (unpause) later.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20250218/3d2a5ffa/attachment.htm>


More information about the webkit-unassigned mailing list