Bug 255499 - subtitles remain on Safari when playing live content
Summary: subtitles remain on Safari when playing live content
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 16
Hardware: All iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-16 17:02 PDT by valletgood
Modified: 2023-04-25 09:04 PDT (History)
3 users (show)

See Also:


Attachments
Subtitle data received from the server. (100.31 KB, image/png)
2023-04-17 16:53 PDT, valletgood
no flags Details
Subtitle data confirmed through textTracks. (95.43 KB, image/png)
2023-04-17 16:54 PDT, valletgood
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description valletgood 2023-04-16 17:02:06 PDT
When playing HLS live content in Safari, the subtitles continue to be displayed and are not disappearing. When checking the activeCues through the Web API textTracks, it was found that some cues have an endTime of Infinity. When playing the same live content in Chrome, the issue does not occur. What is the reason for assigning the value of Infinity to endTime when processing the received startTime and endTime of the subtitles from the server in Safari?
Comment 1 Karl Dubost 2023-04-16 18:00:50 PDT
valletgood,
thanks for the report. Would you have a test case or a website where this is breaking?
Comment 2 valletgood 2023-04-17 16:53:26 PDT
Created attachment 465949 [details]
Subtitle data received from the server.
Comment 3 valletgood 2023-04-17 16:54:28 PDT
Created attachment 465950 [details]
Subtitle data confirmed through textTracks.
Comment 4 valletgood 2023-04-17 16:55:13 PDT
(In reply to Karl Dubost from comment #1)
> valletgood,
> thanks for the report. Would you have a test case or a website where this is
> breaking?

We cannot provide our website because live content streaming is currently not available. However, we will upload a screenshot that we tested before. The subtitle data of the live content received from the server contains values for "begin" and "end". However, when we checked the subtitle data using the Web API "textTracks" in Safari, the "endTime" value was set to "Infinity", and the subtitles continued to display without disappearing. Please check attachment 465949 [details] and attachment 465950 [details]
Comment 5 Radar WebKit Bug Importer 2023-04-25 09:04:05 PDT
<rdar://problem/108506607>