Update mediamtx config file
This commit is contained in:
parent
6ea3301e27
commit
2bbe28f3bb
102
mediamtx.yml
102
mediamtx.yml
|
|
@ -1,51 +1,51 @@
|
|||
# MediaMTX configuration for SC235HAI RTSP streaming
|
||||
# https://github.com/bluenviron/mediamtx
|
||||
|
||||
logLevel: info
|
||||
|
||||
# RTSP server settings
|
||||
rtspAddress: :8554
|
||||
rtspReadTimeout: 10s
|
||||
rtspWriteTimeout: 10s
|
||||
|
||||
# UDP/RTP settings
|
||||
rtpAddress: :8000
|
||||
rtcpAddress: :8001
|
||||
|
||||
# HLS (HTTP Live Streaming) - for web browsers
|
||||
hlsAddress: :8888
|
||||
hlsVariant: main
|
||||
hlsSegmentCount: 3
|
||||
hlsSegmentDuration: 1s
|
||||
|
||||
# WebRTC settings
|
||||
webRTCAddress: :8889
|
||||
webRTCICEUDPMuxAddress: :8189
|
||||
|
||||
# SRT (Secure Reliable Transport)
|
||||
srtAddress: :8890
|
||||
|
||||
# Paths configuration
|
||||
paths:
|
||||
# Main camera stream: rtsp://[host]:8554/cam
|
||||
cam:
|
||||
source: rpiCamera
|
||||
|
||||
# Camera settings (must match SC235HAI resolution)
|
||||
rpiCameraWidth: 1920
|
||||
rpiCameraHeight: 1080
|
||||
rpiCameraFPS: 30
|
||||
|
||||
# Video codec and encoding
|
||||
rpiCameraCodec: hardwareH264 # Use hardware H.264 encoder
|
||||
rpiCameraIDRPeriod: 60 # IDR frame interval (keyframe every 60 frames)
|
||||
|
||||
# Camera tuning and processing
|
||||
rpiCameraTuningFile: "/usr/share/libcamera/ipa/rpi/vc4/ov5647.json"
|
||||
rpiCameraExposure: normal
|
||||
rpiCameraAWB: auto
|
||||
rpiCameraDenoise: "off"
|
||||
rpiCameraMetering: centre
|
||||
|
||||
# Output bitrate (0 = auto)
|
||||
# rpiCameraBitrate: 2500000 # Uncomment to limit bitrate to 2.5 Mbps
|
||||
# MediaMTX configuration for SC235HAI RTSP streaming
|
||||
# https://github.com/bluenviron/mediamtx
|
||||
|
||||
logLevel: info
|
||||
readTimeout: 10s
|
||||
writeTimeout: 10s
|
||||
|
||||
# RTSP server settings
|
||||
rtspAddress: :8554
|
||||
|
||||
# UDP/RTP settings
|
||||
rtpAddress: :8000
|
||||
rtcpAddress: :8001
|
||||
|
||||
# HLS (HTTP Live Streaming) - for web browsers
|
||||
hlsAddress: :8888
|
||||
hlsVariant: mpegts
|
||||
hlsSegmentCount: 3
|
||||
hlsSegmentDuration: 1s
|
||||
|
||||
# WebRTC settings
|
||||
webRTCAddress: :8889
|
||||
webRTCICEUDPMuxAddress: :8189
|
||||
|
||||
# SRT (Secure Reliable Transport)
|
||||
srtAddress: :8890
|
||||
|
||||
# Paths configuration
|
||||
paths:
|
||||
# Main camera stream: rtsp://[host]:8554/cam
|
||||
cam:
|
||||
source: rpiCamera
|
||||
|
||||
# Camera settings (must match SC235HAI resolution)
|
||||
rpiCameraWidth: 1920
|
||||
rpiCameraHeight: 1080
|
||||
rpiCameraFPS: 30
|
||||
|
||||
# Video codec and encoding
|
||||
rpiCameraCodec: hardwareH264 # Use hardware H.264 encoder
|
||||
rpiCameraIDRPeriod: 60 # IDR frame interval (keyframe every 60 frames)
|
||||
|
||||
# Camera tuning and processing
|
||||
rpiCameraTuningFile: "/usr/share/libcamera/ipa/rpi/vc4/ov5647.json"
|
||||
rpiCameraExposure: normal
|
||||
rpiCameraAWB: auto
|
||||
rpiCameraDenoise: "off"
|
||||
rpiCameraMetering: centre
|
||||
|
||||
# Output bitrate (0 = auto)
|
||||
# rpiCameraBitrate: 2500000 # Uncomment to limit bitrate to 2.5 Mbps
|
||||
|
|
|
|||
Loading…
Reference in New Issue