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