using Blue; /// /// 登录获取账号token---根据token创建房间---创建房间后获得url,根据url连接rtc /// 开关音视频,加入离开房间 /// public interface IRTCService : IService { /// /// 关闭RTC /// void CloseRTC(); /// /// 登录后获取账号Token /// void GetToken(); /// /// 根据Token创建房间 /// void CreatRoom(); /// /// 根据url连接rtc /// void ConnectByRTCUrl(string URL); /// /// 加入房间 /// void JoinRoom(int roomId); /// /// 退出房间 /// 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); }