@vkontakte/videoplayer-core 2.0.141-dev.c0dc5218.0 → 2.0.141-dev.dab53c4d.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.141-dev.c0dc5218.0",
3
+ "version": "2.0.141-dev.dab53c4d.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -54,6 +54,6 @@
54
54
  "**/*.d.ts"
55
55
  ],
56
56
  "dependencies": {
57
- "@vkontakte/videoplayer-shared": "1.0.69-dev.c0dc5218.0"
57
+ "@vkontakte/videoplayer-shared": "1.0.69-dev.dab53c4d.0"
58
58
  }
59
59
  }
@@ -0,0 +1,3 @@
1
+ export declare const DASH_LIVE_UPDATE_INTERVAL_MS = 1000;
2
+ export declare const DASH_STALL_UPDATE_INTERVAL_MS = 50;
3
+ export declare const DASH_LIVE_STALL_REINIT_INTERVAL_MS = 2000;
@@ -80,7 +80,6 @@ export declare class Player {
80
80
  updateManifest: () => Promise<Manifest | null | undefined>;
81
81
  setSmartRepresentationSwitch(state: boolean): void;
82
82
  seekLive(nextOffset: Milliseconds): Promise<void>;
83
- private stopStallWatchdogSubscription;
84
83
  initRepresentations: (param_0: string, param_1: string | undefined, param_2: import("../../../player/types").URLSource | undefined) => Promise<void | undefined>;
85
84
  initBuffer(): void;
86
85
  switchRepresentation(kind: StreamKind, id: Representation['id'], dropBuffer?: boolean): Promise<void>;
@@ -113,13 +113,8 @@ export type ITuningConfig = {
113
113
  usePersistentGaps: boolean;
114
114
  abrThrottle: number;
115
115
  useVideoElementWaitingCurrentTimeReassign: boolean;
116
- stallWatchdogInterval: Milliseconds;
117
- livePauseWatchdogInterval: Milliseconds;
118
- liveStallReinitInterval: Milliseconds;
119
116
  };
120
117
  dashCmafLive: {
121
- externalStopControl: boolean;
122
- stopStallWatchdogWhenNotActive: boolean;
123
118
  maxActiveLiveOffset: Milliseconds;
124
119
  normalizedTargetMinBufferSize: Milliseconds;
125
120
  normalizedLiveMinBufferSize: Milliseconds;
@@ -1,2 +0,0 @@
1
- export declare const activeLiveMpd = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><MPD xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"urn:mpeg:dash:schema:mpd:2011\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd\" profiles=\"urn:mpeg:dash:profile:isoff-live:2011\" type=\"dynamic\" minBufferTime=\"PT2S\" minimumUpdatePeriod=\"PT1S\" timeShiftBufferDepth=\"PT2M\" suggestedPresentationDelay=\"PT5S\" publishTime=\"2025-09-11T14:27:22Z\" availabilityStartTime=\"2025-09-11T14:12:58Z\"><ServiceDescription id=\"1\"><Scope schemeIdUri=\"urn:dvb:dash:lowlatency:scope:2019\"/><Latency min=\"10146\" max=\"20292\" target=\"12682\"/><PlaybackRate min=\"0.9\" max=\"1.1\"/></ServiceDescription><vk:Attrs xmlns:vk=\"https://vk.com/video_ondemand_live.xsd\"><vk:XLatestSegmentPublishTime>2025-09-11T14:27:22Z</vk:XLatestSegmentPublishTime><vk:XStreamIsLive>yes</vk:XStreamIsLive><vk:XStreamIsUnpublished>no</vk:XStreamIsUnpublished><vk:XPlaybackDuration>236601</vk:XPlaybackDuration></vk:Attrs><Period id=\"period_b5152\" start=\"PT12M21.714S\" duration=\"PT20.082S\"><AdaptationSet id=\"0\" contentType=\"video\" segmentAlignment=\"true\" bitstreamSwitching=\"true\"><Representation id=\"video_lowest\" quality=\"lowest\" mimeType=\"video/mp4\" codecs=\"avc1.42001e\" bandwidth=\"409600\" width=\"424\" height=\"240\"><SegmentTemplate timescale=\"16000\" startNumber=\"24\" presentationTimeOffset=\"1827728\" initialization=\"CPPXmPS7rQIQgH0YAjIICgYIqAMQ8AFaBBACKBfwAaKQn8mTM8ACAcgCAc3gHr85_SGR/i0.v.m4s\" media=\"CPPXmPS7rQIQgH0YAjIICgYIqAMQ8AFaBBACKBfwAaKQn8mTM8ACAcgCAc3gHr85_SGR/t$Time$.v.m4s\"><SegmentTimeline><S d=\"80112\" t=\"1909152\"/><S d=\"80144\"/><S d=\"79632\"/></SegmentTimeline></SegmentTemplate></Representation></AdaptationSet><AdaptationSet id=\"1\" contentType=\"audio\" segmentAlignment=\"true\" bitstreamSwitching=\"true\"><Representation id=\"audio_lowest\" quality=\"lowest\" mimeType=\"audio/mp4\" codecs=\"mp4a.40.2\" bandwidth=\"65536\" audioSamplingRate=\"44100\"><SegmentTemplate timescale=\"44100\" startNumber=\"24\" presentationTimeOffset=\"5038080\" initialization=\"CPPXmPS7rQIQxNgCIAI6BAjE2AJiAggIwAIByAIB979CQFYRchw/i0.a.m4s\" media=\"CPPXmPS7rQIQxNgCIAI6BAjE2AJiAggIwAIByAIB979CQFYRchw/t$Time$.a.m4s\"><SegmentTimeline><S d=\"221184\" r=\"1\" t=\"5262336\"/><S d=\"219136\"/></SegmentTimeline></SegmentTemplate></Representation></AdaptationSet></Period></MPD>";
2
- export declare const interruptedLiveMpd = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><MPD xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"urn:mpeg:dash:schema:mpd:2011\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd\" profiles=\"urn:mpeg:dash:profile:isoff-live:2011\" type=\"dynamic\" minBufferTime=\"PT2S\" minimumUpdatePeriod=\"PT1S\" timeShiftBufferDepth=\"PT2M\" suggestedPresentationDelay=\"PT5S\" publishTime=\"2025-09-11T14:27:22Z\" availabilityStartTime=\"2025-09-11T14:12:58Z\"><ServiceDescription id=\"1\"><Scope schemeIdUri=\"urn:dvb:dash:lowlatency:scope:2019\"/><Latency min=\"10146\" max=\"20292\" target=\"12682\"/><PlaybackRate min=\"0.9\" max=\"1.1\"/></ServiceDescription><vk:Attrs xmlns:vk=\"https://vk.com/video_ondemand_live.xsd\"><vk:XLatestSegmentPublishTime>2025-09-11T14:27:22Z</vk:XLatestSegmentPublishTime><vk:XStreamIsLive>no</vk:XStreamIsLive><vk:XStreamIsUnpublished>no</vk:XStreamIsUnpublished><vk:XPlaybackDuration>236601</vk:XPlaybackDuration></vk:Attrs><Period id=\"period_b5152\" start=\"PT12M21.714S\" duration=\"PT20.082S\"><AdaptationSet id=\"0\" contentType=\"video\" segmentAlignment=\"true\" bitstreamSwitching=\"true\"><Representation id=\"video_lowest\" quality=\"lowest\" mimeType=\"video/mp4\" codecs=\"avc1.42001e\" bandwidth=\"409600\" width=\"424\" height=\"240\"><SegmentTemplate timescale=\"16000\" startNumber=\"24\" presentationTimeOffset=\"1827728\" initialization=\"CPPXmPS7rQIQgH0YAjIICgYIqAMQ8AFaBBACKBfwAaKQn8mTM8ACAcgCAc3gHr85_SGR/i0.v.m4s\" media=\"CPPXmPS7rQIQgH0YAjIICgYIqAMQ8AFaBBACKBfwAaKQn8mTM8ACAcgCAc3gHr85_SGR/t$Time$.v.m4s\"><SegmentTimeline><S d=\"80112\" t=\"1909152\"/><S d=\"80144\"/><S d=\"79632\"/></SegmentTimeline></SegmentTemplate></Representation></AdaptationSet><AdaptationSet id=\"1\" contentType=\"audio\" segmentAlignment=\"true\" bitstreamSwitching=\"true\"><Representation id=\"audio_lowest\" quality=\"lowest\" mimeType=\"audio/mp4\" codecs=\"mp4a.40.2\" bandwidth=\"65536\" audioSamplingRate=\"44100\"><SegmentTemplate timescale=\"44100\" startNumber=\"24\" presentationTimeOffset=\"5038080\" initialization=\"CPPXmPS7rQIQxNgCIAI6BAjE2AJiAggIwAIByAIB979CQFYRchw/i0.a.m4s\" media=\"CPPXmPS7rQIQxNgCIAI6BAjE2AJiAggIwAIByAIB979CQFYRchw/t$Time$.a.m4s\"><SegmentTimeline><S d=\"221184\" r=\"1\" t=\"5262336\"/><S d=\"219136\"/></SegmentTimeline></SegmentTemplate></Representation></AdaptationSet></Period></MPD>";