Bug 207538 - The video duration is updating while a VOD playback
Summary: The video duration is updating while a VOD playback
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad iOS 13
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-11 06:27 PST by yair.ansbacher
Modified: 2022-02-10 14:45 PST (History)
4 users (show)

See Also:


Attachments
loading sequence screenshot (383.61 KB, image/png)
2020-02-11 06:27 PST, yair.ansbacher
no flags Details
Session log (1.74 MB, text/plain)
2020-02-11 06:32 PST, yair.ansbacher
no flags Details
session har file (264.18 MB, text/plain)
2020-02-11 06:35 PST, yair.ansbacher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description yair.ansbacher 2020-02-11 06:27:17 PST
Created attachment 390357 [details]
loading sequence screenshot

What I did:
play VOD content using Safari webkit HTMLVideoElement

Expected:
1. Video will play 
2. Content duration will be available immediately after the video is loaded
3. durationchanged event is fired only one time

Actual:
The contnet duration is updated continuously
durationchanged event is fired all the time, Each time the duration time is growing.

Observations:
The manifest includes muxed video and audio renditions
There is one rendition (#EXT-X-STREAM-INF) containing only audio for slow networks
The issue only happens when the following specific loading sequence happens:
1. master playlist
2. muxed av chunk list
3. audio-only chunk list load
4. 2 audio segments loaded 
5. muxed av chunk list
6. muxed segments loaded 

When the audio-only chunk list and segments not loaded the issue doesn't happen.

The sequence above can be shown in the attached screenshot.
Here the link to the har file of the session (250MB+):
https://wetransfer.com/downloads/9989c9a955561bc84af22ee6d9099ac420200211135853/5f8f034843e408820c2200dbea8b2e9120200211135853/1ac581

This issue is sporadic and it's pretty difficult to reproduce it.
I did some device restarts to make it happened.

Yair
Comment 1 yair.ansbacher 2020-02-11 06:32:02 PST
Created attachment 390359 [details]
Session log

Adding the session log from the media logging (verbose)
Comment 2 yair.ansbacher 2020-02-11 06:35:46 PST
Created attachment 390361 [details]
session har file

Adding the har file here
Comment 3 Radar WebKit Bug Importer 2020-03-05 11:14:47 PST
<rdar://problem/60091836>
Comment 4 Brent Fulgham 2022-02-10 14:44:20 PST
This is actually:
<rdar://59806776>
Comment 5 Brent Fulgham 2022-02-10 14:45:05 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

The relevant component has not confirmed a fix yet.