mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
HDCP Disable in from config
This commit is contained in:
@@ -49,7 +49,9 @@ namespace PepperDash.Essentials.DM.Chassis
|
|||||||
{
|
{
|
||||||
foreach (var kvp in props.Inputs)
|
foreach (var kvp in props.Inputs)
|
||||||
{
|
{
|
||||||
var inputNum = Convert.ToUInt32(kvp.Key);
|
// strip "hdmiIn"
|
||||||
|
Debug.Console(0, "**************** {0}", kvp.Key);
|
||||||
|
var inputNum = Convert.ToUInt32(kvp.Key.Substring(6));
|
||||||
|
|
||||||
var port = chassis.HdmiInputs[inputNum].HdmiInputPort;
|
var port = chassis.HdmiInputs[inputNum].HdmiInputPort;
|
||||||
// set hdcp disables
|
// set hdcp disables
|
||||||
|
|||||||
@@ -987,7 +987,6 @@ namespace PepperDash.Essentials
|
|||||||
void SetupSourceList()
|
void SetupSourceList()
|
||||||
{
|
{
|
||||||
var inCall = CurrentRoom.InCallFeedback.BoolValue;
|
var inCall = CurrentRoom.InCallFeedback.BoolValue;
|
||||||
Debug.Console(0, "**** REDRAWING SOURCES InCall={0}", inCall);
|
|
||||||
var config = ConfigReader.ConfigObject.SourceLists;
|
var config = ConfigReader.ConfigObject.SourceLists;
|
||||||
if (config.ContainsKey(_CurrentRoom.SourceListKey))
|
if (config.ContainsKey(_CurrentRoom.SourceListKey))
|
||||||
{
|
{
|
||||||
@@ -1000,11 +999,9 @@ namespace PepperDash.Essentials
|
|||||||
var srcConfig = kvp.Value;
|
var srcConfig = kvp.Value;
|
||||||
// Skip sources marked as not included, and filter list of non-sharable sources when in call
|
// Skip sources marked as not included, and filter list of non-sharable sources when in call
|
||||||
// or on share screen
|
// or on share screen
|
||||||
Debug.Console(0, "*** Source list item: {0}", Newtonsoft.Json.JsonConvert.SerializeObject(srcConfig));
|
if (!srcConfig.IncludeInSourceList || (inCall && srcConfig.DisableCodecSharing)
|
||||||
if (!srcConfig.IncludeInSourceList || (inCall && srcConfig.DisableCodecSharing)
|
|
||||||
|| this.CurrentMode == UiDisplayMode.Call && srcConfig.DisableCodecSharing)
|
|| this.CurrentMode == UiDisplayMode.Call && srcConfig.DisableCodecSharing)
|
||||||
{
|
{
|
||||||
Debug.Console(0, "**** SKIPPING {0} IN SOURCE LIST", kvp.Key);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user