@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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
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 =
|
|
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
|
|
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 =
|
|
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
|
|
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