mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Removed add camera to device manager
This commit is contained in:
parent
89a7f2aa80
commit
70c5df9040
1 changed files with 5 additions and 8 deletions
|
|
@ -2004,7 +2004,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
}
|
}
|
||||||
|
|
||||||
Cameras.Add(camera);
|
Cameras.Add(camera);
|
||||||
DeviceManager.AddDevice(camera);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2014,12 +2013,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
|
|
||||||
SelectedCameraFeedback = new StringFeedback(() => SelectedCamera.Key);
|
SelectedCameraFeedback = new StringFeedback(() => SelectedCamera.Key);
|
||||||
|
|
||||||
SelectedCamera = Cameras[0]; ; // call the method to select the camera and ensure the feedbacks get updated.
|
|
||||||
|
|
||||||
ControllingFarEndCameraFeedback = new BoolFeedback(() => SelectedCamera is IAmFarEndCamera);
|
ControllingFarEndCameraFeedback = new BoolFeedback(() => SelectedCamera is IAmFarEndCamera);
|
||||||
|
|
||||||
DeviceManager.AddDevice(farEndCamera);
|
|
||||||
|
|
||||||
NearEndPresets = new List<CodecRoomPreset>(15);
|
NearEndPresets = new List<CodecRoomPreset>(15);
|
||||||
|
|
||||||
FarEndRoomPresets = new List<CodecRoomPreset>(15);
|
FarEndRoomPresets = new List<CodecRoomPreset>(15);
|
||||||
|
|
@ -2031,6 +2026,8 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
FarEndRoomPresets.Add(new CodecRoomPreset(i, label, true, false));
|
FarEndRoomPresets.Add(new CodecRoomPreset(i, label, true, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SelectedCamera = Cameras[0]; ; // call the method to select the camera and ensure the feedbacks get updated.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#region IHasCodecCameras Members
|
#region IHasCodecCameras Members
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue