some bugfixes

This commit is contained in:
mmaster 2021-09-23 22:57:53 +02:00
parent cdd4339b8e
commit e88e7e317c
1 changed files with 2 additions and 3 deletions

View File

@ -54,11 +54,10 @@ fi
streamurl="rtsp://$1:554/user=admin&password=&channel=1&stream=0.sdp?real_stream"
if [ "$1" = "birdcam1" ]; then
echo $player_path $playerparam "$streamurl"
sleep 60
$player_path $playerparam ""$streamurl""
elif [ "$1" = "birdcam2" ]; then
$player_path $playerparam "$streamurl"
$player_path $playerparam ""$streamurl""
else
echo "Wrong camera! Available cameras:"