mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix(essentials): fixes exception when parsing presentation local instance ghosted response
This commit is contained in:
parent
db982f4490
commit
db526cdd40
1 changed files with 6 additions and 3 deletions
|
|
@ -830,15 +830,18 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
|||
if (conference.Presentation.LocalInstance.Count > 0)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(conference.Presentation.LocalInstance[0].ghost))
|
||||
{
|
||||
_presentationSource = 0;
|
||||
_presentationLocalOnly = false;
|
||||
_presentationLocalRemote = false;
|
||||
}
|
||||
else if (conference.Presentation.LocalInstance[0].Source != null)
|
||||
{
|
||||
_presentationSource = conference.Presentation.LocalInstance[0].Source.IntValue;
|
||||
_presentationLocalOnly = conference.Presentation.LocalInstance.Any((i) => i.SendingMode.LocalOnly);
|
||||
_presentationLocalRemote = conference.Presentation.LocalInstance.Any((i) => i.SendingMode.LocalRemote);
|
||||
}
|
||||
|
||||
_presentationLocalOnly = conference.Presentation.LocalInstance.Any((i) => i.SendingMode.LocalOnly);
|
||||
_presentationLocalRemote = conference.Presentation.LocalInstance.Any((i) => i.SendingMode.LocalRemote);
|
||||
|
||||
PresentationSourceFeedback.FireUpdate();
|
||||
PresentationSendingLocalOnlyFeedback.FireUpdate();
|
||||
PresentationSendingLocalRemoteFeedback.FireUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue