Bug 240549 - Duplicated cues of in-manifest captions, if cue properties modified
Summary: Duplicated cues of in-manifest captions, if cue properties modified
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-17 16:14 PDT by Gary Katsevman
Modified: 2022-05-19 19:51 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Katsevman 2022-05-17 16:14:19 PDT
If, when, playing back an HLS stream with in-manifest captions, a cue's properties are modified, when seeking back and replaying the video so that the cue becomes active again, the cue becomes duplicated.
Modifying any property of the cue will cause a new cue to be re-added with the original values and both of them to be displayed.

I have a live example here https://simple-video.netlify.app/double-cues.html
It waits for some cues to be available, modifies their `line` properties to be `0` and then seeks back. On the second play, there are now cues at the top and the bottom of the display area.

To me, this seems a bit unexpected that a new cue is created even though the original reference still exists, even if it was modified.
I'd expect no new cues to be created.
Comment 1 Radar WebKit Bug Importer 2022-05-19 19:51:30 PDT
<rdar://problem/93624739>