[Webkit-unassigned] [Bug 255452] New: [MSE][GStreamer] Avoid unneeded timechanged notifications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 14 05:56:52 PDT 2023


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

            Bug ID: 255452
           Summary: [MSE][GStreamer] Avoid unneeded timechanged
                    notifications
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eocanha at igalia.com

The YouTube MSE Conformance Tests 2021[1][2] added a check to ensure that the initial warm up time of the player is less than 500 ms in accuracy tests (). While these tests pass on a fast desktop computer, they fail on a lower end device (eg: Raspberry Pi 3). This is because there's a first timeupdate event triggered as soon as the appended init segment is processed, but the processing time of the next appended data segment takes too much time, so when playback actually starts, the next timeupdate event comes later than 500ms from the first one, causing the test to fail on slow platforms.

Since the default time of the video element should be 0 from the begining and the time reported by that initial timeupdate is actually 0 (no change), that initial timeupdate event is redundant (and wasn't happening before the WebKitMediaSrc rework[3]).

[1] https://ytlr-cert.appspot.com/2021/main.html?tests=35,36,37,38&command=run
[2] https://ytlr-cert.appspot.com/2021/media/conformanceTest.js, line 886 (best displayed as https://pastebin.com/fPx1EW22)
[3] https://github.com/WebKit/WebKit/commit/9382c6ef1a5b64d1701c691c63fe84de22cf932b

-- 
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/20230414/cd540cb8/attachment-0001.htm>


More information about the webkit-unassigned mailing list