主线合并对讲broadcast级联模式

This commit is contained in:
648540858
2023-03-20 15:42:59 +08:00
parent 26bdf2e776
commit 4362a5b499
6 changed files with 19 additions and 49 deletions

View File

@@ -655,7 +655,7 @@ export default {
method: 'get',
url: '/api/play/broadcast/' + this.deviceId + '/' + this.channelId + "?timeout=30&broadcastMode=" + this.broadcastMode
}).then( (res)=> {
if (res.data.code == 0) {
if (res.data.code === 0) {
let streamInfo = res.data.data.streamInfo;
if (document.location.protocol.includes("https")) {
this.startBroadcast(streamInfo.rtcs)