bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.78k stars 1.4k forks source link

HLS doesn't work #3207

Closed pikachu937 closed 1 month ago

pikachu937 commented 3 months ago

Which version are you using?

v1.6.0

Which operating system are you using?

Describe the issue

When the function of saving hls segments to disk is enabled, it is not possible to open the hls stream in the browser (chrome/safari) or vlc player

Describe how to replicate the issue

  1. enable the HLS server in the configuration file and allow it to save segments in mpegts format to a folder.
  2. enable saving of published streams in the configuration file.
  3. start the server
  4. publish with rtsp any stream
  5. read HLS with any browsers

Did you attach the server logs?

yes / no BAD - File recording function enabled + saving hls server files enabled mediamtx.log BAD - File recording function is disabled + saving hls server files enabled mediamtx1.log GOOD - File recording function is disabled + saving hls server files disabled mediamtx2.log GOOD - File recording function enabled + saving hls server files disabled mediamtx3.log

Did you attach a network dump?

yes / no

aler9 commented 1 month ago

i can confirm that this bug was present in v1.6.0, but after testing it seems to have been fixed with #3151 that is included since v1.7.0.