Пример #1
0
 void AgoraRtcEventHandler.OnRtcStats(RtcStats stats)
 {
     OnRtcStats?.Invoke(stats);
 }
Пример #2
0
 //When someone leaves the channel...
 private void OnLeaveChannel(RtcStats stats)
 {
     playerTwo.Clear();
     playerTree.Clear();
 }
Пример #3
0
 public override void OnLeaveChannel(RtcStats stats)
 {
     Console.WriteLine("----->OnLeaveChannel duration={0}", stats.duration);
 }
Пример #4
0
 void AgoraRtcEventHandler.OnLeaveChannel(RtcStats stats)
 {
     this.joinChanneled = false;
     OnLeaveChannel?.Invoke(stats);
 }
 public virtual void OnLeaveChannel(RtcStats stats)
 {
 }
 public virtual void OnRtcStats(RtcStats stats)
 {
 }
 public virtual void OnRtcStats(string channelId, RtcStats stats)
 {
 }
 // user leaves
 void OnLeaveChannelHandler(RtcStats stats)
 {
     print("User left");
     currentUsers--;
 }
Пример #9
0
 public static void LeaveChannelHandler(RtcStats stats)
 {
     main_thread_sync_context_.Post(
         new SendOrPostCallback(LeaveChannelHandlerUI), the_form);
 }
 public virtual void OnLeaveChannel(string channelId, RtcStats stats)
 {
 }
Пример #11
0
 public override void OnLeaveChannel(string channelId, RtcStats stats)
 {
     Console.WriteLine("----->OnLeaveChannel, channelId={0}", channelId);
 }
    void EngineOnLeaveChannel(RtcStats stats)
    {
        string leaveChannelMessage = string.Format("leaveChannel callback duration {0}, tx: {1}, rx: {2}, tx kbps: {3}, rx kbps: {4}", stats.duration, stats.txBytes, stats.rxBytes, stats.txKBitRate, stats.rxKBitRate);

        Debug.Log(leaveChannelMessage);
    }
Пример #13
0
 private void OnLeaveChannel(RtcStats stats)
 {
     _OnLeftChannel.OnNext(Unit.Default);
 }
 void OnLeaveChannelHandler(RtcStats stats)
 {
     logger.UpdateLog("OnLeaveChannelSuccess");
 }
 void Channel2OnLeaveChannelHandler(string channelId, RtcStats rtcStats)
 {
     logger.UpdateLog(string.Format("Channel1OnLeaveChannelHandler channelId: {0}", channelId));
 }
 void OnLeaveChannelHandler(RtcStats stats)
 {
     logger.UpdateLog("OnLeaveChannelSuccess");
     DestroyVideoView(0);
 }
Пример #17
0
 // when this user leaves
 private void onLeaveChannel(RtcStats stats)
 {
     Debug.Log("LeaveChannel.");
 }