|
|
@@ -237,10 +237,9 @@ const app = new Vue({
|
|
|
// “connected”:rtc链接成功 “failed”:rtc链接失败 “closed”:rtc链接关闭 “disconnected”:rtc链接超时
|
|
|
if (event.val === "connected") {
|
|
|
Toast.clear();
|
|
|
+ this.doConnectDirectives()
|
|
|
this.confirmResolution()
|
|
|
playOnBtn.bind(this)()
|
|
|
- let { width, height, dpi: density } = this.phoneSize
|
|
|
- this.engine.makeResolution({ width, height, density })
|
|
|
this.pushflowPopup()
|
|
|
this.getResidueTime()
|
|
|
return
|
|
|
@@ -379,7 +378,9 @@ const app = new Vue({
|
|
|
// 分辨率
|
|
|
case 'getPhoneSize':
|
|
|
case 'setPhoneSize':
|
|
|
+ let { width, height, dpi: density } = result.data
|
|
|
this.phoneSize = result.data
|
|
|
+ this.engine.makeResolution({ width, height, density })
|
|
|
break
|
|
|
// 云机复制过来的文本
|
|
|
case 'reProduceText':
|
|
|
@@ -551,10 +552,7 @@ const app = new Vue({
|
|
|
return
|
|
|
}
|
|
|
this.userCardInfoData = res.data
|
|
|
- this.doConnectDirectives()
|
|
|
- setTimeout(() => {
|
|
|
- this.connectWebRtc()
|
|
|
- }, 1000)
|
|
|
+ this.connectWebRtc()
|
|
|
return
|
|
|
case 5200:
|
|
|
case 5220:
|