|
@@ -1199,7 +1199,7 @@ export default class Workers {
|
|
|
position: st,
|
|
|
};
|
|
|
if (this.inPanoMode) {
|
|
|
- console.log("接受webrtc请求:" + JSON.stringify(Rt));
|
|
|
+ //("接受webrtc请求:" + JSON.stringify(Rt));
|
|
|
this.executeFunction("signal", {
|
|
|
signal: Rt,
|
|
|
pts: -1,
|
|
@@ -1264,7 +1264,7 @@ export default class Workers {
|
|
|
}
|
|
|
dataHandle(e) {
|
|
|
if (this.saveframe) {
|
|
|
- console.log("接受webrtc请求:录制视频");
|
|
|
+ //console.log("接受webrtc请求:录制视频");
|
|
|
this.decoderWorker.postMessage({
|
|
|
t: 6,
|
|
|
});
|
|
@@ -1272,7 +1272,7 @@ export default class Workers {
|
|
|
}
|
|
|
|
|
|
if (this.SaveMediaStream) {
|
|
|
- console.log("接受webrtc请求:下载视频");
|
|
|
+ //console.log("接受webrtc请求:下载视频");
|
|
|
this.decoderWorker.postMessage({
|
|
|
t: 7,
|
|
|
}),
|
|
@@ -1281,18 +1281,18 @@ export default class Workers {
|
|
|
|
|
|
const i = new Uint8Array(e);
|
|
|
if (i.length >= 4 && this.isHeartBeatPacket(i.buffer, i.length) == !0) {
|
|
|
- console.log("接受webrtc请求:心跳");
|
|
|
+ //console.log("接受webrtc请求:心跳");
|
|
|
return;
|
|
|
}
|
|
|
if (i.length > 36 && this.unmarshalStream(i.buffer) == !0) {
|
|
|
this.reconnectSignal &&
|
|
|
(this.executeFunction("reconnectedFrame", {}),
|
|
|
(this.reconnectSignal = !1));
|
|
|
- console.log("接受webrtc请求:视频流");
|
|
|
+ //console.log("接受webrtc请求:视频流");
|
|
|
return;
|
|
|
}
|
|
|
if (i.length > 20 && this.unmarshalPano(i.buffer) == !0) {
|
|
|
- console.log("接受webrtc请求:全景图");
|
|
|
+ //console.log("接受webrtc请求:全景图");
|
|
|
return;
|
|
|
}
|
|
|
this.noWasmBytesReceived += e.byteLength;
|