#EXT-X-TARGETDURATIO17 – missing characters

#EXT-X-TARGETDURATIO17 – missing characters

Support ForumCategory: General#EXT-X-TARGETDURATIO17 – missing characters
kossuth1 asked 9 years ago
Hi, I use evostream version 1.7.0 build 4283. I noticed a bug when the HLS stream stops and I restart it manually (same groupName, same localStreamName, same targetFolder), it corrupts the playlist file by missing ‘N:’ from #EXT-X-TARGETDURATION:17 hlsResume=1, keepAlive=0 #EXTM3U #EXT-X-VERSEVENT:2 #EXT-X-TARGETDURATIO17 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 //—————– Restarting the HLS a few times causes this to the header of playlist file #EXTM3U #EXT-X-VERSION:2 #EXT-X-TARGETDURATION:17 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSEVENT:2 #EXT-X-TARGETDURATION:17 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSEVENTNT:2 #EXT-X-TARGETDURATIO17 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSEVENT #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSEVENT #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSE16 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00 // —————- #EXTM3U #EXT-X-VERSEVENT #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PROGRAM-DATE-TIME:2016-02-29T08:39:20+00:00



1 Answers
kossuth1 answered 9 years ago

So I do the following steps:

1: I send a stream to the server with Open Boradcasting Software with the name “912410”

2: It triggers the event “inStreamCreated” where I create the HLS with the following parameters:
localStreamNames=912410
targetFolder=/var/www/media/hls (webconfig.lua: webRootFolder=”/var/www/media/hls”)
groupName=auto_912410
keepAlive=0
hlsResume=1
this creates the following structure:
/var/www/media/hls/auto_912410/
/var/www/media/hls/auto_912410/playlist.m3u8 <- master playlist
/var/www/media/hls/auto_912410/912410/

3. I stop the source stream: the hls config will be removed automatically.

4: repeat from step 1, and the first time you repeat, happens the file corruption.

On restart the HLS I meant that the config is removed automatically when I stop the source stream and when I start it again then in the inStreamCreated event I start the HLS again with the same parameters which with I’ve started before.
Thank you for your help!

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.