Browse Source

删除测试代码

DGJ 5 months ago
parent
commit
12d3f030e0

+ 1 - 1
Assets/HotUpdate/Scripts/Scripts/Project/RTC/RTCDemoManager.cs

@@ -31,7 +31,7 @@ public class RTCDemoManager : MonoSingleton<RTCDemoManager>
                 
                 rtcpostCount = 0;
                 // �����ɹ�
-                RTCRoomManager.Instance.OnLocalUserJoined();
+             //   RTCRoomManager.Instance.OnLocalUserJoined();
             }
             else
             {

+ 2 - 2
Assets/Scripts/RTC/RTCRoomManager.cs

@@ -109,7 +109,7 @@ public class RTCRoomManager : MonoSingleton<RTCRoomManager>
     {
         // UserJoined(UserEnum.Player);
         Debug.Log("DGJ  ===>OnLocalUserJoined  " + MQTTManager.Instance.front + "online/" + controlId);
-        if(true) // 邀请中控
+        if(isInvite) // 邀请中控
         {
             isInvite = false;
             JsonData obj = new JsonData();
@@ -131,7 +131,7 @@ public class RTCRoomManager : MonoSingleton<RTCRoomManager>
 
         }
       
-        if (false) // 当前在RTC 频道内
+        if (isApply) // 当前在RTC 频道内
         {
             isApply = false;
             JsonData data = new JsonData();