@thestatic-tv/dcl-sdk 2.5.25 → 2.5.26

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 CHANGED
@@ -4373,10 +4373,10 @@ var StaticTVClient = class {
4373
4373
  */
4374
4374
  confirmVideoPlaying() {
4375
4375
  const timeSinceStart = Date.now() - this._verificationStartTime;
4376
- const MIN_DELAY = 1e3;
4376
+ const MIN_DELAY = 200;
4377
4377
  this.log(`confirmVideoPlaying called - pending: ${!!this._pendingVideoData}, verified: ${this._streamVerified}, elapsed: ${timeSinceStart}ms`);
4378
4378
  if (timeSinceStart < MIN_DELAY) {
4379
- this.log(`Ignoring early VS_PLAYING (stale event from previous video)`);
4379
+ this.log(`Ignoring early VS_PLAYING (stale event, ${timeSinceStart}ms < ${MIN_DELAY}ms)`);
4380
4380
  return;
4381
4381
  }
4382
4382
  if (this._pendingVideoData && !this._streamVerified) {
package/dist/index.mjs CHANGED
@@ -4325,10 +4325,10 @@ var StaticTVClient = class {
4325
4325
  */
4326
4326
  confirmVideoPlaying() {
4327
4327
  const timeSinceStart = Date.now() - this._verificationStartTime;
4328
- const MIN_DELAY = 1e3;
4328
+ const MIN_DELAY = 200;
4329
4329
  this.log(`confirmVideoPlaying called - pending: ${!!this._pendingVideoData}, verified: ${this._streamVerified}, elapsed: ${timeSinceStart}ms`);
4330
4330
  if (timeSinceStart < MIN_DELAY) {
4331
- this.log(`Ignoring early VS_PLAYING (stale event from previous video)`);
4331
+ this.log(`Ignoring early VS_PLAYING (stale event, ${timeSinceStart}ms < ${MIN_DELAY}ms)`);
4332
4332
  return;
4333
4333
  }
4334
4334
  if (this._pendingVideoData && !this._streamVerified) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thestatic-tv/dcl-sdk",
3
- "version": "2.5.25",
3
+ "version": "2.5.26",
4
4
  "description": "Connect your Decentraland scene to thestatic.tv - full channel lineup, metrics tracking, and interactions",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",