Knowing the exact .ts file being played in AVPlayer Livestream

Hi there,

I'm working a live streaming app and I want to check if it is possible to know the .ts file currently being played by an AVPlayer (either via a notification or something).

My use case: I want to parse EXT-PROGRAM-DATE-TIME tags from my playlist files and use that time and the local playback time (from the .ts file) to measure latency. There was some discussion on this topic on StackOverflow many years ago .

Appreciate any suggestions or inputs! Thanks!

Hi Raivat,

I want to ask you if you found a fix for this problem.

Knowing the exact .ts file being played in AVPlayer Livestream
 
 
Q