Skip to content

Commit

Permalink
fix: actually fire PresentationActionFeedback
Browse files Browse the repository at this point in the history
- Presentation active feedback on videocodec base wasn't getting fired and was incorrectly linked
  • Loading branch information
ngenovese11 committed Oct 11, 2024
1 parent 38ee278 commit b4c5fdc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/CiscoRoomOsCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,7 @@ protected override Func<bool> SharingContentIsOnFeedbackFunc
{
get
{
return () =>
CodecStatus
.Status
.StatusConference
.Presentation
.ModeValueProperty
.SendingBoolValue;
return () => PresentationActiveFeedback.BoolValue;
}
}

Expand Down Expand Up @@ -894,6 +888,8 @@ public CiscoCodec(DeviceConfig config, IBasicCommunication comm)
PresentationActiveFeedback = new BoolFeedback(() => _presentationActive);
ContentInputActiveFeedback = new BoolFeedback(() => _presentationSource != 0);

PresentationActiveFeedback.OutputChange += (o, a) => SharingContentIsOnFeedback.FireUpdate();

Communication = comm;

if (props.CommunicationMonitorProperties != null)
Expand Down

0 comments on commit b4c5fdc

Please sign in to comment.