Files
dropshell-templates/squashkiwi-streaming/config/mediamtx.yml
Your Name 2459274a19
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 21s
Optimize streaming latency: remove -re flag, add keyframe settings, reduce HLS segments, faster ICE timeout
2025-09-02 12:37:28 +12:00

47 lines
816 B
YAML

# MediaMTX Configuration for SquashKiwi Streaming
# General Settings
logLevel: info
logDestinations: [stdout]
# API Configuration
api: yes
apiAddress: :9997
apiAllowOrigin: '*'
# Metrics
metrics: yes
metricsAddress: :9998
# RTSP Server
rtsp: yes
rtspAddress: :8554
rtspTransports: [tcp, udp]
# HLS Server
hls: yes
hlsAddress: :8888
hlsAllowOrigin: '*'
hlsSegmentCount: 3
hlsSegmentDuration: 1s
hlsPartDuration: 200ms
hlsAlwaysRemux: yes
# WebRTC Server
webrtc: yes
webrtcAddress: :8889
webrtcAllowOrigin: '*'
# Path defaults
pathDefaults:
# Authentication disabled for testing
# readUser: stream
# readPass: squashkiwi
# publishUser: stream
# publishPass: squashkiwi
# Path Configuration
paths:
# Transcoded H264 stream
court_h264:
# This path will receive the transcoded stream from ffmpeg