2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

73_DoorBird: Bugfix - Use of uninitialized value line 2398 & 2407

git-svn-id: https://svn.fhem.de/fhem/trunk@21589 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor 2020-04-04 10:19:55 +00:00
parent 2d9a8d56d9
commit d35cb19b0a

View File

@ -1883,7 +1883,7 @@ sub DoorBird_RenewSessionID($) {
### If the VideoStream has been activated
if (ReadingsVal($name, ".VideoURL", "") ne "") {
### Refresh Video URL
DoorBird_Live_Video($hash, undef);
DoorBird_Live_Video($hash, "on");
### Log Entry for debugging purposes
Log3 $name, 5, $name. " : DoorBird_RenewSessionID - VideoUrl refreshed";
@ -1892,7 +1892,7 @@ sub DoorBird_RenewSessionID($) {
### If the AudioStream has been activated
if (ReadingsVal($name, ".AudioURL", "") ne "") {
### Refresh Video URL
DoorBird_Live_Audio($hash, undef);
DoorBird_Live_Audio($hash, "on");
### Log Entry for debugging purposes
Log3 $name, 5, $name. " : DoorBird_RenewSessionID - AudioUrl refreshed";