|
@@ -149,16 +149,18 @@ public class RTCService : IRTCService
|
|
|
{
|
|
|
mRTCRoomInfo = JsonConvert.DeserializeObject<RTCRoomInfo>(e.rtcRoomInfo);
|
|
|
Debug.LogError($"创建房间成功,房间ID:{mRTCRoomInfo.roomId}");
|
|
|
+ Debug.LogError($"地址链接:https://{mRTCRoomInfo.host}");
|
|
|
+ Debug.LogError($"Token:{mRTCRoomInfo.token}");
|
|
|
|
|
|
-
|
|
|
- JoinRoom(mRTCRoomInfo.roomId);
|
|
|
}
|
|
|
|
|
|
|
|
|
private void JoinRoomSuccess(JoinRoomSuccessEvent e)
|
|
|
{
|
|
|
mRTCRoomInfo = JsonConvert.DeserializeObject<RTCRoomInfo>(e.rtcRoomInfo);
|
|
|
- Debug.LogError($"加入房间成功,房间号:{mRTCRoomInfo.roomId}");
|
|
|
+ Debug.LogError($"创建房间成功,房间ID:{mRTCRoomInfo.roomId}");
|
|
|
+ Debug.LogError($"地址链接:https://{mRTCRoomInfo.host}");
|
|
|
+ Debug.LogError($"Token:{mRTCRoomInfo.token}");
|
|
|
}
|
|
|
|
|
|
|