some bugfixes
This commit is contained in:
parent
cdd4339b8e
commit
e88e7e317c
|
@ -54,11 +54,10 @@ fi
|
||||||
streamurl="rtsp://$1:554/user=admin&password=&channel=1&stream=0.sdp?real_stream"
|
streamurl="rtsp://$1:554/user=admin&password=&channel=1&stream=0.sdp?real_stream"
|
||||||
|
|
||||||
if [ "$1" = "birdcam1" ]; then
|
if [ "$1" = "birdcam1" ]; then
|
||||||
echo $player_path $playerparam "$streamurl"
|
$player_path $playerparam ""$streamurl""
|
||||||
sleep 60
|
|
||||||
|
|
||||||
elif [ "$1" = "birdcam2" ]; then
|
elif [ "$1" = "birdcam2" ]; then
|
||||||
$player_path $playerparam "$streamurl"
|
$player_path $playerparam ""$streamurl""
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Wrong camera! Available cameras:"
|
echo "Wrong camera! Available cameras:"
|
||||||
|
|
Loading…
Reference in New Issue