mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fix: (wip) updated VideoCodecBase LinkToApis to resolve issue #983 with call status and directory not updating wtih bridge online status change
This commit is contained in:
parent
afa0a4cac2
commit
139ecc3e58
1 changed files with 12 additions and 10 deletions
|
|
@ -463,10 +463,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||||
}
|
}
|
||||||
|
|
||||||
SharingContentIsOnFeedback.FireUpdate();
|
SharingContentIsOnFeedback.FireUpdate();
|
||||||
|
|
||||||
trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
|
|
||||||
|
|
||||||
trilist.SetString(joinMap.CurrentCallData.JoinNumber, UpdateCallStatusXSig());
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1042,9 +1038,12 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||||
{
|
{
|
||||||
if (!args.DeviceOnLine) return;
|
if (!args.DeviceOnLine) return;
|
||||||
|
|
||||||
trilist.SetString(joinMap.DirectoryEntries.JoinNumber, "\xFC");
|
// TODO [ ] #981
|
||||||
UpdateDirectoryXSig(codec.CurrentDirectoryResult,
|
var clearBytes = XSigHelpers.ClearOutputs();
|
||||||
codec.CurrentDirectoryResultIsNotDirectoryRoot.BoolValue == false);
|
trilist.SetString(joinMap.DirectoryEntries.JoinNumber,
|
||||||
|
Encoding.GetEncoding(XSigEncoding).GetString(clearBytes, 0, clearBytes.Length));
|
||||||
|
var directoryXSig = UpdateDirectoryXSig(codec.DirectoryRoot, codec.CurrentDirectoryResultIsNotDirectoryRoot.BoolValue == false);
|
||||||
|
trilist.SetString(joinMap.DirectoryEntries.JoinNumber, directoryXSig);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1260,7 +1259,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
|
// TODO [ ] #983
|
||||||
|
//trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
|
||||||
|
|
||||||
CallStatusChange += (sender, args) =>
|
CallStatusChange += (sender, args) =>
|
||||||
{
|
{
|
||||||
|
|
@ -1364,9 +1364,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||||
{
|
{
|
||||||
if (!args.DeviceOnLine) return;
|
if (!args.DeviceOnLine) return;
|
||||||
|
|
||||||
// TODO [ ] Issue #868
|
// TODO [ ] #983
|
||||||
|
Debug.Console(0, this, "LinkVideoCodecCallControlsToApi: device is {0}, IsInCall {1}", args.DeviceOnLine ? "online" : "offline", IsInCall);
|
||||||
|
trilist.SetBool(joinMap.HookState.JoinNumber, IsInCall);
|
||||||
trilist.SetString(joinMap.CurrentCallData.JoinNumber, "\xFC");
|
trilist.SetString(joinMap.CurrentCallData.JoinNumber, "\xFC");
|
||||||
UpdateCallStatusXSig();
|
trilist.SetString(joinMap.CurrentCallData.JoinNumber, UpdateCallStatusXSig());
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue