tvOS HLS Live Stream time metadata display

When showing HLS Live streams using tvOS 15+ video player - it seems as though the player is automatically insterting the stream startTime / endTime and displaying this on the SubTitle metadata line.

However, the times are completely wrong - and I can't figure out how to set the correct times using either AVAsset object or anywhere in the AVMetadataItem or disable the player from automatically adding the times (which would be an ok workaround as I could add the proper times to the subTitle metadata string myself.)

Any clues?

Answered by BlueFang in 742433022

Found the answer on SO... you can set these values using the AVMetadataItem with the identifiers: AVKitMetadataIdentifierExactStartDate, AVKitMetadataIdentifierExactEndDate

Accepted Answer

Found the answer on SO... you can set these values using the AVMetadataItem with the identifiers: AVKitMetadataIdentifierExactStartDate, AVKitMetadataIdentifierExactEndDate

tvOS HLS Live Stream time metadata display
 
 
Q