@vkontakte/videoplayer-core 2.0.131-dev.04beed26.0 → 2.0.131-dev.8a25f21f.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.131-dev.04beed26.0",
3
+ "version": "2.0.131-dev.8a25f21f.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -54,7 +54,7 @@
54
54
  "**/*.d.ts"
55
55
  ],
56
56
  "dependencies": {
57
- "@vkontakte/videoplayer-shared": "1.0.59-dev.66cb5ad5.0",
57
+ "@vkontakte/videoplayer-shared": "1.0.59-dev.97aa7c64.0",
58
58
  "hls.js": "~1.4.7"
59
59
  }
60
60
  }
@@ -83,7 +83,6 @@ export default class Player implements IPlayer {
83
83
  playing$: Subject<void>;
84
84
  paused$: Subject<void>;
85
85
  stopped$: Subject<void>;
86
- willReady$: Subject<void>;
87
86
  willStart$: Subject<void>;
88
87
  willResume$: Subject<void>;
89
88
  willPause$: Subject<void>;
@@ -114,7 +113,10 @@ export default class Player implements IPlayer {
114
113
  dumpTelemetry: (receiver: (value: Record<string, any>) => void) => void;
115
114
  getCurrentTime$: ValueSubject<null>;
116
115
  };
116
+ private static withWaitInit;
117
+ private static withErrorCatching;
117
118
  constructor(tuning?: IOptionalTuningConfig, tracer?: ITracer);
119
+ private createProviderContainer;
118
120
  initVideo(config: IConfig): IPlayer;
119
121
  destroy(): void;
120
122
  prepare(): IPlayer;
@@ -190,7 +192,8 @@ export default class Player implements IPlayer {
190
192
  private initStartingVideoTrack;
191
193
  private setStartingVideoTrack;
192
194
  private initLogs;
193
- private initDebugTelemetry;
195
+ private initBasicDebugTelemetry;
196
+ private initProviderDebugTelemetry;
194
197
  private initTracerSubscription;
195
198
  private initWakeLock;
196
199
  private setVideoTrackIdByQuality;
@@ -110,10 +110,6 @@ export interface IPlayerEvents {
110
110
  * Плеер остановлен
111
111
  */
112
112
  stopped$: IObservable<void>;
113
- /**
114
- * Запрошена предзагрузка видео
115
- */
116
- willReady$: IObservable<void>;
117
113
  /**
118
114
  * Запрошена пауза
119
115
  */
@@ -206,6 +206,7 @@ export type ITuningConfig = {
206
206
  disableYandexPiP?: boolean;
207
207
  asyncResolveClientChecker?: boolean;
208
208
  autostartOnlyIfVisible?: boolean;
209
+ useLazyInit?: boolean;
209
210
  };
210
211
  export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
211
212
  configName: ITuningConfig['configName'];