mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 01:35:02 +00:00
Significantly restructure camera control interfaces and event arguments. Removed obsolete interfaces like `IHasCameras` and `CameraSelectedEventArgs`, and introduced generic event argument classes for improved type safety. Added `IHasCamerasWithControls` for better management of camera controls. Corrected the `IHasCameraMuteWithUnmuteReqeust` interface name. Reintroduced the `eCameraControlMode` enum to define camera control modes. These changes enhance the organization, clarity, and functionality of the camera control system.
28 lines
707 B
C#
28 lines
707 B
C#
using PepperDash.Essentials.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PepperDash.Essentials.Devices.Common.Cameras
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
/// To be implmented on codecs that can disable their camera(s) to blank the near end video
|
|
/// </summary>
|
|
public interface IHasCameraOff : IHasCameraControls
|
|
{
|
|
/// <summary>
|
|
/// Feedback that indicates whether the camera is off
|
|
/// </summary>
|
|
BoolFeedback CameraIsOffFeedback { get; }
|
|
|
|
/// <summary>
|
|
/// Turns the camera off, blanking the near end video
|
|
/// </summary>
|
|
void CameraOff();
|
|
}
|
|
}
|