RESOLVED MOVED256038
For Linear content When there is a transition from Ad to content <-> content to Ad, there is momentary freeze.
https://bugs.webkit.org/show_bug.cgi?id=256038
Summary For Linear content When there is a transition from Ad to content <-> content ...
Ashutosh Kumar
Reported 2023-04-27 04:59:17 PDT
We have observed for the linear content whenever there is transition from Ad to content <-> content to Ad, there is momentary freeze. The player state was proper during the transition (it was not going to stalled/buffering state). No network errors found during momentary freeze. On analyzing the base media decode time of the content segments (.mp4), we found that it is consistent with the #EXT-X-PROGRAM-DATE-TIME present in the manifest. The base media decode time of the ad segments however had static values (being vod), which we were not able to directly map with their corresponding EXT-X-PROGRAM-DATE-TIME values. But we do not suspect anything wrong here as the ad itself would not have played if the base media decode times were incorrect. Is there any such known issue ?
Attachments
same video for the reference where issue is at 00:11 (18.59 MB, video/mp4)
2023-05-08 08:31 PDT, Ashutosh Kumar
no flags
Alexey Proskuryakov
Comment 1 2023-04-27 17:33:08 PDT
Thank you for the report! Could you please provide steps to reproduce?
Ashutosh Kumar
Comment 2 2023-04-27 21:33:13 PDT
Play a liner content which having server side Ad, once Ad will get over Content play back starts. During Ad to content switch for quater second there a freeze.
Alexey Proskuryakov
Comment 3 2023-04-28 08:28:34 PDT
By steps to reproduce, I mean something in the form of "load this particular URL in Safari, click here, observe this problem". Re-creating a test from the current description would be a significant effort.
Radar WebKit Bug Importer
Comment 4 2023-05-04 05:00:19 PDT
Ashutosh Kumar
Comment 5 2023-05-08 08:31:20 PDT
Created attachment 466281 [details] same video for the reference where issue is at 00:11
Ashutosh Kumar
Comment 6 2023-05-08 08:32:28 PDT
Hi Alexey Proskuryakov, Below is the stream where Momentary freeze is seen during Ad to Content transition. https://linear-dai-ott-ap.ssai.iris.synamedia.com/tenant/jvkyf329/d3qah5otyky386.cloudfront.net/wm-clear/hls-mp4/loki-dashiso-clear/6005/default.m3u8?PID=&PAID=6000&deviceId=6ec3963b3ba57cb7f23fd7b848a62e5d&sessionId=abr-linear-5cfe3fab-b2f1-4f8a-9c82-69asdfasdf7e&optin=true&hhid=4f66ecasdfasdcb5bc287290118f154ed1&daiEnabled=true For the stream Ad appears every 3 minutes and lasts for 30 seconds. I have also attached same video for the reference where issue is at 00:11
Ashutosh Kumar
Comment 7 2023-05-11 00:21:38 PDT
Is there any update?
Ashutosh Kumar
Comment 8 2023-05-11 03:57:27 PDT
There is an important observation. If we play the dataplane stream directly with CUE-IN/CUE-OUT tags - there is no momentary freeze. Freeze happens only if discontinuity tag is present in the playlist.    Could you please confirm if reinitializing decoder with init segment is causing any issues? We are eagerly waiting fir this, Quick response will be appreciated. Thanks, Ashutosh
Ashutosh Kumar
Comment 9 2023-05-14 22:40:15 PDT
Hi, I have found the crucial factor: It seems that Safari native player expects that the PTS of the video after the DISCONTINUITY is AT LEAST as high as the PTS of the audio after the DISCONTINUITY. Could you please confirm is this expected ?
Ashutosh Kumar
Comment 10 2023-05-16 06:53:09 PDT
Any update?
Alexey Proskuryakov
Comment 11 2023-05-17 10:51:51 PDT
Thank you for the updates. This is believed to be an issue in Apple frameworks below WebKit, so I'm marking it is resolved/moved. Please continue investigating this with Apple.
Brent Fulgham
Comment 12 2023-06-08 12:51:01 PDT
This is actually being tracked internally as: <rdar://108836157>
Note You need to log in before you can comment on or make changes to this bug.