|
@@ -222,6 +222,7 @@ export class StreamService {
|
|
|
framePack.setUint32(24, 0);
|
|
|
framePack.setUint32(28, 0);
|
|
|
framePack.setUint32(this.block - 4, steamByteLength);
|
|
|
+ steamByteLength += currentSlice.byteLength;
|
|
|
// const isLastFrame = framePack.byteLength - this.chunk_size < 0;
|
|
|
|
|
|
// this.logger.log('statusPack', statusPack);
|
|
@@ -230,7 +231,7 @@ export class StreamService {
|
|
|
Buffer.from(framePack.buffer),
|
|
|
);
|
|
|
if (isPush) {
|
|
|
- steamByteLength += currentSlice.byteLength;
|
|
|
+ console.log('slice push');
|
|
|
}
|
|
|
}
|
|
|
|