@vkontakte/videoplayer-core 2.0.148-dev.f4244a7e.0 → 2.0.149-dev.a444d83a.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 +55 -51
- package/es2015.esm.js +53 -49
- package/es2018.cjs.js +53 -49
- package/es2018.esm.js +53 -49
- package/es2024.cjs.js +52 -48
- package/es2024.esm.js +55 -51
- package/esnext.cjs.js +52 -48
- package/esnext.esm.js +55 -51
- package/evergreen.esm.js +46 -42
- package/package.json +2 -2
- package/types/player/Player.d.ts +1 -0
- package/types/player/types.d.ts +7 -1
- package/types/providers/ChromecastPresentationApiProvider/ChromecastPresentationApiConnector.d.ts +124 -0
- package/types/providers/ChromecastPresentationApiProvider/ChromecastPresentationApiInitializer.d.ts +25 -0
- package/types/providers/ChromecastPresentationApiProvider/ChromecastPresentationApiProvider.d.ts +36 -0
- package/types/providers/ChromecastPresentationApiProvider/ProgressTicker.d.ts +11 -0
- package/types/providers/ChromecastPresentationApiProvider/index.d.ts +3 -0
- package/types/providers/ChromecastPresentationApiProvider/types.d.ts +49 -0
- package/types/providers/ChromecastPresentationApiProvider/utils.d.ts +4 -0
- package/types/providers/ChromecastProvider/ChromecastInitializer/index.d.ts +2 -10
- package/types/providers/ChromecastProvider/ChromecastInitializer/types.d.ts +8 -1
- package/types/providers/ChromecastProvider/index.d.ts +2 -10
- package/types/providers/ChromecastProvider/types.d.ts +8 -0
- package/types/providers/ChromecastProvider/utils.d.ts +2 -0
- package/types/providers/DashLiveProvider/utils/LiveDashPlayer.d.ts +1 -0
- package/types/providers/DashProvider/lib/fetcher.d.ts +0 -1
- package/types/providers/DashProvider/lib/sourceBufferTaskQueue.d.ts +2 -1
- package/types/providers/DashProviderNew/lib/fetcher.d.ts +0 -1
- package/types/providers/DashProviderNew/lib/sourceBufferTaskQueue.d.ts +2 -1
- package/types/providers/DashProviderVirtual/baseDashProvider.d.ts +61 -0
- package/types/providers/DashProviderVirtual/consts.d.ts +3 -0
- package/types/providers/DashProviderVirtual/dashCmafLiveProvider.d.ts +10 -0
- package/types/providers/DashProviderVirtual/dashProvider.d.ts +8 -0
- package/types/providers/DashProviderVirtual/index.d.ts +2 -0
- package/types/providers/DashProviderVirtual/lib/ElementSizeManager.d.ts +19 -0
- package/types/providers/DashProviderVirtual/lib/LiveTextManager.d.ts +23 -0
- package/types/providers/DashProviderVirtual/lib/buffer/nativeBufferManager.d.ts +19 -0
- package/types/providers/DashProviderVirtual/lib/buffer/sourceBufferTaskQueue.d.ts +19 -0
- package/types/providers/DashProviderVirtual/lib/buffer/types.d.ts +46 -0
- package/types/providers/DashProviderVirtual/lib/buffer/virtualBuffer/baseVirtualBufferManager.d.ts +93 -0
- package/types/providers/DashProviderVirtual/lib/buffer/virtualBuffer/byteRangeVirtualBufferManager.d.ts +21 -0
- package/types/providers/DashProviderVirtual/lib/buffer/virtualBuffer/liveVirtualBuffer.d.ts +27 -0
- package/types/providers/DashProviderVirtual/lib/buffer/virtualBuffer/templateVirtualBufferManager.d.ts +21 -0
- package/types/providers/DashProviderVirtual/lib/buffer/virtualBuffer/virtualBufferFactory.d.ts +6 -0
- package/types/providers/DashProviderVirtual/lib/fetcher.d.ts +63 -0
- package/types/providers/DashProviderVirtual/lib/player/basePlayer.d.ts +100 -0
- package/types/providers/DashProviderVirtual/lib/player/livePlayer.d.ts +36 -0
- package/types/providers/DashProviderVirtual/lib/player/player.d.ts +11 -0
- package/types/providers/DashProviderVirtual/lib/player/types.d.ts +17 -0
- package/types/providers/DashProviderVirtual/lib/types.d.ts +29 -0
- package/types/providers/DashProviderVirtual/lib/utils.d.ts +14 -0
- package/types/providers/types.d.ts +1 -0
- package/types/providers/utils/debug.d.ts +16 -0
- package/types/providers/utils/mergeIntervals.d.ts +3 -0
- package/types/providers/utils/parsers/types.d.ts +28 -7
- package/types/utils/ClientChecker/services/DeviceChecker.d.ts +19 -0
- package/types/utils/tuningConfig.d.ts +11 -0
|
@@ -95,6 +95,8 @@ export type ITuningConfig = {
|
|
|
95
95
|
minSafeBufferThreshold: number;
|
|
96
96
|
bufferPruningSafeZone: Milliseconds;
|
|
97
97
|
segmentRequestSize: Byte;
|
|
98
|
+
maxVirtualBufferSize: Byte;
|
|
99
|
+
virtualBufferPruneSize: Byte;
|
|
98
100
|
representationSwitchForwardBufferGap: Milliseconds;
|
|
99
101
|
crashOnStallTimeout: Milliseconds;
|
|
100
102
|
crashOnStallTWithoutDataTimeout: Milliseconds;
|
|
@@ -104,6 +106,7 @@ export type ITuningConfig = {
|
|
|
104
106
|
useDelayedRepresentationSwitch: boolean;
|
|
105
107
|
useSmartRepresentationSwitch: boolean;
|
|
106
108
|
useFetchPriorityHints: boolean;
|
|
109
|
+
useAbortMSEFix: boolean;
|
|
107
110
|
enableBaseUrlSupport: boolean;
|
|
108
111
|
maxSegmentRetryCount: number;
|
|
109
112
|
sourceOpenTimeout: number;
|
|
@@ -118,6 +121,8 @@ export type ITuningConfig = {
|
|
|
118
121
|
liveUpdateInterval: Milliseconds;
|
|
119
122
|
liveStallReinitInterval: Milliseconds;
|
|
120
123
|
ignoreNetworkErrorsOnLoadInit: boolean;
|
|
124
|
+
bufferTolerance: Milliseconds;
|
|
125
|
+
actionTimeShiftFromSegment: Milliseconds;
|
|
121
126
|
};
|
|
122
127
|
dashCmafLive: {
|
|
123
128
|
externalStopControl: boolean;
|
|
@@ -171,6 +176,7 @@ export type ITuningConfig = {
|
|
|
171
176
|
formatsToAvoid: VideoFormat[];
|
|
172
177
|
disableChromecast: boolean;
|
|
173
178
|
chromecastReceiverId: string | undefined;
|
|
179
|
+
chromecastPresentationApi: boolean;
|
|
174
180
|
/** @deprecated */
|
|
175
181
|
useWebmBigRequest: boolean;
|
|
176
182
|
webmCodec: WebmCodecStrategy;
|
|
@@ -197,6 +203,8 @@ export type ITuningConfig = {
|
|
|
197
203
|
useNativeHLSTextTracks: boolean;
|
|
198
204
|
useNewSwitchTo: boolean;
|
|
199
205
|
useNewDashProvider: boolean;
|
|
206
|
+
useDashProviderVirtual: boolean;
|
|
207
|
+
useDashProviderVirtualMobile: boolean;
|
|
200
208
|
useNewAutoSelectVideoTrack: boolean;
|
|
201
209
|
useSafariEndlessRequestBugfix: boolean;
|
|
202
210
|
isAudioDisabled: boolean;
|
|
@@ -258,6 +266,9 @@ export type ITuningConfig = {
|
|
|
258
266
|
* Включает сбор данных о кодеках.
|
|
259
267
|
*/
|
|
260
268
|
collectingDecodingInfoEnabled?: boolean;
|
|
269
|
+
sendDashLiveDebug?: boolean;
|
|
270
|
+
logDashLiveDebug?: boolean;
|
|
271
|
+
useInvalidBufferFix?: boolean;
|
|
261
272
|
};
|
|
262
273
|
export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
|
|
263
274
|
configName: ITuningConfig['configName'];
|