1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 07:30:57 +02:00

Update recording

fix port again
This commit is contained in:
jmtatsch
2020-02-24 07:53:17 +01:00
committed by GitHub
parent 6f6b554bf1
commit 6c85a83f47

View File

@@ -1,12 +1,9 @@
#!/bin/sh
. /system/sdcard/config/rtspserver.conf
PIDFILE="/run/recording.pid"
DCIM_PATH="/system/sdcard/DCIM"
PORT=8554
if [ -f /system/sdcard/config/rtspserver.conf ]; then
. /system/sdcard/config/rtspserver.conf
fi
## UserName and password
if [ "$USERNAME" != "" ]; then
CREDENTIALS="$USERNAME:$USERPASSWORD@"