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