@vkontakte/videoplayer-core 2.0.148 → 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 +58 -54
- package/es2024.esm.js +50 -46
- package/esnext.cjs.js +58 -54
- package/esnext.esm.js +50 -46
- package/evergreen.esm.js +44 -40
- package/package.json +2 -2
- package/types/player/Player.d.ts +3 -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/DashProviderNew/lib/fetcher.d.ts +0 -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/decodingInfoLogger.d.ts +1 -0
- package/types/utils/playerOptions.d.ts +2 -0
- package/types/utils/tuningConfig.d.ts +18 -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;
|
|
@@ -119,6 +121,8 @@ export type ITuningConfig = {
|
|
|
119
121
|
liveUpdateInterval: Milliseconds;
|
|
120
122
|
liveStallReinitInterval: Milliseconds;
|
|
121
123
|
ignoreNetworkErrorsOnLoadInit: boolean;
|
|
124
|
+
bufferTolerance: Milliseconds;
|
|
125
|
+
actionTimeShiftFromSegment: Milliseconds;
|
|
122
126
|
};
|
|
123
127
|
dashCmafLive: {
|
|
124
128
|
externalStopControl: boolean;
|
|
@@ -172,6 +176,7 @@ export type ITuningConfig = {
|
|
|
172
176
|
formatsToAvoid: VideoFormat[];
|
|
173
177
|
disableChromecast: boolean;
|
|
174
178
|
chromecastReceiverId: string | undefined;
|
|
179
|
+
chromecastPresentationApi: boolean;
|
|
175
180
|
/** @deprecated */
|
|
176
181
|
useWebmBigRequest: boolean;
|
|
177
182
|
webmCodec: WebmCodecStrategy;
|
|
@@ -198,6 +203,8 @@ export type ITuningConfig = {
|
|
|
198
203
|
useNativeHLSTextTracks: boolean;
|
|
199
204
|
useNewSwitchTo: boolean;
|
|
200
205
|
useNewDashProvider: boolean;
|
|
206
|
+
useDashProviderVirtual: boolean;
|
|
207
|
+
useDashProviderVirtualMobile: boolean;
|
|
201
208
|
useNewAutoSelectVideoTrack: boolean;
|
|
202
209
|
useSafariEndlessRequestBugfix: boolean;
|
|
203
210
|
isAudioDisabled: boolean;
|
|
@@ -251,6 +258,17 @@ export type ITuningConfig = {
|
|
|
251
258
|
*/
|
|
252
259
|
changePlaybackStateToPausedWhenEnded?: boolean;
|
|
253
260
|
suppressExceptionsInObservables?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Включает логирование devNull.
|
|
263
|
+
*/
|
|
264
|
+
devNullLogEnabled?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Включает сбор данных о кодеках.
|
|
267
|
+
*/
|
|
268
|
+
collectingDecodingInfoEnabled?: boolean;
|
|
269
|
+
sendDashLiveDebug?: boolean;
|
|
270
|
+
logDashLiveDebug?: boolean;
|
|
271
|
+
useInvalidBufferFix?: boolean;
|
|
254
272
|
};
|
|
255
273
|
export type IOptionalTuningConfig = RecursivePartial<ITuningConfig> & {
|
|
256
274
|
configName: ITuningConfig['configName'];
|