|
@@ -1045,7 +1045,7 @@ export default class Workers {
|
|
|
|
|
|
// console.log("hey", Date.now() - _e);
|
|
|
|
|
|
- console.log("zh", frame, b);
|
|
|
+ console.log("zh----", fCnt, b);
|
|
|
if (b !== 255) {
|
|
|
console.log("gemer1", {
|
|
|
byteLength: e.byteLength,
|
|
@@ -1318,16 +1318,16 @@ export default class Workers {
|
|
|
// console.log("IT-fCnt", It.data);
|
|
|
console.log("testFrame", testFrame);
|
|
|
|
|
|
- this.downloadBlob(
|
|
|
- It.data.subarray(It.metaLen, It.metaLen + It.mediaLen),
|
|
|
- `100.${testFrame.padLeft(4,'0')}.h264`,
|
|
|
- "application/octet-stream"
|
|
|
- );
|
|
|
- this.downloadBlob(
|
|
|
- It.data.subarray(0, It.metaLen),
|
|
|
- `100.${testFrame.padLeft(4,'0')}.json`,
|
|
|
- "application/json"
|
|
|
- );
|
|
|
+ // this.downloadBlob(
|
|
|
+ // It.data.subarray(It.metaLen, It.metaLen + It.mediaLen),
|
|
|
+ // `100.${testFrame.padLeft(4,'0')}.h264`,
|
|
|
+ // "application/octet-stream"
|
|
|
+ // );
|
|
|
+ // this.downloadBlob(
|
|
|
+ // It.data.subarray(0, It.metaLen),
|
|
|
+ // `100.${testFrame.padLeft(4,'0')}.json`,
|
|
|
+ // "application/json"
|
|
|
+ // );
|
|
|
|
|
|
if (this.inPanoMode) {
|
|
|
// console.log("接受webrtc请求:" + JSON.stringify(Rt));
|