Skip to content

Commit

Permalink
fix: updated default actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Payne committed Oct 20, 2022
1 parent 0479937 commit 2bdf78c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/CiscoCodecConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public class SharingProperties
[JsonProperty("autoShareContentWhileInCall")]
public bool AutoShareContentWhileInCall { get; set; }

[JsonProperty("defaultShareLocalRemote")]
public bool DefaultShareLocalRemote { get; set; }
[JsonProperty("defaultShareLocalOnly")]
public bool DefaultShareLocalOnly { get; set; }
}

public class BrandingLogoProperties
Expand Down
6 changes: 3 additions & 3 deletions src/CiscoRoomOsCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,9 @@ public CiscoCodec(DeviceConfig config, IBasicCommunication comm)
_timeFormatSpecifier = _config.TimeFormatSpecifier ?? "t";
_dateFormatSpecifier = _config.DateFormatSpecifier ?? "d";
_joinableCooldownSeconds = _config.JoinableCooldownSeconds;
PresentationStates = _config.Sharing.DefaultShareLocalRemote
? eCodecPresentationStates.LocalRemote
: eCodecPresentationStates.LocalOnly;
PresentationStates = _config.Sharing.DefaultShareLocalOnly
? eCodecPresentationStates.LocalOnly
: eCodecPresentationStates.LocalRemote;

PreferredTrackingMode = eCameraTrackingCapabilities.SpeakerTrack;

Expand Down

0 comments on commit 2bdf78c

Please sign in to comment.