senza-sdk 4.2.54-d09bbe7.0 → 4.2.55-9808823.0
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/bundle.js +1 -1
- package/package.json +1 -1
- package/src/remotePlayer.js +3 -3
package/package.json
CHANGED
package/src/remotePlayer.js
CHANGED
|
@@ -1428,7 +1428,7 @@ class RemotePlayer extends EventTarget {
|
|
|
1428
1428
|
|
|
1429
1429
|
// If the local player is just initializing after loading the manifest, ignore the seeking event.
|
|
1430
1430
|
if (this._localPlayerLoadCurrentTime === 0 && this._videoElement.currentTime - this._localPlayerLoadCurrentTime > ONE_DAY_SECONDS) {
|
|
1431
|
-
sdkLogger.info(`Seeking ignored for video currentTime init: currentTime
|
|
1431
|
+
sdkLogger.info(`Seeking ignored for video currentTime init: currentTime: ${this._videoElement.currentTime}, loadCurrentTime: ${this._localPlayerLoadCurrentTime}`);
|
|
1432
1432
|
this._localPlayerLoadCurrentTime = this._videoElement.currentTime;
|
|
1433
1433
|
return;
|
|
1434
1434
|
}
|
|
@@ -1439,7 +1439,7 @@ class RemotePlayer extends EventTarget {
|
|
|
1439
1439
|
(lifecycle.state === lifecycle.UiState.FOREGROUND || lifecycle.state === lifecycle.UiState.IN_TRANSITION_TO_FOREGROUND)) {
|
|
1440
1440
|
this._atomicSeek();
|
|
1441
1441
|
} else {
|
|
1442
|
-
sdkLogger.info(`Seeking: skipping seeking event to currentTime
|
|
1442
|
+
sdkLogger.info(`Seeking: skipping seeking event to currentTime: ${playbackPosition}, internalSeek: ${this._isSeekingByPlatform}, localPlayerSeek: ${this._isSeekingByApplication}, state: ${lifecycle.state}`);
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
@@ -1454,7 +1454,7 @@ class RemotePlayer extends EventTarget {
|
|
|
1454
1454
|
* @private
|
|
1455
1455
|
* */
|
|
1456
1456
|
async _atomicSeek() {
|
|
1457
|
-
sdkLogger.info("Seeking: local video element seeking start while
|
|
1457
|
+
sdkLogger.info("Seeking: local video element seeking start while isPlaying: ", this._isPlaying);
|
|
1458
1458
|
|
|
1459
1459
|
// Initialize the target playing state unless changed during the seek process
|
|
1460
1460
|
// In the future, we should allow for seeking in background. Currently, there's no
|