@thestatic-tv/dcl-sdk 2.5.23 → 2.5.24
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 +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4343,8 +4343,10 @@ var StaticTVClient = class {
|
|
|
4343
4343
|
* @internal
|
|
4344
4344
|
*/
|
|
4345
4345
|
_startCallbackVerification(video) {
|
|
4346
|
-
this.
|
|
4346
|
+
this.log(`Starting callback verification for: ${video.name}`);
|
|
4347
|
+
this.showNotification(`Connecting to ${video.name}...`, 5e3);
|
|
4347
4348
|
this._verificationTimeoutId = utils.timers.setTimeout(() => {
|
|
4349
|
+
this.log(`Verification timeout check - verified: ${this._streamVerified}, pending: ${!!this._pendingVideoData}`);
|
|
4348
4350
|
if (!this._streamVerified && this._pendingVideoData) {
|
|
4349
4351
|
this.log(`Stream verification timeout (callback mode): ${video.name}`);
|
|
4350
4352
|
this._pendingVideoData = null;
|
|
@@ -4354,7 +4356,7 @@ var StaticTVClient = class {
|
|
|
4354
4356
|
}
|
|
4355
4357
|
this.stopVideo();
|
|
4356
4358
|
}
|
|
4357
|
-
},
|
|
4359
|
+
}, 5e3);
|
|
4358
4360
|
}
|
|
4359
4361
|
/**
|
|
4360
4362
|
* Call this to confirm that a video stream is playing successfully.
|
|
@@ -4369,6 +4371,7 @@ var StaticTVClient = class {
|
|
|
4369
4371
|
* ```
|
|
4370
4372
|
*/
|
|
4371
4373
|
confirmVideoPlaying() {
|
|
4374
|
+
this.log(`confirmVideoPlaying called - pending: ${!!this._pendingVideoData}, verified: ${this._streamVerified}`);
|
|
4372
4375
|
if (this._pendingVideoData && !this._streamVerified) {
|
|
4373
4376
|
this._streamVerified = true;
|
|
4374
4377
|
this._clearVerificationTimeout();
|
package/dist/index.mjs
CHANGED
|
@@ -4295,8 +4295,10 @@ var StaticTVClient = class {
|
|
|
4295
4295
|
* @internal
|
|
4296
4296
|
*/
|
|
4297
4297
|
_startCallbackVerification(video) {
|
|
4298
|
-
this.
|
|
4298
|
+
this.log(`Starting callback verification for: ${video.name}`);
|
|
4299
|
+
this.showNotification(`Connecting to ${video.name}...`, 5e3);
|
|
4299
4300
|
this._verificationTimeoutId = utils.timers.setTimeout(() => {
|
|
4301
|
+
this.log(`Verification timeout check - verified: ${this._streamVerified}, pending: ${!!this._pendingVideoData}`);
|
|
4300
4302
|
if (!this._streamVerified && this._pendingVideoData) {
|
|
4301
4303
|
this.log(`Stream verification timeout (callback mode): ${video.name}`);
|
|
4302
4304
|
this._pendingVideoData = null;
|
|
@@ -4306,7 +4308,7 @@ var StaticTVClient = class {
|
|
|
4306
4308
|
}
|
|
4307
4309
|
this.stopVideo();
|
|
4308
4310
|
}
|
|
4309
|
-
},
|
|
4311
|
+
}, 5e3);
|
|
4310
4312
|
}
|
|
4311
4313
|
/**
|
|
4312
4314
|
* Call this to confirm that a video stream is playing successfully.
|
|
@@ -4321,6 +4323,7 @@ var StaticTVClient = class {
|
|
|
4321
4323
|
* ```
|
|
4322
4324
|
*/
|
|
4323
4325
|
confirmVideoPlaying() {
|
|
4326
|
+
this.log(`confirmVideoPlaying called - pending: ${!!this._pendingVideoData}, verified: ${this._streamVerified}`);
|
|
4324
4327
|
if (this._pendingVideoData && !this._streamVerified) {
|
|
4325
4328
|
this._streamVerified = true;
|
|
4326
4329
|
this._clearVerificationTimeout();
|
package/package.json
CHANGED