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