using System.Collections; using System.Collections.Generic; using UnityEngine; public class AgoraCustomPeer { public string peerId; public string peerName; public string peerType; /// /// 是否支持语音 /// public bool isAudio; /// /// 是否支持视频 /// public bool isVideo; /// /// 是否打开语音 /// public bool isOpenAduio; /// /// 是否打开视频 /// public bool isOpenVideo; public void AgoraInit(string peerid) { this.peerId = peerid; isAudio = false; isVideo = false; isOpenAduio = true; isOpenVideo = true; } public void SetName(string name) { this.peerName = name; } }