public void onRemoteVideoStateChanged(uint uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) { // Debug.LogError("RemoteVideo:" + uid + "reason:" + reason.ToString()); switch (reason) { case REMOTE_VIDEO_STATE_REASON.REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED: clientObserver.removeObserver(uid); break; case REMOTE_VIDEO_STATE_REASON.REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED: // Debug.LogError("UnMult"); try { clientObserver.AddObserver(uid); } catch (System.Exception e) { Debug.LogError(e.Message); } break; } }
void OnRemoteVideoStateChangedHandler(uint uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) { logCallback("OnRemoteVideoStateChangedHandler uid = " + uid + " ,state = " + state); }
public virtual void OnRemoteVideoStateChanged(uint uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) { }
void AgoraRtcEventHandler.OnRemoteVideoStateChanged(ulong uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, uint elapsed) { OnRemoteVideoStateChanged?.Invoke(uid, state, reason, elapsed); }
public override void OnRemoteVideoStateChanged(string channelId, uint uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) { Console.WriteLine("----->OnRemoteVideoStateChanged, channelId={0} state={1} reason={2}", channelId, state, reason); }