Bug 259105

Summary: REGRESSION (Safari 16.4): HTMLVideoElement reports currentTime outside buffered range
Product: WebKit Reporter: Andreas Kogler <andreas.kogler>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testpage + stream for reproduction none

Andreas Kogler
Reported 2023-07-11 04:21:19 PDT
Created attachment 467021 [details] Testpage + stream for reproduction Here is a test page where the video element reports a currentTime of 0.00001 and a buffered range of 0-3.9. After some time a durationchanged event is fired and the buffered range jumps to 0.43 - 187 while the currentTime stays at 0.00001. After this happens the video still is able to play from 0, effectively playing outside of all buffered ranges. This starts to happen with Safari 16.4 and didn't occur up until Safari 16.3. Check out the attached test setup for reproduction.
Attachments
Testpage + stream for reproduction (2.33 KB, application/zip)
2023-07-11 04:21 PDT, Andreas Kogler
no flags
Radar WebKit Bug Importer
Comment 1 2023-07-11 08:43:21 PDT
Eric Carlson
Comment 2 2023-07-24 11:54:19 PDT
This doesn't reproduce for me with current sources. The currentTime is 0 when the buffered ranges is [0 - 0], stays at 0 when it jumps to [0 - 3.92], changes to 0.000001 when the buffered ranges changes to [0.000001 - 3.92], and stays at 0.000001 when the 'durationchanged' event fires and the buffered ranges changes to [0.000001 - 171.92]
Eric Carlson
Comment 3 2023-07-24 11:56:53 PDT
Note You need to log in before you can comment on or make changes to this bug.