Jump to content
  • 0

HLS .m3u8 and .ts files don't clean in some of cases for WebRTC streaming


Valery Kharisov
 Share

Question

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?

Thanks, Valery
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
Hello, no problem, i copy topic starter post to related issue you can see it here


четверг, 5 сентября 2019 г., 12:34:28 UTC+5 пользователь Murat Aydin написал:
Hi Valery,

Could you please add your findings as a comment to the related GitHub issue that you mentioned?

Best regards,

Link to comment
Share on other sites

 Share


×
×
  • Create New...