@vkontakte/videoplayer-core 2.0.166-dev.abb27aca7.0 → 2.0.166-dev.f2a56450b.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": "@vkontakte/videoplayer-core",
3
- "version": "2.0.166-dev.abb27aca7.0",
3
+ "version": "2.0.166-dev.f2a56450b.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -42,6 +42,6 @@
42
42
  "**/*.d.ts"
43
43
  ],
44
44
  "dependencies": {
45
- "@vkontakte/videoplayer-shared": "1.0.95-dev.abb27aca7.0"
45
+ "@vkontakte/videoplayer-shared": "1.0.95-dev.f2a56450b.0"
46
46
  }
47
47
  }
@@ -126,6 +126,7 @@ export default class Player implements IPlayer {
126
126
  private initDebugTelemetry;
127
127
  private initTracerSubscription;
128
128
  private initWakeLock;
129
+ private initRenderingRecovery;
129
130
  private setVideoTrackIdByQuality;
130
131
  private getActiveLiveDelay;
131
132
  private isNotActiveTabCase;
@@ -346,6 +346,13 @@ export type ITuningConfig = {
346
346
  * использует requestAnimationFrame
347
347
  */
348
348
  autoplayOnlyIfVisible: boolean;
349
+ /**
350
+ * Восстанавливает отрисовку <video> при возврате из фоновой вкладки.
351
+ * WebKit на скрытых вкладках останавливает композитинг кадра и не всегда
352
+ * возобновляет его сам — после детекта «залипшего» кадра делается микросик
353
+ * в текущую позицию, заставляющий декодер переинициализировать текстуру.
354
+ */
355
+ recoverRenderingOnTabVisible: boolean;
349
356
  dynamicImportTimeout: Milliseconds;
350
357
  maxPlaybackTransitionInterval: Milliseconds;
351
358
  providerErrorLimit: number;