Bug 261868 - Hls does not seem to support multiple resolutions in the same playlist
Summary: Hls does not seem to support multiple resolutions in the same playlist
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 16
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-21 03:18 PDT by luca
Modified: 2023-09-28 03:19 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luca 2023-09-21 03:18:22 PDT
Hello,

We have an hls stream served by aws kinesis where fragments can have a different resolution in the same playlist.

Everything works fine in the kinesis console in chrome on macos (we can see the resolution switching and the video playing, the resolution is correctly reported) and we can serve it fine in all our clients using hls.js.

However, for safari on ios (which uses the native html player), safari on macos (when using the native html player, given that we can choose there) and even quicktime the video hangs at the resolution switch. This happens in the kinesis web video player too while playing the same video on safari.

There are no errors and the player thinks it's still playing, but the presented image is the last frame before the resolution switch.

Should the html video element in safari support the scenario (where the fragments in a playlist change resolution) or is it instead expecting a multivariant playlist here? Should it at least report an error?

I can provide a playlist which reproduces the issue but only with a short expiration time for security reasons, so let me know if that would help.


Cheers,
Luca
Comment 1 Radar WebKit Bug Importer 2023-09-28 03:19:15 PDT
<rdar://problem/116173449>