Files
usda-vision/mediamtx.yml
salirezav 3cb6a8e76e Refactor MediaMTX configuration and enhance RTSP streaming logging
- 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.
2025-11-01 12:58:30 -04:00

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