@give-tech/ec-player 0.0.1-beta.46 → 0.0.1-beta.48
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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/player/FLVPlayer.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3485,6 +3485,8 @@ class FLVPlayer extends BasePlayer {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
this.firstFrameDts = this._timedFrameBuffer[0].dts;
|
|
3487
3487
|
this.playStartTime = performance.now();
|
|
3488
|
+
this.playStartTimeOffset = 0;
|
|
3489
|
+
this._lastRafTime = 0;
|
|
3488
3490
|
console.log("[FLVPlayer] Play time initialized, firstFrameDts:", this.firstFrameDts);
|
|
3489
3491
|
}
|
|
3490
3492
|
this.isPlaying = true;
|