|
@@ -154,6 +154,9 @@ import Vue from 'vue';
|
|
|
import { Swipe, SwipeItem, Lazyload } from 'vant';
|
|
|
import { Image as VanImage } from 'vant';
|
|
|
import wx from 'weixin-js-sdk';
|
|
|
+import Vconsole from 'vconsole';
|
|
|
+let vConsole = new Vconsole();
|
|
|
+Vue.use(vConsole);
|
|
|
Vue.use(Swipe);
|
|
|
Vue.use(SwipeItem);
|
|
|
Vue.use(VanImage);
|
|
@@ -665,6 +668,7 @@ export default {
|
|
|
userId: _userid,
|
|
|
userSig: res.data,
|
|
|
});
|
|
|
+ console.log(this.client_);
|
|
|
await this.client_.join({ roomId: this.roomname, role: 'anchor' });
|
|
|
this.client_.on('stream-subscribed', event => {
|
|
|
const remoteStream = event.stream;
|