1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-03 13:12:44 +02:00

Fix setting framerate (#1249)

* Update rtsp-h264

* Update rtsp-mjpeg
This commit is contained in:
KyleBoyer
2020-01-13 14:29:51 -07:00
committed by jmtatsch
parent 766248b9de
commit f7023dda69
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ start()
## Video format
if [ "$VIDEOFORMAT" != "" ]; then
VIDEOFORMAT="-r $VIDEOFORMAT"
VIDEOFORMAT="-r $VIDEOFORMAT -F $FRAMERATE_NUM"
fi
## UserName and password

View File

@@ -64,7 +64,7 @@ start()
## Video format
if [ "$VIDEOFORMAT" != "" ]; then
VIDEOFORMAT="-r $VIDEOFORMAT"
VIDEOFORMAT="-r $VIDEOFORMAT -F $FRAMERATE_NUM"
fi
## UserName and password