@vkontakte/videoplayer-core 2.0.150-dev.169e8a40.0 → 2.0.150-dev.388f8091.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.150-dev.169e8a40.0",
3
+ "version": "2.0.150-dev.388f8091.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,6 +54,6 @@
54
54
  "**/*.d.ts"
55
55
  ],
56
56
  "dependencies": {
57
- "@vkontakte/videoplayer-shared": "1.0.79-dev.169e8a40.0"
57
+ "@vkontakte/videoplayer-shared": "1.0.79-dev.388f8091.0"
58
58
  }
59
59
  }
@@ -117,7 +117,6 @@ export default class Player implements IPlayer {
117
117
  };
118
118
  experimental: {
119
119
  element$: ValueSubject<HTMLVideoElement | undefined>;
120
- tuningConfigName$: ValueSubject<string[]>;
121
120
  enableDebugTelemetry$: ValueSubject<boolean>;
122
121
  dumpTelemetry: (receiver: (value: Record<string, any>) => void) => void;
123
122
  getCurrentTime$: ValueSubject<null>;
@@ -77,7 +77,6 @@ export interface IPlayer {
77
77
  * Может быть видеоэлементом, iframe и вообще чем угодно в общем случае.
78
78
  */
79
79
  element$: IValueObservable<HTMLVideoElement | undefined>;
80
- tuningConfigName$: IValueSubject<string[]>;
81
80
  enableDebugTelemetry$: IValueSubject<boolean>;
82
81
  dumpTelemetry: (receiver: (value: Record<string, any>) => void) => void;
83
82
  /** функция вычисления текущей позиции проигрывания из под провадера (если расчет нестандартный) */
@@ -4,7 +4,8 @@ import { AndroidPreferredFormat } from '../enums/AndroidPreferredFormat';
4
4
  import { IOSPreferredFormat } from '../enums/IOSPreferredFormat';
5
5
  import { Byte, type ExactVideoQuality, Milliseconds, RecursivePartial, Seconds, VideoQuality } from '@vkontakte/videoplayer-shared';
6
6
  export type ITuningConfig = {
7
- configName: string[];
7
+ /** @deprecated */
8
+ configName?: string[];
8
9
  throughputEstimator: {
9
10
  type: 'TwoEma' | 'EmaAndMa';
10
11
  emaAlphaSlow: number;
@@ -269,7 +270,5 @@ export type ITuningConfig = {
269
270
  logDashLiveDebug?: boolean;
270
271
  useInvalidBufferFix?: boolean;
271
272
  };
272
- export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
273
- configName: ITuningConfig['configName'];
274
- };
273
+ export type IOptionalTuningConfig = RecursivePartial<ITuningConfig>;
275
274
  export declare const fillDefault: (partial: IOptionalTuningConfig) => ITuningConfig;