Back to Mediamtx

SRT cameras and servers

docs/3-publish/02-srt-cameras-and-servers.md

1.18.1738 B
Original Source

SRT cameras and servers

supported codecs
videoH265, H264, MPEG-4 Video (H263, Xvid), MPEG-1/2 Video
audioOpus, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3
otherKLV

In order to ingest a SRT stream from a remote server, camera or client in listening mode (i.e. with mode=listener appended to the URL), add the corresponding URL into the source parameter of a path:

yml
paths:
  proxied:
    # url of the source stream, in the format srt://host:port?streamid=streamid&other_parameters
    source: srt://original-url