|
@@ -473,7 +473,7 @@ export default class Workers {
|
|
this.getPtr = (this.getPtr + 1) % this.cachedLength
|
|
this.getPtr = (this.getPtr + 1) % this.cachedLength
|
|
}
|
|
}
|
|
const s = e.data.metadata;
|
|
const s = e.data.metadata;
|
|
- console.log('接受的webrtc数据:'+JSON.stringify(s));
|
|
|
|
|
|
+ //console.log('接受的webrtc数据:'+JSON.stringify(s));
|
|
if ((b = s == null ? void 0 : s.traceIds) != null && b.length)
|
|
if ((b = s == null ? void 0 : s.traceIds) != null && b.length)
|
|
for (const k of s.traceIds) {
|
|
for (const k of s.traceIds) {
|
|
if (this.traceIdMap.has(k)) {
|
|
if (this.traceIdMap.has(k)) {
|
|
@@ -766,7 +766,7 @@ export default class Workers {
|
|
this.moveDisplayCircular.add(_e),
|
|
this.moveDisplayCircular.add(_e),
|
|
this.lastMoveDisplayTime = $
|
|
this.lastMoveDisplayTime = $
|
|
}
|
|
}
|
|
- //console.log('接受webrtc请求(定时执行UpdateYUV):'+JSON.stringify(this.cachedMetas[e]))
|
|
|
|
|
|
+ console.log('接受webrtc请求(定时执行UpdateYUV):'+JSON.stringify(this.cachedMetas[e]))
|
|
this.executeFunction("signal", {
|
|
this.executeFunction("signal", {
|
|
signal: this.cachedMetas[e],
|
|
signal: this.cachedMetas[e],
|
|
pts: this.cachedPtss[e],
|
|
pts: this.cachedPtss[e],
|
|
@@ -1116,6 +1116,9 @@ export default class Workers {
|
|
}
|
|
}
|
|
this.noWasmBytesReceived += e.byteLength;
|
|
this.noWasmBytesReceived += e.byteLength;
|
|
const o = JSON.parse(this.Stringify(i));
|
|
const o = JSON.parse(this.Stringify(i));
|
|
|
|
+ // if(o.actionType == 1024){
|
|
|
|
+ // console.log('接受webrtc请求(不是心跳,视频):'+JSON.stringify(o));
|
|
|
|
+ // }
|
|
console.log('接受webrtc请求(不是心跳,视频):'+JSON.stringify(o));
|
|
console.log('接受webrtc请求(不是心跳,视频):'+JSON.stringify(o));
|
|
this.executeFunction("signal", {
|
|
this.executeFunction("signal", {
|
|
signal: o,
|
|
signal: o,
|