@vkontakte/videoplayer-core 2.0.111-dev.2c18acf4.0 → 2.0.111-dev.3da97999.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.111-dev.2c18acf4.0",
3
+ "version": "2.0.111-dev.3da97999.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.43-dev.6b20a06d.0",
52
+ "@vkontakte/videoplayer-shared": "^1.0.42",
53
53
  "hls.js": "~1.4.7"
54
54
  }
55
55
  }
@@ -1,7 +1,7 @@
1
1
  import { ITuningConfig } from '../../../utils/tuningConfig';
2
2
  import { IError, IRange, ISubject, IValueSubject, Milliseconds } from '@vkontakte/videoplayer-shared';
3
3
  import type { Fetcher } from './fetcher';
4
- import { CommonInit, Manifest, Representation, Stream, StreamKind } from './types';
4
+ import { CommonInit, Manifest, Representation, StreamKind, Stream } from './types';
5
5
  export interface Dependencies {
6
6
  fetcher: Fetcher;
7
7
  tuning: ITuningConfig;
@@ -29,11 +29,12 @@ export declare class BufferManager {
29
29
  private segments;
30
30
  private allInitsLoaded;
31
31
  private activeSegments;
32
+ private bannedSegments;
32
33
  private mediaSource;
33
34
  private playingRepresentationId;
34
35
  private downloadingRepresentationId;
35
36
  private switchingToRepresentationId;
36
- private sourceBuffer;
37
+ sourceBuffer: SourceBuffer | null;
37
38
  private downloadAbortController;
38
39
  private destroyAbortController;
39
40
  private readonly getCurrentPosition;
@@ -90,6 +90,7 @@ export type ITuningConfig = {
90
90
  factor: number;
91
91
  max: Milliseconds;
92
92
  random: number;
93
+ maxRetryCount: number;
93
94
  };
94
95
  live: {
95
96
  minBuffer: Milliseconds;
@@ -133,6 +134,7 @@ export type ITuningConfig = {
133
134
  accumulationBufferStallSizeMs: Milliseconds;
134
135
  requestQuick: boolean;
135
136
  useHlsJs: boolean;
137
+ useDashAbortPartiallyFedSegment: boolean;
136
138
  useNativeHLSTextTracks: boolean;
137
139
  useManagedMediaSource: boolean;
138
140
  useNewPruneBufferStrategy: boolean;