mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
rtsp fixes
This commit is contained in:
2
SD_ROOT/wz_mini/bin/cmd
Executable file
2
SD_ROOT/wz_mini/bin/cmd
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "$*" | /opt/wz_mini/bin/busybox nc localhost 4000
|
Binary file not shown.
@@ -189,6 +189,8 @@ if [[ "$RTSP_ENABLED" == "true" ]]; then
|
||||
swap_enable
|
||||
mkdir /tmp/alsa
|
||||
cp /media/mmc/wz_mini/etc/alsa.conf /tmp/alsa
|
||||
/opt/wz_mini/bin/cmd video on
|
||||
/opt/wz_mini/bin/cmd audio on
|
||||
|
||||
if [[ "$RTSP_PASSWORD" = "" ]]; then
|
||||
RTSP_PASSWORD=$(cat /opt/wz_mini/tmp/wlan0_mac)
|
||||
|
Reference in New Issue
Block a user