修改bug
This commit is contained in:
parent
2e749097cf
commit
ebd3742730
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user