123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using System;
- using System.Collections.Generic;
- using Vinno.FIS.TRTCClient.Common.Enum;
- using Vinno.vCloud.FIS.CrossPlatform.Common.Enum;
- using Vinno.vCloud.FIS.CrossPlatform.Common.LiveVideo;
- using Vinno.vCloud.FIS.CrossPlatform.Common.LiveVideo.Interface;
- namespace Vinno.vCloud.Common.FIS.LiveVideos
- {
- internal interface ILiveVideoPusherManagerV2 : IPreview, IDisposable
- {
- /// <summary>
- /// 推流状态改变事件通知
- /// </summary>
- event EventHandler<PusherState> PusherStateChanged;
- /// <summary>
- /// The event to notificate the US to show or hide the live video out put window
- /// </summary>
- event EventHandler<LiveNotificationArgs> LiveVideoNotification;
- void UpdateCurrentVideoDeviceInfoList(List<CPVideoDeviceOutputInfo> infos);
- /// <summary>
- /// 是否正在推流
- /// </summary>
- bool IsPushing { get; }
- /// <summary>
- /// 重新推流
- /// </summary>
- void RestartPusher();
- /// <summary>
- ///
- /// </summary>
- /// <param name="liveEventArgs"></param>
- void LiveStateChanged(LiveEventArgs liveEventArgs);
- /// <summary>
- /// 当会诊时,变更房间时
- /// </summary>
- /// <param name="consultationCode"></param>
- void ChangeHeartRateCode(string consultationCode);
- void StartHeartRateKeeper(string heartRateCode, int interval, EnumHeartRateType heartRateType);
- void StopHeartRateKeeper();
- void SetMute(bool isMute);
- void SwitchMic(string micId);
- /// <summary>
- /// 设置是否暂停
- /// </summary>
- /// <param name="isPaused"></param>
- void SetIsPaused(bool isPaused);
- /// <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);
- /// <summary>
- /// Speed live test network and auto select good network to server
- /// </summary>
- /// <returns></returns>
- bool StartSpeedTest();
- /// <summary>
- /// 开始预览
- /// </summary>
- void StartOnlyPreview(EnumLiveChannelCategory category);
- }
- }
|