修改bug
This commit is contained in:
parent
2e749097cf
commit
ebd3742730
@ -170,7 +170,7 @@ export default {
|
|||||||
getRoomArgument() {
|
getRoomArgument() {
|
||||||
let {roomId, sdkAppId, userId, userSig} = this.eventDialog;
|
let {roomId, sdkAppId, userId, userSig} = this.eventDialog;
|
||||||
console.log(roomId, sdkAppId, userId, userSig, '---roomId, sdkAppId, userId, userSig')
|
console.log(roomId, sdkAppId, userId, userSig, '---roomId, sdkAppId, userId, userSig')
|
||||||
this.roomId = parseInt(roomId, 10);
|
this.roomId = roomId;
|
||||||
this.sdkAppId = parseInt(sdkAppId, 10);
|
this.sdkAppId = parseInt(sdkAppId, 10);
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
this.userSig = userSig;
|
this.userSig = userSig;
|
||||||
@ -218,11 +218,16 @@ export default {
|
|||||||
this.handleStartLocalVideo();
|
this.handleStartLocalVideo();
|
||||||
},
|
},
|
||||||
async enterRoom() {
|
async enterRoom() {
|
||||||
|
console.log({
|
||||||
|
strRoomId: this.roomId.toString(),
|
||||||
|
sdkAppId: this.sdkAppId,
|
||||||
|
userId: this.userId,
|
||||||
|
userSig: this.userSig,
|
||||||
|
},'进入房间')
|
||||||
this.trtc = TRTC.create();
|
this.trtc = TRTC.create();
|
||||||
try {
|
try {
|
||||||
await this.trtc.enterRoom({
|
await this.trtc.enterRoom({
|
||||||
strRoomId: this.roomId.toString(),
|
strRoomId: this.roomId.toString(),
|
||||||
// sdkAppId: parseInt(this.sdkAppId, 10),
|
|
||||||
sdkAppId: this.sdkAppId,
|
sdkAppId: this.sdkAppId,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
userSig: this.userSig,
|
userSig: this.userSig,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user