|
@@ -16,18 +16,18 @@ import ServerData from "./ServerData.js"
|
|
|
|
|
|
export default class Workers {
|
|
|
constructor(e, t) {
|
|
|
- this.rtcp = e,
|
|
|
- this.cacheSize = 0,
|
|
|
- this.cacheBuffer = new Uint8Array(262144),
|
|
|
- this.cacheFrameCnt = 0,
|
|
|
- this.startReceiveTime = 0,
|
|
|
- this.cacheFrameComposes = new Array(0),
|
|
|
- this.cacheSizes = new Array(5).fill(0),
|
|
|
- this.cacheFrameCnts = new Array(5).fill(-1),
|
|
|
- this.cacheStartReceiveTimes = new Array(5).fill(0),
|
|
|
- this.cacheBuffers = [new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144)],
|
|
|
- this.panoCacheSize = 0,
|
|
|
- this.panoCacheBuffer = new Uint8Array(2097152),
|
|
|
+ // this.rtcp = e,
|
|
|
+ // this.cacheSize = 0,
|
|
|
+ // this.cacheBuffer = new Uint8Array(262144),
|
|
|
+ // this.cacheFrameCnt = 0,
|
|
|
+ // this.startReceiveTime = 0,
|
|
|
+ // this.cacheFrameComposes = new Array(0),
|
|
|
+ // this.cacheSizes = new Array(5).fill(0),
|
|
|
+ // this.cacheFrameCnts = new Array(5).fill(-1),
|
|
|
+ // this.cacheStartReceiveTimes = new Array(5).fill(0),
|
|
|
+ // this.cacheBuffers = [new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144), new Uint8Array(262144)],
|
|
|
+ // this.panoCacheSize = 0,
|
|
|
+ // this.panoCacheBuffer = new Uint8Array(2097152),
|
|
|
this.cachePanoTileID = 0,
|
|
|
this.receivedMedia = 0,
|
|
|
this.receivedMedia_worker = 0,
|