Bug 235087

Summary: [Cocoa] HLS stream currentTime sometimes jumps backwards
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, cdumez, changseok, dino, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, philipj, robert.bryer, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch for landing
none
Patch for landing ews-feeder: commit-queue-

Description Eric Carlson 2022-01-11 15:54:58 PST
An HLS stream's video.currentTime sometimes jumps backwards briefly.
Comment 1 Eric Carlson 2022-01-11 15:55:12 PST
rdar://83831093
Comment 2 Eric Carlson 2022-01-11 16:11:37 PST
Created attachment 448886 [details]
Patch
Comment 3 Eric Carlson 2022-01-11 16:57:02 PST
Created attachment 448893 [details]
Patch
Comment 4 Eric Carlson 2022-01-12 10:03:27 PST
Created attachment 448960 [details]
Patch
Comment 5 Eric Carlson 2022-01-12 11:08:25 PST
Created attachment 448969 [details]
Patch
Comment 6 Eric Carlson 2022-01-12 12:13:38 PST
Created attachment 448984 [details]
Patch
Comment 7 Eric Carlson 2022-01-12 13:21:27 PST
Created attachment 448989 [details]
Patch
Comment 8 Eric Carlson 2022-01-12 15:34:33 PST
Created attachment 449004 [details]
Patch
Comment 9 Robert Bryer 2022-02-09 05:34:50 PST
Hi Eric, in the current Safari TP 139, I'm seeing currentTime jumping back to 0 when seeking for live streams like so:

timeupdate – 7193.6532422809705
set currentTime – 7173.88901530305
seeking – 7173.889107168126
timeupdate – 7173.889107168126
timeupdate – 0
seeked – 0
timeupdate – 0
timeupdate – 7173.988310672026 (correct timeupdates continue)
timeupdate – 7174.13682652897


Is this related to this issue, or should I fork it as a different bug?
Comment 10 Eric Carlson 2022-02-28 14:32:15 PST
Created attachment 453430 [details]
Patch for landing
Comment 11 Eric Carlson 2022-03-01 12:16:43 PST
Created attachment 453520 [details]
Patch for landing
Comment 12 EWS 2022-03-01 14:29:15 PST
Committed r290676 (247947@main): <https://commits.webkit.org/247947@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 453520 [details].
Comment 13 Eric Carlson 2022-03-01 14:38:31 PST
The Windows test failures:

- js/function-apply-many-args.html
- svg/animations/animate-keytimes-crash.html
- svg/as-image/img-zoom-svg-stylesheet.html


are unrelated.