Commit c61457eb authored by 毛线's avatar 毛线

url

兼容
parent c28827ec
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
return return
} }
const url = this.device?.videoMainNumber const url = this.device?.videoMainNumber
const webrtc = `webrtc://eslotstreaming.com${url}` const webrtc = url.includes('webrtc') ? url : `webrtc://eslotstreaming.com${url}`
this.$refs.webrtc.initVideo(webrtc) this.$refs.webrtc.initVideo(webrtc)
this.isPlay = true this.isPlay = true
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment