mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Instantiate xConfiguration members of Configuration, AutoAnswer, and Conference classes
This commit is contained in:
parent
611f0bec2e
commit
b5589364ff
4 changed files with 25 additions and 4 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -22,7 +22,7 @@ env:
|
||||||
RELEASE_BRANCH: main
|
RELEASE_BRANCH: main
|
||||||
jobs:
|
jobs:
|
||||||
Build_Project:
|
Build_Project:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
# First we checkout the source repo
|
# First we checkout the source repo
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|
@ -98,7 +98,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Push_Nuget_Package:
|
Push_Nuget_Package:
|
||||||
needs: Build_Project
|
needs: Build_Project
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Download Build Version Info
|
- name: Download Build Version Info
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
|
|
|
||||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -19,7 +19,7 @@ env:
|
||||||
RELEASE_BRANCH: main
|
RELEASE_BRANCH: main
|
||||||
jobs:
|
jobs:
|
||||||
Build_Project:
|
Build_Project:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
# First we checkout the source repo
|
# First we checkout the source repo
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
|
|
@ -82,7 +82,7 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Push_Nuget_Package:
|
Push_Nuget_Package:
|
||||||
needs: Build_Project
|
needs: Build_Project
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Download Build Version Info
|
- name: Download Build Version Info
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
|
|
|
||||||
|
|
@ -2154,6 +2154,14 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
CrestronConsole.PrintLine("CiscoSparkCodec AutoAnswerEnabled << Get >>");
|
||||||
|
if (CodecConfiguration == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration == Null");
|
||||||
|
if (CodecConfiguration.Configuration == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration.Configuration == Null");
|
||||||
|
if (CodecConfiguration.Configuration.Conference == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration.Configuration.Conference == Null");
|
||||||
|
if (CodecConfiguration.Configuration.Conference.AutoAnswer == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration.Configuration.Conference.AutoAnswer == Null");
|
||||||
|
if (CodecConfiguration.Configuration.Conference.AutoAnswer.Mode == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration.Configuration.Conference.AutoAnswer.Mode == Null");
|
||||||
|
if (CodecConfiguration.Configuration.Conference.AutoAnswer.Mode.Value == null) CrestronConsole.PrintLine("CiscoSparkCodec > CodecConfiguration.Configuration.Conference.AutoAnswer.Mode.Value == Null");
|
||||||
|
|
||||||
if (CodecConfiguration.Configuration.Conference.AutoAnswer.Mode.Value.ToLower() == "on")
|
if (CodecConfiguration.Configuration.Conference.AutoAnswer.Mode.Value.ToLower() == "on")
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -376,6 +376,13 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
public Delay Delay { get; set; }
|
public Delay Delay { get; set; }
|
||||||
public Mode9 Mode { get; set; }
|
public Mode9 Mode { get; set; }
|
||||||
public Mute2 Mute { get; set; }
|
public Mute2 Mute { get; set; }
|
||||||
|
|
||||||
|
public AutoAnswer()
|
||||||
|
{
|
||||||
|
Mode = new Mode9();
|
||||||
|
Delay = new Delay();
|
||||||
|
Mute = new Mute2();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Protocol
|
public class Protocol
|
||||||
|
|
@ -476,6 +483,11 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
public MaxTotalTransmitCallRate MaxTotalTransmitCallRate { get; set; }
|
public MaxTotalTransmitCallRate MaxTotalTransmitCallRate { get; set; }
|
||||||
public MaxTransmitCallRate MaxTransmitCallRate { get; set; }
|
public MaxTransmitCallRate MaxTransmitCallRate { get; set; }
|
||||||
public MultiStream MultiStream { get; set; }
|
public MultiStream MultiStream { get; set; }
|
||||||
|
|
||||||
|
public Conference()
|
||||||
|
{
|
||||||
|
AutoAnswer = new AutoAnswer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LoginName
|
public class LoginName
|
||||||
|
|
@ -1837,6 +1849,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
public Configuration()
|
public Configuration()
|
||||||
{
|
{
|
||||||
Audio = new Audio();
|
Audio = new Audio();
|
||||||
|
Conference = new Conference();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue