@give-tech/ec-player 0.0.1-beta.35 → 0.0.1-beta.36
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1768,7 +1768,7 @@ class HLSPlayer extends BasePlayer {
|
|
|
1768
1768
|
this.frameBuffer.shift();
|
|
1769
1769
|
this.renderer.render(frame);
|
|
1770
1770
|
this.accumulatedMediaTime += frameDurationMs;
|
|
1771
|
-
this.setCurrentTime(this.accumulatedMediaTime
|
|
1771
|
+
this.setCurrentTime(this.accumulatedMediaTime);
|
|
1772
1772
|
this.updateState({ resolution: `${frame.width}x${frame.height}` });
|
|
1773
1773
|
const fps = this.renderer.updateFps();
|
|
1774
1774
|
this.updateState({ fps });
|