mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
Updates CameraControllerBridge and SIMPLCameraMessenger.cs to use new CameraControllerJoinMap
This commit is contained in:
@@ -104,10 +104,7 @@ namespace PepperDash.Essentials.AppServer.Messengers
|
||||
{
|
||||
EISC = eisc;
|
||||
|
||||
JoinMap = new SIMPLAtcJoinMap();
|
||||
|
||||
// TODO: Take in JoinStart value from config
|
||||
JoinMap.OffsetJoinNumbers(201);
|
||||
JoinMap = new SIMPLAtcJoinMap(201);
|
||||
|
||||
CurrentCallItem = new CodecActiveCallItem();
|
||||
CurrentCallItem.Type = eCodecCallType.Audio;
|
||||
@@ -192,11 +189,14 @@ namespace PepperDash.Essentials.AppServer.Messengers
|
||||
// Pulse DTMF
|
||||
AppServerController.AddAction(MessagePath + "/dtmf", new Action<string>(s =>
|
||||
{
|
||||
var join = JoinMap.GetJoinForKey(s);
|
||||
if (join > 0)
|
||||
{
|
||||
EISC.PulseBool(join, 100);
|
||||
}
|
||||
var join = JoinMap.Joins[s];
|
||||
if (join != null)
|
||||
{
|
||||
if (join.JoinNumber > 0)
|
||||
{
|
||||
EISC.PulseBool(join.JoinNumber, 100);
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user