RTMP cameras and servers

supported codecs
videoAV1, VP9, H265, H264
audioOpus, FLAC, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3, G711 (PCMA, PCMU), LPCM

You can use MediaMTX to connect to one or several existing RTMP servers and read their media streams:

paths:
  proxied:
    source: rtmp://user:pass@host:port/path#streamKey

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

The resulting stream will be available on path /proxied.