- Removed outdated timeout settings from MediaMTX configuration for improved stream handling. - Updated CameraStreamer class to include detailed logging for RTSP streaming state and frame dimension checks. - Added environment variable support for configuring MediaMTX host, enhancing flexibility in deployment.
23 lines
426 B
YAML
23 lines
426 B
YAML
logLevel: info
|
|
rtsp: yes
|
|
rtmp: no
|
|
hls: yes
|
|
webrtc: yes
|
|
|
|
paths:
|
|
all:
|
|
# allow any path to be read; publishers can be added on-demand
|
|
readUser: any
|
|
sourceOnDemand: no
|
|
|
|
# Example on-demand publisher for a demo VOD (adjust file path):
|
|
# vod:
|
|
# readUser: any
|
|
# runOnDemand: |
|
|
# ffmpeg -re -stream_loop -1 -i /mnt/videos/sample.mp4 -c copy -f rtsp rtsp://localhost:8554/vod
|
|
# runOnDemandRestart: yes
|
|
|
|
|
|
|
|
|