mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
Removed add camera to device manager
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user