|
|
@@ -1363,7 +1363,7 @@
|
|
|
ip +
|
|
|
':' +
|
|
|
port +
|
|
|
- '/index/api/webrtc?app=live&stream=test&type=play';
|
|
|
+ '/index/api/webrtc?app=live&stream=h264&type=play';
|
|
|
wsUrl = 'ws://' + ip + ':' + port + '/plugflow';
|
|
|
}
|
|
|
let token = res.data.cardToken;
|
|
|
@@ -1386,6 +1386,7 @@
|
|
|
callback: statusCallBack, //回调函数
|
|
|
successCallback, // 成功请求WEBRTC回调
|
|
|
};
|
|
|
+ console.log(option)
|
|
|
engine = new RtcEngine(option);
|
|
|
let myVideo = document.getElementById('playVideo');
|
|
|
// 禁用 <video> 元素的默认控件(例如播放按钮、进度条等)
|