hls resume not working

hls resume not working

Support ForumCategory: Generalhls resume not working
dung.nt asked 7 years ago
If I stop the stream and restart, the m3u8 file will be overwritten, the previous file ts does not exist in the new m3u8 file. pls help me.

createHLSStream localstreamnames=testStream targetfolder=../var/evo-webroot groupName=myHLSGroup hlsResume=true


Question Tags:


6 Answers
xai Staff answered 7 years ago
You can set overwriteDestination to false (true by default).

createHLSStream localstreamnames=testStream targetfolder=../var/evo-webroot groupName=myHLSGroup hlsResume=true overwriteDestination=false

See http://docs.evostream.com/ems_api_definition/createhlsstream for more information.
dung.nt answered 7 years ago
playlist_pre_stop
playlist_after_restart   Check this file, if I set overwriteDestination=false, The ts file was not created
dung.nt answered 7 years ago
I change 
hlsResume=true to
hlsResume=1
it working 
erika Staff answered 7 years ago
Hi dung.nt!  That’s great! The hlsResume parameter uses boolean type for its value. 🙂   Thank you!
App answered 7 years ago
Hello dung.nt, Would you share your working config.lua file with us? Please change to .TXT and attach here.   Thanks

Offcanvas

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