mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
refactor: add logging statements
This commit is contained in:
parent
1b43fba37e
commit
a2b67798f3
1 changed files with 4 additions and 0 deletions
|
|
@ -753,14 +753,18 @@ namespace PepperDash.Essentials
|
|||
|
||||
if (VideoCodec != null)
|
||||
{
|
||||
Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} is in a video call. Not allowing auto power off", Key);
|
||||
allowVideo = !VideoCodec.IsInCall;
|
||||
}
|
||||
|
||||
if (AudioCodec != null)
|
||||
{
|
||||
Debug.Console(2,this, Debug.ErrorLogLevel.Notice, "Room {0} is in an audio call. Not allowing auto power off", Key);
|
||||
allowAudio = !AudioCodec.IsInCall;
|
||||
}
|
||||
|
||||
Debug.Console(2, this, "Room {0} allowing vacancy timer to start: {1}", Key, allowVideo && allowAudio);
|
||||
|
||||
return allowVideo && allowAudio;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue