HLS recognising custom tag in the manifest

Hi ,

I am using AVPlayer for video playback and in my use case I have to recognize the custom tag which is available in the HLS manifest. I have tried using AVPlayerItem's timedMetadata property KVO. But its not giving any callback though stream includes the markers. I have to recognize SCTE-35 markers and some other custom tags.

Can someone guide me in finding a solution for this problem.

Do I need to write my custom parser which will download manifest at every interval (for live) and manually parse it. Or is there any API available from AVFoundation.



Regards,

Santhosh

Replies

See my response to https://forums.developer.apple.com/thread/72349

Hi sw_mechanic,


There is no response in https://forums.developer.apple.com/thread/72349 .


Regards,

Santhosh

For some reason my post is being held up. I'll try to shake it loose.


Short version - custom tags are ignored (as comments).


See the WWDC 2016 video - What's New in HTTP Live Streaming - https://developer.apple.com/videos/play/wwdc2016/504/ which talks about the various ways metadata can be included in HLS streams.