You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently been experiencing an issue where my the TARGETDURATION property on my index.m3u8 playlist changes quite dramatically at infrequent but seemingly random times. My application as a single infinitely running HLS stream which has audio files piped into into it sequentially, like a radio broadcast. In my NMS config file, I have my HLS time set to 3 seconds, but occasionally will jump up to large values over 3000 seconds at times, causing the stream to go silent (often these values are longer than a single song itself). I'm having a lot of trouble diagnosing if this a bug in NMS itself. I'm not very well versed on how HLS works, and after some research have not been able to determine if this is normal behavior, although it seems like it wouldn't be. Below is my NMS config file:
I've recently been experiencing an issue where my the TARGETDURATION property on my index.m3u8 playlist changes quite dramatically at infrequent but seemingly random times. My application as a single infinitely running HLS stream which has audio files piped into into it sequentially, like a radio broadcast. In my NMS config file, I have my HLS time set to 3 seconds, but occasionally will jump up to large values over 3000 seconds at times, causing the stream to go silent (often these values are longer than a single song itself). I'm having a lot of trouble diagnosing if this a bug in NMS itself. I'm not very well versed on how HLS works, and after some research have not been able to determine if this is normal behavior, although it seems like it wouldn't be. Below is my NMS config file:
And here is an example of an m3u8 file with the correct target duration vs one that is incorrect...
correct:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3
#EXT-X-MEDIA-SEQUENCE:2296
#EXTINF:3.018889,
index2296.ts
#EXTINF:2.995667,
index2297.ts
#EXTINF:2.995667,
index2298.ts
#EXTINF:2.995667,
index2299.ts
incorrect:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:3072
#EXT-X-MEDIA-SEQUENCE:56864
#EXTINF:0.023222,
index56864.ts
#EXTINF:1944.791444,
index56865.ts
#EXTINF:3072.300000,
index56866.ts
#EXTINF:3072.300000,
index56867.ts
The text was updated successfully, but these errors were encountered: