@vkontakte/videoplayer-core 2.0.174-dev.a50406f6b.0 → 2.0.174-dev.cef9bdc0c.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.174-dev.a50406f6b.0",
3
+ "version": "2.0.174-dev.cef9bdc0c.0",
4
4
  "author": "vk.ru",
5
5
  "description": "Videoplayer core library based on the vk.ru platform",
6
6
  "homepage": "https://vk.ru",
@@ -42,6 +42,6 @@
42
42
  "**/*.d.ts"
43
43
  ],
44
44
  "dependencies": {
45
- "@vkontakte/videoplayer-shared": "1.0.103-dev.a50406f6b.0"
45
+ "@vkontakte/videoplayer-shared": "1.0.103-dev.cef9bdc0c.0"
46
46
  }
47
47
  }
@@ -34,5 +34,4 @@ export default class DashLiveProvider implements IProvider {
34
34
  private seek;
35
35
  private _dashCb;
36
36
  private syncPlayback;
37
- private isSeekOffsetSupported;
38
37
  }
@@ -5,5 +5,4 @@ export default class DashCmafLiveProvider extends BaseDashProvider {
5
5
  constructor(params: IParams);
6
6
  protected override subscribe(): void;
7
7
  protected override seek(position: Milliseconds): void;
8
- private isSeekOffsetSupported;
9
8
  }
@@ -30,5 +30,4 @@ export default class HlsLiveProvider implements IProvider {
30
30
  private seek;
31
31
  private syncPlayback;
32
32
  private generateLiveUrl;
33
- private isSeekOffsetSupported;
34
33
  }
@@ -4,7 +4,6 @@ export declare enum OffsetParameterType {
4
4
  PLAYBACK_SHIFT = 1,
5
5
  DASH_CMAF_OFFSET_P = 2
6
6
  }
7
- export declare const hasOffsetMarker: (url: string) => boolean;
8
7
  declare const _default: (url: string, offset?: Milliseconds, type?: OffsetParameterType) => string;
9
8
  export default _default;
10
9
  export declare const getLiveUrlOffset: (url: string, type: OffsetParameterType) => number;
@@ -1,7 +1,6 @@
1
1
  import { CurrentClientDevice } from "../types/currentClientDevice";
2
2
  import type { DisplayChecker } from "./DisplayChecker";
3
3
  import type { Checker } from "../types/checker";
4
- import type { HighEntropyValues } from "../types/userAgentData";
5
4
  export interface OS {
6
5
  name: string;
7
6
  version: string;
@@ -11,12 +10,6 @@ export interface DeviceDetails {
11
10
  vendor: string;
12
11
  model: string;
13
12
  }
14
- export interface DeviceHardware {
15
- cpuCores?: number;
16
- memoryGb?: number;
17
- gpuVendor?: string;
18
- gpuArchitecture?: string;
19
- }
20
13
  export declare class DeviceChecker implements Checker {
21
14
  private _displayChecker;
22
15
  private _isMobile;
@@ -25,14 +18,10 @@ export declare class DeviceChecker implements Checker {
25
18
  private _highEntropyValues;
26
19
  private _os;
27
20
  private _details;
28
- private _hardware;
29
- private _gpuDetection;
30
21
  constructor(displayChecker: DisplayChecker);
31
22
  get current(): CurrentClientDevice;
32
23
  get os(): OS;
33
24
  get details(): DeviceDetails;
34
- get hardware(): DeviceHardware;
35
- get highEntropyValues(): HighEntropyValues;
36
25
  get isIOS(): boolean;
37
26
  get isIPadOS(): boolean;
38
27
  get isMac(): boolean;
@@ -44,9 +33,6 @@ export declare class DeviceChecker implements Checker {
44
33
  get isMobile(): boolean;
45
34
  get iOSVersion(): number | undefined;
46
35
  detect(): void;
47
- private detectHardware;
48
- detectGpu(): Promise<void>;
49
- private requestGpuInfo;
50
36
  private detectHighEntropyValues;
51
37
  private detectDevice;
52
38
  private detectOS;
@@ -10,7 +10,6 @@ export declare class DisplayChecker implements Checker {
10
10
  private _screenHeight;
11
11
  private _screenWidth;
12
12
  private _colorDepth;
13
- private _colorGamut;
14
13
  private _displayMode;
15
14
  private _isStandalone;
16
15
  get isTouch(): boolean;
@@ -22,10 +21,8 @@ export declare class DisplayChecker implements Checker {
22
21
  get pixelRatio(): number;
23
22
  get isHDR(): boolean;
24
23
  get colorDepth(): number;
25
- get colorGamut(): ColorGamut | undefined;
26
24
  get displayMode(): DisplayMode;
27
25
  get isStandalone(): boolean;
28
26
  detect(): void;
29
- private detectColorGamut;
30
27
  private detectDisplayMode;
31
28
  }
@@ -252,8 +252,6 @@ export type ITuningConfig = {
252
252
  maxQualityForFirstSegmentPreload: ExactVideoQuality;
253
253
  /** Включает отправку телеметрии трейсера (resume) при превышении stall watchdog */
254
254
  tracerResumeOnUnexpectedStall: boolean;
255
- /** Включает отправку телеметрии трейсера (resume) при выборе ABR качества не выше lowQualityTelemetryLimit */
256
- tracerResumeOnLowQuality: boolean;
257
255
  /**
258
256
  * Эксперимент: при `true` отключает `await this.reinitDecoderIfNeeded(shouldForceSeek)`
259
257
  * внутри `stallWatchdogIntervalCallback`. По умолчанию `false` — текущее поведение
@@ -317,15 +315,6 @@ export type ITuningConfig = {
317
315
  */
318
316
  maxPausedTime: number;
319
317
  catchupLiveForMutedInactiveTab: boolean;
320
- /**
321
- * UVP-2618. Отключать перемотку лайва, если ссылка пришла без маркера offset (`_offset_p` в пути
322
- * или query-параметр `?offset_p=`). Применяется ко всем live-форматам: dash_live, dash_live_cmaf,
323
- * hls_live, hls_live_cmaf. Когда манифест отдаёт DVR-окно (shiftDuration / liveSeekableDuration /
324
- * X-Playback-Duration), но в URL нет маркера, `generateLiveUrl` не сможет подставить offset и плеер
325
- * молча переинициализируется на live edge. Включение делает DVR-окно нулевым и скрывает таймлайн.
326
- * По умолчанию false (прежнее поведение), включается для эксперимента.
327
- */
328
- disableLiveSeekWithoutOffsetMarker: boolean;
329
318
  };
330
319
  enableWakeLock: boolean;
331
320
  enableTelemetryAtStart: boolean;
@@ -366,7 +355,6 @@ export type ITuningConfig = {
366
355
  * include-threshold - записываем столлы длинее stallIgnoreThreshold
367
356
  */
368
357
  stallHandlingStrategy: "verbose" | "exclude-threshold" | "include-threshold";
369
- stallIgnoreOnPause: boolean;
370
358
  gapWatchdogInterval: Milliseconds;
371
359
  requestQuick: boolean;
372
360
  /** @deprecated HLS.js удалён, флаг ничего не делает */