I have a caption generation tool that reads an HLS stream and generates a FLAC audio, passes that audio through Google Speech to text API, and sends the transcript to our servers. I want to sync each caption with the EXT-X-PROGRAM-DATE-TIME tag coming from the .m3u8 playlist. Where can I retrieve the .m3u8 playlist portion and parse that tag?
Version information
I have a caption generation tool that reads an HLS stream and generates a FLAC audio, passes that audio through Google Speech to text API, and sends the transcript to our servers. I want to sync each caption with the
EXT-X-PROGRAM-DATE-TIME
tag coming from the .m3u8 playlist. Where can I retrieve the .m3u8 playlist portion and parse that tag?