123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.Collections.Generic;
- using Vinno.FIS.TRTCClient.Common.Enum;
- using Vinno.vCloud.FIS.CrossPlatform.Common.LiveVideo;
- namespace Vinno.vCloud.Common.FIS.LiveVideos
- {
- internal interface IPreviewManager : IDisposable
- {
- /// <summary>
- /// 是否正在预览
- /// </summary>
- bool IsPreviewing { get; }
- /// <summary>
- /// 预览画面回调
- /// </summary>
- event EventHandler<ImageFrameData> PreviewImageReceived;
- void SetIsPaused(bool isPaused);
- /// <summary>
- /// 开始预览
- /// </summary>
- /// <param name="deviceId"></param>
- /// <param name="width"></param>
- /// <param name="height"></param>
- /// <param name="frameRate"></param>
- /// <param name="category"></param>
- void StartPreview(string deviceId, int width, int height, int frameRate, EnumLiveChannelCategory category);
- /// <summary>
- /// 结束预览
- /// </summary>
- void StopPreview(bool setPreviewCacheFalse);
- void UpdateCurrentVideoDeviceInfoList(List<CPVideoDeviceInfo> cPVideoDeviceInfos);
- }
- }
|