mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-05 15:55:02 +00:00
refactor: add logging statements
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user