|
@@ -529,12 +529,13 @@ export default {
|
|
|
},
|
|
|
async initclient() {
|
|
|
this.userId_ = this.user.uid;
|
|
|
+ const _userid = 'meetu-' + this.userId_;
|
|
|
const res = await this.gensignFetch({ userid: this.userId_ });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.client_ = TRTC.createClient({
|
|
|
mode: 'live',
|
|
|
sdkAppId: this.sdkAppId_,
|
|
|
- userId: this.userId_,
|
|
|
+ userId: _userid,
|
|
|
userSig: res.data,
|
|
|
});
|
|
|
await this.client_.join({ roomId: this.roomname, role: 'anchor' });
|