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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "senza-sdk",
3
- "version": "4.2.54-d09bbe7.0",
3
+ "version": "4.2.55-9808823.0",
4
4
  "main": "./src/api.js",
5
5
  "description": "API for Senza application",
6
6
  "license": "MIT",
@@ -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=${this._videoElement.currentTime} loadCurrentTime=${this._localPlayerLoadCurrentTime}`);
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=${playbackPosition} internalSeek=${this._isSeekingByPlatform} localPlayerSeek=${this._isSeekingByApplication} state="${lifecycle.state}"`);
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 isPLaying=", this._isPlaying);
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