From ebd374273097629cdb3d2b495c1da47385251294 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Tue, 25 Feb 2025 10:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/VideoRoom.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/mediation-page/components/VideoRoom.vue b/src/pages/mediation-page/components/VideoRoom.vue index 85eee49..70b2d0f 100644 --- a/src/pages/mediation-page/components/VideoRoom.vue +++ b/src/pages/mediation-page/components/VideoRoom.vue @@ -170,7 +170,7 @@ export default { getRoomArgument() { let {roomId, sdkAppId, userId, userSig} = this.eventDialog; console.log(roomId, sdkAppId, userId, userSig, '---roomId, sdkAppId, userId, userSig') - this.roomId = parseInt(roomId, 10); + this.roomId = roomId; this.sdkAppId = parseInt(sdkAppId, 10); this.userId = userId; this.userSig = userSig; @@ -218,11 +218,16 @@ export default { this.handleStartLocalVideo(); }, async enterRoom() { + console.log({ + strRoomId: this.roomId.toString(), + sdkAppId: this.sdkAppId, + userId: this.userId, + userSig: this.userSig, + },'进入房间') this.trtc = TRTC.create(); try { await this.trtc.enterRoom({ strRoomId: this.roomId.toString(), - // sdkAppId: parseInt(this.sdkAppId, 10), sdkAppId: this.sdkAppId, userId: this.userId, userSig: this.userSig,