@vkontakte/videoplayer-core 2.0.181-beta.0 → 2.0.181-beta.2

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.181-beta.0",
3
+ "version": "2.0.181-beta.2",
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.110-beta.0"
45
+ "@vkontakte/videoplayer-shared": "1.0.110-beta.2"
46
46
  }
47
47
  }
@@ -158,6 +158,7 @@ export declare class BufferManager {
158
158
  private pruneBuffer;
159
159
  private abortBuffer;
160
160
  getDebugBufferState(): IRange<Milliseconds> | undefined;
161
+ getNativeBufferRanges(): IRange<Milliseconds>[];
161
162
  getForwardBufferDuration(currentPosition?: Milliseconds | undefined): Milliseconds;
162
163
  getForwardBufferRepresentations(currentPosition?: Milliseconds | undefined): Map<Representation["id"], Segment[]>;
163
164
  getMpdSegmentDuration(): Milliseconds | undefined;
@@ -121,6 +121,7 @@ export declare class Player {
121
121
  private normalizeLiveOffset;
122
122
  private tick;
123
123
  private updateLive;
124
+ private hasNativeGapAhead;
124
125
  private jumpGap;
125
126
  /**
126
127
  * Возвращает duration в милисекундах.
@@ -242,9 +242,11 @@ export type ITuningConfig = {
242
242
  liveStallReinitInterval: Milliseconds;
243
243
  ignoreNetworkErrorsOnLoadInit: boolean;
244
244
  bufferTolerance: Milliseconds;
245
+ segmentEjectionTolerance: Milliseconds;
245
246
  useBufferQueueSegmentEndSelection: boolean;
246
247
  useBufferGapWatchdog: boolean;
247
248
  useNativeBufferGapWatchdog: boolean;
249
+ maxNativeGapJumpDuration: Milliseconds;
248
250
  useZeroAudioBufferLengthWhenAudioManagerExists: boolean;
249
251
  jumpToFirstNativeBufferFrame: boolean;
250
252
  minNativeBufferSize: Milliseconds;