@vkontakte/videoplayer-core 2.0.124-dev.3c5ab8e6.0 → 2.0.124-dev.dadd28ae.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.124-dev.3c5ab8e6.0",
3
+ "version": "2.0.124-dev.dadd28ae.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -49,7 +49,7 @@
49
49
  "**/*.d.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@vkontakte/videoplayer-shared": "1.0.53-dev.8f0558fc.0",
52
+ "@vkontakte/videoplayer-shared": "^1.0.52",
53
53
  "hls.js": "~1.4.7"
54
54
  }
55
55
  }
@@ -62,8 +62,8 @@ export declare class BufferManager {
62
62
  private loadByteRangeSegmentsTimeoutId;
63
63
  constructor(kind: StreamKind, mediaSource: MediaSource, representations: Representation[], { fetcher, tuning, getCurrentPosition, isActiveLowLatency, compatibilityMode, manifest }: Dependencies);
64
64
  startWith: (param_0: string) => Promise<void | undefined>;
65
- switchTo(newRepresentationId: Representation['id'], dropBuffer?: boolean): void | Promise<void | undefined>;
66
- switchToNew(newRepresentationId: Representation['id'], dropBuffer?: boolean): void;
65
+ switchToWithPreviousAbort(newRepresentationId: Representation['id'], dropBuffer?: boolean): void;
66
+ switchTo: (param_0: string, param_1: boolean | undefined) => Promise<void | undefined>;
67
67
  switchToOld: (param_0: string, param_1: boolean | undefined) => Promise<void | undefined>;
68
68
  warmUpMediaSource(): void;
69
69
  abort(): Promise<boolean>;
@@ -150,6 +150,7 @@ export type ITuningConfig = {
150
150
  useManagedMediaSource: boolean;
151
151
  useNewSwitchTo: boolean;
152
152
  useSafariEndlessRequestBugfix: boolean;
153
+ useRefactoredSearchGap: boolean;
153
154
  isAudioDisabled: boolean;
154
155
  autoplayOnlyInActiveTab: boolean;
155
156
  dynamicImportTimeout: Milliseconds;