mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
update server installer
This commit is contained in:
@@ -68,6 +68,8 @@ if [[ ! -f "$MEDIAMTX_TEMPLATE" ]]; then
|
||||
echo "mediaMTX template missing at $MEDIAMTX_TEMPLATE" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo " Installing mediaMTX config -> $MEDIAMTX_CONFIG"
|
||||
rm -f "$MEDIAMTX_CONFIG"
|
||||
install -m 0644 "$MEDIAMTX_TEMPLATE" "$MEDIAMTX_CONFIG"
|
||||
chown -R "$TARGET_USER":"$TARGET_USER" "$MEDIAMTX_CONF_DIR"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# Managed by install_server.sh; edit server/mediamtx/mediamtx.yml and rerun the installer.
|
||||
logLevel: info
|
||||
|
||||
api: yes
|
||||
@@ -14,6 +15,8 @@ hls: no
|
||||
webrtc: yes
|
||||
webrtcLocalUDPAddress: :8189
|
||||
webrtcLocalTCPAddress: :8189
|
||||
webrtcAdditionalHosts: []
|
||||
webrtcICEServers2: []
|
||||
|
||||
srt: yes
|
||||
srtAddress: :9000
|
||||
@@ -29,3 +32,7 @@ authHTTPExclude:
|
||||
paths:
|
||||
"~^rover-(?P<id>[a-z0-9_-]+)$":
|
||||
source: publisher
|
||||
sourceOnDemand: no
|
||||
sourceProtocol: srt
|
||||
readBufferCount: 512
|
||||
overridePublisher: yes
|
||||
|
||||
Reference in New Issue
Block a user