12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- using System;
- using System.Collections.Generic;
- using Vinno.FIS.TRTCClient.Common.Enum;
- using Vinno.vCloud.FIS.CrossPlatform.Common.LiveVideo;
- using Vinno.vCloud.Protocol.Infrastructures;
- namespace Vinno.vCloud.Common.FIS.LiveVideos
- {
- public interface ILiveVideo : IFeature, IDisposable
- {
- /// <summary>
- /// Raised when live changed to protocol
- /// </summary>
- event EventHandler<LiveProtocol> LiveProtocolChanged;
- /// <summary>
- /// The event to notificate the US to show or hide the live video out put window
- /// </summary>
- event EventHandler<LiveNotificationArgs> LiveNotification;
- /// <summary>
- /// Raised when camera Preview Excute
- /// </summary>
- event EventHandler<byte[]> PreviewCameraCaptured;
- /// <summary>
- /// Raised when Camera Preview Image Size Changed
- /// </summary>
- event EventHandler<ImageSize> CameraPreviewImageSizeChanged;
- /// <param name="enableCameraLive"></param>
- /// <param name="cameraId"></param>
- /// <param name="micId"></param>
- /// <param name="showPreviewImage"></param>
- /// <param name="enableLiveVideo"></param>
- /// <param name="isMute"></param>
- void ChangeCameraSettings(bool enableCameraLive, string cameraId, string micId, bool showPreviewImage, bool enableLiveVideo, bool isMute);
- /// <summary>
- /// Change Camera Setting
- /// </summary>
- /// <param name="infos"></param>
- void ChangeCameraSettingsForSonopost(bool showPreviewImage, EnumLiveChannelCategory previewLiveChannel, IEnumerable<CPVideoDeviceInfo> infos, RainbowImageDetectConfig rainbowImageDetectConfig, string micId, bool isMute);
- /// <summary>
- /// Speed live test network and auto select good network to server
- /// </summary>
- /// <returns></returns>
- bool StartSpeedTest();
- /// <summary>
- /// 获取品牌列表
- /// </summary>
- /// <returns></returns>
- List<string> GetBrandList();
- /// <summary>
- /// 获取型号列表
- /// </summary>
- /// <param name="brand"></param>
- /// <param name="model"></param>
- /// <returns></returns>
- List<string> GetModelList(string brand);
- /// <summary>
- /// 获取推荐分辨率
- /// </summary>
- /// <param name="brand"></param>
- /// <param name="model"></param>
- /// <returns></returns>
- DeviceRecommandResolution GetRecommandResolution(string brand, string model);
- }
- }
|