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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

in HLS, query parameters are not propagated to playlists and segments

aler9 opened this issue · comments

Which version are you using?

v1.6.0

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

When a HLS page is requested with query parameters, i.e.

http://localhost:8888/mystream?key=val

The query parameters are correctly propagated to the multivariant playlist (index.m3u8):

http://localhost:8888/mystream/index.m3u8?key=val

But they are not propagated to the media playlist (stream.m3u8) or to segments:

http://localhost:8888/stream/stream.m3u8
http://localhost:8888/stream/seg1.mp4

Describe how to replicate the issue

  1. start the server
  2. publish a stream
  3. open http://localhost:8888/mystream?key=val and follow the process

Did you attach the server logs?

no

Did you attach a network dump?

no