@vkontakte/videoplayer-core 2.0.113-dev.a853d449.0 → 2.0.113-dev.cde1b449.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/es2015.cjs.js +11 -11
- package/es2015.esm.js +10 -10
- package/es2018.cjs.js +9 -9
- package/es2018.esm.js +9 -9
- package/esnext.cjs.js +21 -21
- package/esnext.esm.js +20 -20
- package/evergreen.esm.js +17 -17
- package/package.json +2 -2
- package/types/providers/DashProvider/lib/buffer.d.ts +3 -0
- package/types/providers/DashProvider/lib/types.d.ts +1 -0
- package/types/utils/VolumeMultiplierManager/VolumeMultiplierManager.d.ts +4 -2
- package/types/utils/tuningConfig.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer-core",
|
|
3
|
-
"version": "2.0.113-dev.
|
|
3
|
+
"version": "2.0.113-dev.cde1b449.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.
|
|
52
|
+
"@vkontakte/videoplayer-shared": "^1.0.44",
|
|
53
53
|
"hls.js": "~1.4.7"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -46,6 +46,8 @@ export declare class BufferManager {
|
|
|
46
46
|
private gapDetectionIdleCallback;
|
|
47
47
|
private initLoadIdleCallback;
|
|
48
48
|
private failedDownloads;
|
|
49
|
+
private failoverUrls;
|
|
50
|
+
private failoverUrlsIndex;
|
|
49
51
|
private compatibilityMode;
|
|
50
52
|
private preloadOnly;
|
|
51
53
|
private bufferAccumulation;
|
|
@@ -80,6 +82,7 @@ export declare class BufferManager {
|
|
|
80
82
|
private selectForwardBufferSegmentsRecord;
|
|
81
83
|
private loadSegments;
|
|
82
84
|
private loadTemplateSegment;
|
|
85
|
+
private updateRepresentationsBaseUrlIfNeeded;
|
|
83
86
|
private loadByteRangeSegments;
|
|
84
87
|
private prepareByteRangeFetchSegmentParams;
|
|
85
88
|
private prepareTemplateFetchSegmentParams;
|
|
@@ -6,12 +6,14 @@ export declare class VolumeMultiplierManager {
|
|
|
6
6
|
private provider$;
|
|
7
7
|
private volumeMultiplierError$;
|
|
8
8
|
private volumeMultiplier;
|
|
9
|
+
/** флаг, подтверждающий, что мы смогли активировать аудио контекс */
|
|
10
|
+
private audioContextInit;
|
|
9
11
|
private static errorId;
|
|
10
12
|
private subscriptions;
|
|
11
13
|
private lastAudioContextResumeId;
|
|
12
|
-
constructor(providerOutput: IProviderOutput, provider$: IValueSubject<IProviderEntry>, volumeMultiplierError$: ISubject<IError>, volumeMultiplier: number
|
|
14
|
+
constructor(providerOutput: IProviderOutput, provider$: IValueSubject<IProviderEntry>, volumeMultiplierError$: ISubject<IError>, volumeMultiplier: number);
|
|
13
15
|
private subscribe;
|
|
14
|
-
|
|
16
|
+
static isSupported(): boolean;
|
|
15
17
|
private initAudioContextOnce;
|
|
16
18
|
destroy(): void;
|
|
17
19
|
}
|
|
@@ -64,6 +64,8 @@ export type ITuningConfig = {
|
|
|
64
64
|
enableSubSegmentBufferFeeding: boolean;
|
|
65
65
|
bufferEmptinessTolerance: Milliseconds;
|
|
66
66
|
useFetchPriorityHints: boolean;
|
|
67
|
+
enableBaseUrlSupport: boolean;
|
|
68
|
+
maxSegmentRetryCount: number;
|
|
67
69
|
};
|
|
68
70
|
dashCmafLive: {
|
|
69
71
|
maxActiveLiveOffset: Milliseconds;
|