mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -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
|
echo "mediaMTX template missing at $MEDIAMTX_TEMPLATE" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo " Installing mediaMTX config -> $MEDIAMTX_CONFIG"
|
||||||
|
rm -f "$MEDIAMTX_CONFIG"
|
||||||
install -m 0644 "$MEDIAMTX_TEMPLATE" "$MEDIAMTX_CONFIG"
|
install -m 0644 "$MEDIAMTX_TEMPLATE" "$MEDIAMTX_CONFIG"
|
||||||
chown -R "$TARGET_USER":"$TARGET_USER" "$MEDIAMTX_CONF_DIR"
|
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
|
logLevel: info
|
||||||
|
|
||||||
api: yes
|
api: yes
|
||||||
@@ -14,6 +15,8 @@ hls: no
|
|||||||
webrtc: yes
|
webrtc: yes
|
||||||
webrtcLocalUDPAddress: :8189
|
webrtcLocalUDPAddress: :8189
|
||||||
webrtcLocalTCPAddress: :8189
|
webrtcLocalTCPAddress: :8189
|
||||||
|
webrtcAdditionalHosts: []
|
||||||
|
webrtcICEServers2: []
|
||||||
|
|
||||||
srt: yes
|
srt: yes
|
||||||
srtAddress: :9000
|
srtAddress: :9000
|
||||||
@@ -29,3 +32,7 @@ authHTTPExclude:
|
|||||||
paths:
|
paths:
|
||||||
"~^rover-(?P<id>[a-z0-9_-]+)$":
|
"~^rover-(?P<id>[a-z0-9_-]+)$":
|
||||||
source: publisher
|
source: publisher
|
||||||
|
sourceOnDemand: no
|
||||||
|
sourceProtocol: srt
|
||||||
|
readBufferCount: 512
|
||||||
|
overridePublisher: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user