Posts

Post not yet marked as solved
7 Replies
Hello Media Engineer, Thanks you I managed to get the SCTE-35 data from the EXT-X-DATERANGE tag. But I have the following problem: how do I know exactly when ad event should start to play? Let me explain with an example: AVPlayer plays an HLS stream with the EXT-X-DATERANGE tags inserted to indicate the beginning of the ad playing back. #EXTINF:10.000, video 30.ts #EXT-X-DATERANGE:ID="001",START-DATE="2021-01-04T09:57:00.032Z",PLANNED-DURATION=30.000 #EXTINF:10.000, video 40.ts How to determine that the player finished to play the first media tag (video 30.ts) and it needs to show ads? I also understand that the EXT-X-DATERANGE tag is about UTC only, and not rely on the tags between which it is located, but what mechanism for determining the start time of advertising works in this case? And what happens if the HLS stream freezes due networks issues before the ad starts? How does UTC calculating work in this case? I will be very grateful for any help.