@vkontakte/videoplayer-core 2.0.115-dev.4b123642.0 → 2.0.115-dev.c6f77ae4.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 +16 -9
- package/es2015.esm.js +16 -9
- package/es2018.cjs.js +16 -9
- package/es2018.esm.js +16 -9
- package/esnext.cjs.js +18 -11
- package/esnext.esm.js +18 -11
- package/evergreen.esm.js +16 -9
- package/package.json +2 -2
- package/types/providers/DashProvider/baseDashProvider.d.ts +0 -4
- package/types/providers/DashProvider/lib/parsers/ietf/index.d.ts +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer-core",
|
|
3
|
-
"version": "2.0.115-dev.
|
|
3
|
+
"version": "2.0.115-dev.c6f77ae4.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.47-dev.
|
|
52
|
+
"@vkontakte/videoplayer-shared": "1.0.47-dev.8c5a9beb.0",
|
|
53
53
|
"hls.js": "~1.4.7"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -39,10 +39,6 @@ export default abstract class BaseDashProvider implements IProvider {
|
|
|
39
39
|
protected audioStreamsMap: Map<Stream, IAudioTrack[]>;
|
|
40
40
|
protected videoTrackSwitchHistory: TrackHistory<IVideoTrack>;
|
|
41
41
|
protected audioTrackSwitchHistory: TrackHistory<import("../../player/types").IBaseTrack>;
|
|
42
|
-
protected textTracks: {
|
|
43
|
-
track: IInternalTextTrack;
|
|
44
|
-
representation: Representation;
|
|
45
|
-
}[];
|
|
46
42
|
protected liveOffset?: ILiveOffset;
|
|
47
43
|
constructor(params: IParams);
|
|
48
44
|
protected abstract seek(position: Milliseconds, forcePrecise: boolean): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** @fork https://github.com/sozialhelden/ietf-language-tags */
|
|
2
|
+
export interface ILanguageSubtag {
|
|
3
|
+
langtag?: string;
|
|
4
|
+
language?: string;
|
|
5
|
+
extlang?: string;
|
|
6
|
+
script?: string;
|
|
7
|
+
region?: string;
|
|
8
|
+
variants?: string[];
|
|
9
|
+
extensions?: Record<string, string>;
|
|
10
|
+
privateuse?: string;
|
|
11
|
+
}
|
|
12
|
+
/** @fork https://github.com/sozialhelden/ietf-language-tags */
|
|
13
|
+
export declare const parseLangAttribute: (attr: string) => ILanguageSubtag | null;
|