using System.Collections.Generic; using Blue; /// /// 根据token创建房间---创建房间后获得url,根据url连接rtc /// 开关音视频,加入离开房间 /// public interface IRTCService : IService { Dictionary mUserDic{ get; } /// /// 根据Token创建房间 /// void CreatRoom(); /// /// 加入房间 /// void JoinRoom(string roomId); /// /// /// 根据url连接rtc /// void ConnectByRTCUrl(string URL); /// /// 退出房间 /// void LeaveRoom(); /// /// 控制摄像头 /// void ActiveVideo(bool active); /// /// 控制麦克风 /// void ActiveAudio(bool active); /// /// 将远程视频流静音 /// void MuteRemoteVideoStream(string userID, bool active); /// /// 将远程音频流静音 /// void MuteRemoteAudioStream(string userID, bool active); /// /// 视频静音 /// void MuteVideo(bool active); /// /// 音频静音 /// void MuteAudio(bool active); /// /// 打开本地视频 /// void LocalVideo(bool active); /// /// 打开本地音频 /// void LoacalAudio(bool active); }