Back to Mediamtx

HLS cameras and servers

docs/3-publish/11-hls-cameras-and-servers.md

1.20.0773 B
Original Source

HLS cameras and servers

supported codecs
videoAV1, VP9, H265, H264
audioOpus, FLAC, MPEG-4 Audio (AAC)
otherKLV (MPEG-TS-based HLS only)

HLS is a streaming protocol that works by splitting streams into segments, and by serving these segments and a playlist with the HTTP protocol. You can use MediaMTX to connect to one or several existing HLS servers and read their media streams:

yml
paths:
  proxied:
    source: http://user:pass@host:port/path

If username or password contain special characters (like ?, :, etc), they need to be url-encoded.

The resulting stream will be available on path /proxied.