@ray-js/robot-data-stream 0.0.10-beta-8 → 0.0.10-beta-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/sweeperP2p.js +1 -2
- package/package.json +1 -1
package/lib/api/sweeperP2p.js
CHANGED
|
@@ -364,7 +364,6 @@ export class SweeperP2p extends P2pApi {
|
|
|
364
364
|
let {
|
|
365
365
|
fileName
|
|
366
366
|
} = data;
|
|
367
|
-
log4js.info(`p2pStreamPacketReceiveCallback: ${fileName}, ${fileSerialNumber}, ${packetType}`);
|
|
368
367
|
|
|
369
368
|
// 因为XXXX_YYYYY会被替换为坐标值,所以这里需要替换一下
|
|
370
369
|
|
|
@@ -408,7 +407,7 @@ export class SweeperP2p extends P2pApi {
|
|
|
408
407
|
}).join('');
|
|
409
408
|
if (this.firstPackageTime > 0 && fileName.indexOf('map') !== -1) {
|
|
410
409
|
const packageTime = Date.now() - this.firstPackageTime;
|
|
411
|
-
log4js.info(`receive first full package, cost time: ${packageTime} ms, fileName: ${fileName}
|
|
410
|
+
log4js.info(`receive first full package, cost time: ${packageTime} ms, fileName: ${fileName}`);
|
|
412
411
|
this.firstPackageTime = 0;
|
|
413
412
|
}
|
|
414
413
|
const {
|