add enable_mp4_write variable in run_mmc.sh

This commit is contained in:
Alfonso Gamboa 2022-05-20 01:22:43 -07:00
parent 24baf11f4a
commit 07a1b0c825

View File

@ -53,6 +53,8 @@ RTSP_LOW_RES_MAX_BITRATE=""
RTSP_LOW_RES_TARGET_BITRATE="" RTSP_LOW_RES_TARGET_BITRATE=""
RTSP_LOW_RES_ENC_PARAMETER="" RTSP_LOW_RES_ENC_PARAMETER=""
ENABLE_MP4_WRITE="false"
#####GENERAL##### #####GENERAL#####
ENABLE_SWAP="true" ENABLE_SWAP="true"
ENABLE_USB_STORAGE="false" ENABLE_USB_STORAGE="false"
@ -356,6 +358,13 @@ else
echo "remote accessory disabled" echo "remote accessory disabled"
fi fi
if [[ "$ENABLE_MP4_WRITE" == "true" ]]; then
/opt/wz_mini/bin/cmd mp4write on
echo "mp4 write enabled"
else
echo "mp4 write disabled"
fi
if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then if [[ "$RTSP_HI_RES_ENABLED" == "true" ]]; then
if [[ "$ENABLE_SWAP" == "true" ]]; then if [[ "$ENABLE_SWAP" == "true" ]]; then