Parsing HLS manifest file videogular2

904 views Asked by At

I am trying to play a HLS live stream using videogular2. The video is playing fine however, it does not show the right time. I am guessing videogular2 should parse the .m3u8 manifest file and use the "EXT-X-PROGRAM-DATE-TIME" header as an offset to the current time. It does not seem to be working that way.

Is there any way I can parse the file? Would really appreciate some help.

1

There are 1 answers

3
aergistal On

uses hls.js which does support EXT-X-PROGRAM-DATE-TIME. Fragments have the programDateTime and rawProgramDateTime attributes. These are not used in the native video controls, you most likely need to implement your own custom controls. See the hls.js demo (bottom).