One more update.
I was able to get an AVPlayerInterstitialEvent to play on a LIVE asset but I needed to manipulate the HLS media playlist to do so. I used a Charles Proxy re-write and added a Date range tag to the media playlist, e.g.
#EXT-X-DATERANGE:ID="ad1",CLASS="com.apple.hls.interstitial",START-DATE="2023-04-25T19:13:00.000Z",DURATION=72.0,X-ASSET-URI="https://myEvent.m3u8",X-RESTRICT="SKIP,JUMP"
Here, I observed the same behavior as before where the ad pod was rendered and moved towards the live edge of my stream. This time the Player switched to the interstitial and I was able to watch the event and see it switch back.
My remaining Question is why doesn't this work with client-side scheduling? HLS playlist manipulation is somewhat tedious.
Topic:
Media Technologies
SubTopic:
Streaming
Tags: