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:
@@ -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@"
|
||||
|
Reference in New Issue
Block a user