0 Replies
      Latest reply on Dec 6, 2017 12:45 PM by davidyellow
      davidyellow Level 1 Level 1 (0 points)

        Hello,

         

        I'm getting trouble debugging an HLS Live stream.

        This is a custom stream I'm building with 2-seconds segments.

        When I play it in Safari, I may encoutner issues where the HLS stops playing suddenly. If I run simulataneously mediastreamvalidator, I see an error such as: "Error injecting segment data" between two successful media file fetching. Then, when I stop the mediastreamvalidator, I get the following error message:

         

        Error: Playlist vs segment duration mismatch
        --> Detail:  Segment duration -70.1860, Playlist duration: 3.9340
        --> Source:  5a2851b8353613a52e32a2853606401000000broadcast.m3u8 - https://068669b434-live.optimicdn.com/5a2851b8353613a52e32a285543606401000000broadcastc1b4df77-3218-472b-8703-3a12a941f6dd.ts
        

         

        It seems the error is caused by a duration issue but I definitely don't understand the error message.

         

        Can you please help me figuring out what is "Playlist duration" and the "Segment duration" because it defintely doesn't look like any duration I use in my playlists.

         

        3.9340 looks like 2 times the duration of a segment which might be a little less than 2 seconds sometimes.

         

        The playlist looks like this:

        #EXTM3U
        #EXT-X-TARGETDURATION:3
        #EXT-X-VERSION:3
        #EXT-X-MEDIA-SEQUENCE:586
        #EXTINF:1.999,
        https://068669b434-live.optimicdn.com/5a2851b8353613a52e32a2855903606401000000broadcastc1b4df77-3218-472b-8703-3a12a941f6dd.ts
        #EXTINF:1.966,
        https://068669b434-live.optimicdn.com/5a2851b8353613a52e32a2855913606401000000broadcastc1b4df77-3218-472b-8703-3a12a941f6dd.ts
        #EXTINF:1.966,
        https://068669b434-live.optimicdn.com/5a2851b8353613a52e32a2855923606401000000broadcastc1b4df77-3218-472b-8703-3a12a941f6dd.ts
        #EXTINF:1.966,
        https://068669b434-live.optimicdn.com/5a2851b8353613a52e32a2855933606401000000broadcastc1b4df77-3218-472b-8703-3a12a941f6dd.ts
        

         

        Thank you very much for your help, I'm stuck with this errors for several days now.