What’s new in HLS Interstitials

RSS for tag

Discuss the WWDC22 Session What’s new in HLS Interstitials

Posts under wwdc2022-10145 tag

4 Posts

Post

Replies

Boosts

Views

Activity

AVPlayerInterstitialEvent Does Not Play For Live Playlist
eventplaylist.txt liveplaylist.txt I want to use AVPlayerInterstitialEvent to schedule a priority alert during Live content. I set the interstitial event to the events property of AVPlayerInterstitialEventController but the primary content never switches to the event at the specified Date. I am able to successfully set an event when the primary content is VOD and the event plays as expected. I have confirmed: The HLS playlist for the primary asset contains EXT-X-PROGRAM-DATE-TIME tag so the Event can be mapped into the primaryItem timeline. The date property of the AVPlayerInterstitialEvent is sufficiently ahead (> 60 seconds) of the current playback time. Using Charles Proxy, I do not see any player networking for the Event's URL. Here is a code snippet to show how the event is created and scheduled: let currentItem = player.currentItem let event = AVPlayerInterstitialEvent(primaryItem: currentItem, \identifier: evt.id, date: evt.date, templateItems: [AVPlayerItem(url: evt.url)], restrictions: [], resumptionOffset: CMTime.indefinite) event.willPlayOnce = true eventController.events = [event] I have also attached example HLS for the Live content and Event. Any help is appreciated.
2
1
1.3k
Apr ’23
How to pause HLS live using AV-Player
Used the PreferredForwardBufferDuration, this also after 2 - 3 minutes unable to pause the video, its catching live if pause duration more than 2 -3 minutes. Example:  [self.player.currentItem setPreferredForwardBufferDuration:60];   self.player.automaticallyWaitsToMinimizeStalling = YES;  self.player.currentItem.canUseNetworkResourcesForLiveStreamingWhilePaused = NO; How to stop buffering the AV-Player during pause state How to clear the AV-Player buffer during pause. SeekToTime is not working properly for live channel, I want to seek just one/two sec back. With SeekToTime if av-player unable to seek to previous time line its catching the future position. Manifest providing to av-player, #EXT-X-VERSION:4 #EXT-X-TARGETDURATION:1 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-KEY:METHOD=AES- http://ServerAddress/f1655359642.ts #EXT-X-KEY:METHOD=AES- http://ServerAddress/f1655359643.ts #EXT-X-KEY:METHOD=AES- #EXTINF:0.984, http://ServerAddress/f1655359644.ts
0
0
1.2k
Jun ’22
AVPlayerInterstitialEvent Does Not Play For Live Playlist
eventplaylist.txt liveplaylist.txt I want to use AVPlayerInterstitialEvent to schedule a priority alert during Live content. I set the interstitial event to the events property of AVPlayerInterstitialEventController but the primary content never switches to the event at the specified Date. I am able to successfully set an event when the primary content is VOD and the event plays as expected. I have confirmed: The HLS playlist for the primary asset contains EXT-X-PROGRAM-DATE-TIME tag so the Event can be mapped into the primaryItem timeline. The date property of the AVPlayerInterstitialEvent is sufficiently ahead (> 60 seconds) of the current playback time. Using Charles Proxy, I do not see any player networking for the Event's URL. Here is a code snippet to show how the event is created and scheduled: let currentItem = player.currentItem let event = AVPlayerInterstitialEvent(primaryItem: currentItem, \identifier: evt.id, date: evt.date, templateItems: [AVPlayerItem(url: evt.url)], restrictions: [], resumptionOffset: CMTime.indefinite) event.willPlayOnce = true eventController.events = [event] I have also attached example HLS for the Live content and Event. Any help is appreciated.
Replies
2
Boosts
1
Views
1.3k
Activity
Apr ’23
HLS Pathway Cloning Support
What is the first version of iOS to support pathway cloning as part of content steering? Is it supported in safari browsers via the html video tag? I can switch between pathways defined in the manifest file, but when I try to clone a pathway and introduce a new pathway id my stream stops.
Replies
2
Boosts
0
Views
915
Activity
Dec ’22
BipBop Source
Hello Apple Streaming engineers, Would it be possible to share the BipBop Source (with audio tracks and subtitles tracks) as it is some nice material for debugging Thanks Sylvain
Replies
0
Boosts
0
Views
821
Activity
Jun ’22
How to pause HLS live using AV-Player
Used the PreferredForwardBufferDuration, this also after 2 - 3 minutes unable to pause the video, its catching live if pause duration more than 2 -3 minutes. Example:  [self.player.currentItem setPreferredForwardBufferDuration:60];   self.player.automaticallyWaitsToMinimizeStalling = YES;  self.player.currentItem.canUseNetworkResourcesForLiveStreamingWhilePaused = NO; How to stop buffering the AV-Player during pause state How to clear the AV-Player buffer during pause. SeekToTime is not working properly for live channel, I want to seek just one/two sec back. With SeekToTime if av-player unable to seek to previous time line its catching the future position. Manifest providing to av-player, #EXT-X-VERSION:4 #EXT-X-TARGETDURATION:1 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-KEY:METHOD=AES- http://ServerAddress/f1655359642.ts #EXT-X-KEY:METHOD=AES- http://ServerAddress/f1655359643.ts #EXT-X-KEY:METHOD=AES- #EXTINF:0.984, http://ServerAddress/f1655359644.ts
Replies
0
Boosts
0
Views
1.2k
Activity
Jun ’22