Hello, guys, I have a problem with hls playlists in antmedia community version
Sometimes when session doesn't close clean or for unknown reasons .m3u8 playlists doesn't clean on /usr/local/antmedia/webapps/WebRTCApp/streams folder.
I encounter this issue when I delete stream in dashboard or if WebRTC session doesn't end up with "stop" command, so the stream name that i use in this cases becoming "cursed" , cause m3u8 files doesn't delete or it's empty
This issue discribed in https://github.com/ant-media/Ant-Media-Server/issues/354, but solution, provided doesn't work. *.m3u8 and *.ts files is still in folder, but manifest file is empty when i open it in nano editor, but it should contain list of future chunks or something like that.
This issue is effecting on future, cause
1. I cannot start new stream with same name (I guess, that antmedia cannot write new chunk manifest)
2. HLS.js player that I use (obvious, cause m3u8 manifest is empty file) shows me manifest parsing error, and I unable to watch stream.
I saw in link above that we can configure
settings.deleteHLSFilesOnEnded=true
To make antmedia cleanup the unnessesary m3u8 files, but it seems like it's not work properly, cause issue still there
Please, can you provide suggestions or any thoughts about how this issue can be resolved to avoid this issue or maybe fix this myself in code?
Question
Valery Kharisov
Link to comment
Share on other sites
Top Posters For This Question
2
1
Popular Days
Sep 5
3
Top Posters For This Question
Valery Kharisov 2 posts
Murat Aydin 1 post
Popular Days
Sep 5 2019
3 posts
2 answers to this question
Recommended Posts