mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
fix an IF statement to be correct
This commit is contained in:
parent
b41dd23c7f
commit
91dda3213e
1 changed files with 2099 additions and 2102 deletions
|
|
@ -494,7 +494,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
||||||
{
|
{
|
||||||
if (a.PropertyName == "State")
|
if (a.PropertyName == "State")
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "[SetUpFeedbackActions] Status.Call.Sharing.PropertyChanged: {0}", Status.Call.Sharing.State);
|
|
||||||
SharingContentIsOnFeedback.FireUpdate();
|
SharingContentIsOnFeedback.FireUpdate();
|
||||||
ReceivingContent.FireUpdate();
|
ReceivingContent.FireUpdate();
|
||||||
}
|
}
|
||||||
|
|
@ -905,9 +904,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
||||||
{
|
{
|
||||||
case "call":
|
case "call":
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "[DeserializeResponse] sharing status 1: {0}", Status.Call.Sharing.State.ToString());
|
|
||||||
JsonConvert.PopulateObject(responseObj.ToString(), Configuration.Call);
|
JsonConvert.PopulateObject(responseObj.ToString(), Configuration.Call);
|
||||||
Debug.Console(1, this, "[DeserializeResponse] sharing status 2: {0}", Status.Call.Sharing.State.ToString());
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -1389,11 +1386,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
|
||||||
if (Status.Call != null)
|
if (Status.Call != null)
|
||||||
{
|
{
|
||||||
var callStatus = Status.Call.Status;
|
var callStatus = Status.Call.Status;
|
||||||
Debug.Console(1, this, "[UpdateCallStatus] callStatus: {0}", callStatus.ToString());
|
|
||||||
|
|
||||||
// If not currently in a meeting, intialize the call object
|
// If not currently in a meeting, intialize the call object
|
||||||
if (callStatus != zStatus.eCallStatus.IN_MEETING || callStatus != zStatus.eCallStatus.CONNECTING_MEETING)
|
if (callStatus != zStatus.eCallStatus.IN_MEETING && callStatus != zStatus.eCallStatus.CONNECTING_MEETING)
|
||||||
{
|
{
|
||||||
|
Debug.Console(1, this, "Creating new Status.Call object");
|
||||||
Status.Call = new zStatus.Call {Status = callStatus};
|
Status.Call = new zStatus.Call {Status = callStatus};
|
||||||
|
|
||||||
SetUpCallFeedbackActions();
|
SetUpCallFeedbackActions();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue