@mediakind/mkplayer 1.3.0 → 1.4.1
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/alias/index.d.ts +2 -2
- package/classes/common/MKAzukiResponseUtils.d.ts +6 -1
- package/classes/common/MKPlatform.d.ts +5 -2
- package/classes/common/MKUtils.d.ts +1 -0
- package/classes/error/MKAdobeSessionConcurrencyError.d.ts +7 -0
- package/classes/error/index.d.ts +1 -0
- package/classes/player/MKBitmovinPlayer.d.ts +2 -4
- package/classes/player/MKPlayer.d.ts +5 -5
- package/classes/request/MKAdobeSessionConcurrencyRequest.d.ts +20 -0
- package/classes/request/MKAzukiRequest.d.ts +19 -6
- package/classes/request/MKHttpRequest.d.ts +7 -6
- package/classes/request/index.d.ts +1 -0
- package/constants/MKConstants.d.ts +1 -0
- package/enums/MKErrorCode.d.ts +0 -2
- package/enums/MKProgramRestrictionType.d.ts +10 -1
- package/interfaces/MKAdobePrimetimeConfig.d.ts +11 -0
- package/interfaces/MKAzukiConfig.d.ts +2 -2
- package/interfaces/MKFairplayDrmConfig.d.ts +3 -3
- package/interfaces/MKHttpRequestOptions.d.ts +4 -3
- package/interfaces/MKHttpResponse.d.ts +12 -0
- package/interfaces/MKPlayReadyDrmConfig.d.ts +2 -2
- package/interfaces/MKPlayerAPI.d.ts +2 -0
- package/interfaces/MKPlayerEngine.d.ts +1 -1
- package/interfaces/MKRegisteredSource.d.ts +3 -0
- package/interfaces/MKSessionConcurrencyAPI.d.ts +4 -0
- package/interfaces/MKSourceOptions.d.ts +2 -2
- package/interfaces/MKWidevineModularDrmConfig.d.ts +2 -2
- package/interfaces/{MKFMTSASiDEvent.d.ts → events/MKFMTSASiDEvent.d.ts} +1 -1
- package/interfaces/events/index.d.ts +1 -0
- package/interfaces/index.d.ts +4 -2
- package/mkplayer-ui.css +1 -2
- package/mkplayer.js +1 -1
- package/package.json +1 -1
package/alias/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type MKBitrate = string | number;
|
|
2
|
-
export type
|
|
2
|
+
export type MKHeaders = {
|
|
3
3
|
[key: string]: string;
|
|
4
4
|
};
|
|
5
|
-
export type
|
|
5
|
+
export type MKRequestBody = {
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
export type MKRequestQueryParams = {
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { MKHeaders, MKRequestQueryParams } from "../../alias";
|
|
1
2
|
import { MKDrmType, MKStreamType } from "../../enums";
|
|
2
|
-
import { MKProgramInfo, MKProgramRestrictions } from "../../interfaces";
|
|
3
|
+
import { MKProgramInfo, MKProgramRestrictions, MKRollInfo } from "../../interfaces";
|
|
3
4
|
export declare abstract class MKAzukiResponseUtils {
|
|
5
|
+
static getRollInfo(response: any, requestBaseUrl: string, queryParams: MKRequestQueryParams, requestHeaders: MKHeaders): MKRollInfo;
|
|
4
6
|
static getStreamType(response: any): MKStreamType;
|
|
5
7
|
static getDrmType(response: any): MKDrmType;
|
|
6
8
|
static getProgramRestrictions(response: any): MKProgramRestrictions;
|
|
7
9
|
static getProgramInfo(response: any): MKProgramInfo;
|
|
10
|
+
private static getDrmConfig;
|
|
11
|
+
private static getSourceUrls;
|
|
12
|
+
private static pluckPreferredCdn;
|
|
8
13
|
}
|
|
@@ -11,7 +11,7 @@ export declare abstract class MKPlatform {
|
|
|
11
11
|
private static isPlayStation5;
|
|
12
12
|
private static isPlayStation4;
|
|
13
13
|
private static isSafari;
|
|
14
|
-
|
|
14
|
+
static isIOSDevice(): boolean;
|
|
15
15
|
private static isIOSWebView;
|
|
16
16
|
private static isChrome;
|
|
17
17
|
private static isFirefox;
|
|
@@ -25,5 +25,8 @@ export declare abstract class MKPlatform {
|
|
|
25
25
|
private static isLinux;
|
|
26
26
|
private static isIOSFamily;
|
|
27
27
|
private static isChromeCast;
|
|
28
|
-
|
|
28
|
+
static isAndroid(): boolean;
|
|
29
|
+
static isTablet(): boolean;
|
|
30
|
+
static isPhone(): boolean;
|
|
31
|
+
static isDesktop(): boolean;
|
|
29
32
|
}
|
package/classes/error/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MKEventBase } from "../common";
|
|
2
2
|
import { MKBufferType, MKLogLevel, MKMediaType, MKTimeMode, MKViewMode } from "../../enums";
|
|
3
|
-
import { MKPlayerConfig, MKSourceConfig, MKLowLatencySyncConfig, MKBufferLevel, MKPlayerEngine, MKViewModeOptions, MKTimeRange, MKVideoQuality, MKAudioQuality, MKDownloadedVideoData, MKDownloadedAudioData, MKAudioTrack, MKSubtitleTrack, MKThumbnail } from "../../interfaces";
|
|
3
|
+
import { MKPlayerConfig, MKSourceConfig, MKLowLatencySyncConfig, MKBufferLevel, MKPlayerEngine, MKViewModeOptions, MKTimeRange, MKVideoQuality, MKAudioQuality, MKDownloadedVideoData, MKDownloadedAudioData, MKAudioTrack, MKSubtitleTrack, MKThumbnail, MKSourceOptions } from "../../interfaces";
|
|
4
4
|
export declare class MKBitmovinPlayer extends MKEventBase implements MKPlayerEngine {
|
|
5
5
|
private player;
|
|
6
6
|
private playerUI?;
|
|
@@ -68,6 +68,7 @@ export declare class MKBitmovinPlayer extends MKEventBase implements MKPlayerEng
|
|
|
68
68
|
isStalled(): boolean;
|
|
69
69
|
isViewModeAvailable(viewMode: MKViewMode): boolean;
|
|
70
70
|
load(sourceConfig: MKSourceConfig, disableSeeking?: boolean): Promise<void>;
|
|
71
|
+
reload(start: string, sourceOptions?: MKSourceOptions): Promise<void>;
|
|
71
72
|
mute(issuer?: string): void;
|
|
72
73
|
pause(issuer?: string): void;
|
|
73
74
|
play(issuer?: string): Promise<void>;
|
|
@@ -78,9 +79,6 @@ export declare class MKBitmovinPlayer extends MKEventBase implements MKPlayerEng
|
|
|
78
79
|
setAspectRatio(aspectratio: string | number): void;
|
|
79
80
|
setAudio(trackID: string): void;
|
|
80
81
|
setAudioQuality(audioQualityID: string): void;
|
|
81
|
-
setAuthorizationToken(_authorizationToken: string): void;
|
|
82
|
-
setInhomeStatus(_inhomeStatus: boolean): void;
|
|
83
|
-
setLocationDetail(_locationDetail: string): void;
|
|
84
82
|
setLogLevel(level: MKLogLevel): void;
|
|
85
83
|
setPlaybackSpeed(speed: number): void;
|
|
86
84
|
setPosterImage(url: string, keepPersistent: boolean): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MKEventBase } from "../common";
|
|
2
2
|
import { MKBufferType, MKLogLevel, MKMediaType, MKTimeMode, MKViewMode } from "../../enums";
|
|
3
|
-
import { MKAudioQuality, MKAudioTrack, MKBufferLevel, MKDownloadedAudioData, MKDownloadedVideoData, MKLowLatencySyncConfig, MKPlayerAPI, MKPlayerConfig, MKSourceConfig, MKSubtitleTrack, MKThumbnail, MKTimeRange, MKVideoQuality, MKViewModeOptions } from "../../interfaces";
|
|
3
|
+
import { MKAudioQuality, MKAudioTrack, MKBufferLevel, MKDownloadedAudioData, MKDownloadedVideoData, MKLowLatencySyncConfig, MKPlayerAPI, MKPlayerConfig, MKSourceConfig, MKSourceOptions, MKSubtitleTrack, MKThumbnail, MKTimeRange, MKVideoQuality, MKViewModeOptions } from "../../interfaces";
|
|
4
4
|
export declare class MKPlayer extends MKEventBase implements MKPlayerAPI {
|
|
5
5
|
private playerConfig;
|
|
6
6
|
private videoContainer;
|
|
@@ -10,8 +10,9 @@ export declare class MKPlayer extends MKEventBase implements MKPlayerAPI {
|
|
|
10
10
|
private sourceConfig?;
|
|
11
11
|
private thumbnailManager;
|
|
12
12
|
private programManager?;
|
|
13
|
-
private sessionBeaconTimer?;
|
|
14
13
|
private sourceLoaded;
|
|
14
|
+
private sessionManager?;
|
|
15
|
+
private adobeSessionConcurrencyRequest?;
|
|
15
16
|
constructor(videoContainer: HTMLElement, playerConfig: MKPlayerConfig);
|
|
16
17
|
addCastMetadata(metadata: any): boolean;
|
|
17
18
|
addSubtitle(subtitleTrack: MKSubtitleTrack): void;
|
|
@@ -60,6 +61,7 @@ export declare class MKPlayer extends MKEventBase implements MKPlayerAPI {
|
|
|
60
61
|
isStalled(): boolean;
|
|
61
62
|
isViewModeAvailable(viewMode: MKViewMode): boolean;
|
|
62
63
|
load(sourceConfig: MKSourceConfig, disableSeeking?: boolean): Promise<void>;
|
|
64
|
+
reload(start: string, sourceOptions?: MKSourceOptions): Promise<void>;
|
|
63
65
|
mute(issuer?: string): void;
|
|
64
66
|
pause(issuer?: string): void;
|
|
65
67
|
play(issuer?: string): Promise<void>;
|
|
@@ -99,7 +101,5 @@ export declare class MKPlayer extends MKEventBase implements MKPlayerAPI {
|
|
|
99
101
|
private unloadAndEmitErrorEvent;
|
|
100
102
|
private emitProgramRestrictionsEvent;
|
|
101
103
|
private loadSource;
|
|
102
|
-
private
|
|
103
|
-
private onBeaconNotificationError;
|
|
104
|
-
private cancelSessionBeaconNotifications;
|
|
104
|
+
private onSessionConcurrencyNotificationError;
|
|
105
105
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MKAdobePrimetimeConfig, MKError, MKSessionConcurrencyAPI } from "../../interfaces";
|
|
2
|
+
import { MKHttpRequest } from "./MKHttpRequest";
|
|
3
|
+
export declare class MKAdobeSessionConcurrencyRequest extends MKHttpRequest implements MKSessionConcurrencyAPI {
|
|
4
|
+
private static readonly DEFAULT_PRODUCTION_ENDPOINT;
|
|
5
|
+
private static readonly DEFAULT_STAGING_ENDPOINT;
|
|
6
|
+
private static readonly DEFAULT_TIMER_FREQUENCY;
|
|
7
|
+
private session;
|
|
8
|
+
private config;
|
|
9
|
+
private heartBeatTimer?;
|
|
10
|
+
private heartBeatFrequency;
|
|
11
|
+
private errorCallback?;
|
|
12
|
+
constructor(config: MKAdobePrimetimeConfig, errorCallback?: (error: MKError) => void);
|
|
13
|
+
startSession(): Promise<void>;
|
|
14
|
+
stopSession(): Promise<void>;
|
|
15
|
+
private notifyHeartBeat;
|
|
16
|
+
private scheduleHeartBeat;
|
|
17
|
+
private validateConfig;
|
|
18
|
+
private getRequestUrl;
|
|
19
|
+
private getRequestHeaders;
|
|
20
|
+
}
|
|
@@ -1,26 +1,39 @@
|
|
|
1
1
|
import { MKHttpRequest } from "./MKHttpRequest";
|
|
2
|
-
import { MKProgramInfo, MKSourceConfig, MKRollInfo } from "../../interfaces";
|
|
3
|
-
export declare class MKAzukiRequest extends MKHttpRequest {
|
|
2
|
+
import { MKProgramInfo, MKSourceConfig, MKRollInfo, MKSessionConcurrencyAPI, MKError } from "../../interfaces";
|
|
3
|
+
export declare class MKAzukiRequest extends MKHttpRequest implements MKSessionConcurrencyAPI {
|
|
4
4
|
private mediaId;
|
|
5
5
|
private ownerUid;
|
|
6
6
|
private sessionId;
|
|
7
7
|
private baseUrl;
|
|
8
8
|
private headers;
|
|
9
9
|
private isLive;
|
|
10
|
+
private beaconInterval;
|
|
10
11
|
private rightsMode;
|
|
11
12
|
private catchupStartTime?;
|
|
12
13
|
private localStorage;
|
|
13
|
-
private
|
|
14
|
+
private isDvrFromRollingBuffer;
|
|
15
|
+
private errorCallback?;
|
|
16
|
+
private beaconTimer?;
|
|
17
|
+
private adobePrimetimeConfig?;
|
|
14
18
|
static locationDetail?: string;
|
|
15
19
|
static inhomeStatus: boolean;
|
|
16
|
-
|
|
20
|
+
static responseTime: {
|
|
21
|
+
registration: number;
|
|
22
|
+
roll: number;
|
|
23
|
+
beacons: number;
|
|
24
|
+
query: number;
|
|
25
|
+
};
|
|
26
|
+
constructor(sourceConfig: MKSourceConfig, errorCallback?: (error: MKError) => void);
|
|
17
27
|
setAuthorizationToken(authorizationToken: string): void;
|
|
18
28
|
getBeaconInterval(): number;
|
|
19
29
|
registrationRequest(): Promise<void>;
|
|
20
30
|
rollRequest(): Promise<MKRollInfo>;
|
|
21
|
-
beaconRequest(isFinalBeacon?: boolean): Promise<void>;
|
|
22
31
|
programInfoRequest(startDate: string, endDate: string): Promise<MKProgramInfo[]>;
|
|
23
|
-
|
|
32
|
+
startSession(): Promise<void>;
|
|
33
|
+
stopSession(): Promise<void>;
|
|
34
|
+
private scheduleBeaconRequest;
|
|
35
|
+
private beaconRequest;
|
|
36
|
+
private pendingBeaconRequest;
|
|
24
37
|
private getRequestHeaders;
|
|
25
38
|
private saveBeaconData;
|
|
26
39
|
private clearBeaconData;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { MKHttpRequestOptions } from "../../interfaces";
|
|
1
|
+
import { MKHttpRequestOptions, MKHttpResponse } from "../../interfaces";
|
|
2
2
|
export declare class MKHttpRequest {
|
|
3
|
-
private
|
|
3
|
+
private xhrController;
|
|
4
4
|
constructor();
|
|
5
|
-
get(url: string, options?: MKHttpRequestOptions): Promise<
|
|
6
|
-
put(url: string, options?: MKHttpRequestOptions): Promise<
|
|
7
|
-
post(url: string, options?: MKHttpRequestOptions): Promise<
|
|
8
|
-
delete(url: string, options?: MKHttpRequestOptions): Promise<
|
|
5
|
+
get(url: string, options?: MKHttpRequestOptions): Promise<MKHttpResponse>;
|
|
6
|
+
put(url: string, options?: MKHttpRequestOptions): Promise<MKHttpResponse>;
|
|
7
|
+
post(url: string, options?: MKHttpRequestOptions): Promise<MKHttpResponse>;
|
|
8
|
+
delete(url: string, options?: MKHttpRequestOptions): Promise<MKHttpResponse>;
|
|
9
9
|
cancelRequest(): void;
|
|
10
10
|
private request;
|
|
11
|
+
private getAllResponseHeaders;
|
|
11
12
|
}
|
package/enums/MKErrorCode.d.ts
CHANGED
|
@@ -48,8 +48,6 @@ export declare enum MKErrorCode {
|
|
|
48
48
|
PLAYER_DRM_PLAYREADY_INVALID_HEADER_KEY_VALUE_PAIR = "4-74-2012",
|
|
49
49
|
PLAYER_DRM_RESTRICTED_OUTPUT = "4-74-2013",
|
|
50
50
|
PLAYER_DRM_INIT_DATA_MISSING = "4-74-2015",
|
|
51
|
-
PROGRAM_RESTRICTION_WIFI = "4-80-100",
|
|
52
|
-
PROGRAM_RESTRICTION_CELLULAR = "4-80-101",
|
|
53
51
|
PROGRAM_RESTRICTION_PHONE = "4-80-102",
|
|
54
52
|
PROGRAM_RESTRICTION_TABLET = "4-80-103",
|
|
55
53
|
PROGRAM_RESTRICTION_STB = "4-80-104",
|
|
@@ -6,5 +6,14 @@ export declare enum MKProgramRestrictionType {
|
|
|
6
6
|
SeekForward = "seekforward",
|
|
7
7
|
SeekBackward = "seekbackward",
|
|
8
8
|
Restart = "restart",
|
|
9
|
-
Timeshift = "timeshift"
|
|
9
|
+
Timeshift = "timeshift",
|
|
10
|
+
SeekSkip = "seekskip",
|
|
11
|
+
CatchUp = "catchup",
|
|
12
|
+
AndroidBlocked = "androidblocked",
|
|
13
|
+
IOSBlocked = "iosblocked",
|
|
14
|
+
PhoneBlocked = "phoneblocked",
|
|
15
|
+
TabletBlocked = "tabletblocked",
|
|
16
|
+
DesktopBlocked = "desktopblocked",
|
|
17
|
+
OutofhomeBlocked = "outofhomeblocked",
|
|
18
|
+
AirplayBlocked = "airplayblocked"
|
|
10
19
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MKHeaders } from "../alias";
|
|
2
2
|
import { MKHttpResponseType } from "../enums";
|
|
3
3
|
export interface MKFairplayDrmConfig {
|
|
4
4
|
LA_URL?: string;
|
|
5
5
|
certificateURL: string;
|
|
6
|
-
certificateHeaders?:
|
|
7
|
-
headers?:
|
|
6
|
+
certificateHeaders?: MKHeaders;
|
|
7
|
+
headers?: MKHeaders;
|
|
8
8
|
licenseResponseType?: MKHttpResponseType;
|
|
9
9
|
maxCertificateRequestRetries?: number;
|
|
10
10
|
maxLicenseRequestRetries?: number;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MKRequestBody, MKHeaders, MKRequestQueryParams } from "../alias";
|
|
2
2
|
export interface MKHttpRequestOptions {
|
|
3
3
|
timeout?: number;
|
|
4
|
-
headers?:
|
|
5
|
-
body?:
|
|
4
|
+
headers?: MKHeaders;
|
|
5
|
+
body?: MKRequestBody;
|
|
6
6
|
queryParams?: MKRequestQueryParams;
|
|
7
|
+
withCredentials?: boolean;
|
|
7
8
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MKHeaders } from "../alias";
|
|
2
|
+
export interface MKHttpResponse {
|
|
3
|
+
headers?: MKHeaders;
|
|
4
|
+
ok: boolean;
|
|
5
|
+
status: number;
|
|
6
|
+
statusText: string;
|
|
7
|
+
redirected?: boolean;
|
|
8
|
+
responseTime: number;
|
|
9
|
+
url: string;
|
|
10
|
+
json: <T>() => T;
|
|
11
|
+
text: () => Promise<string>;
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MKHeaders } from "../alias";
|
|
2
2
|
export interface MKPlayReadyDrmConfig {
|
|
3
3
|
LA_URL?: string;
|
|
4
4
|
customData?: string;
|
|
5
5
|
forceSSL?: boolean;
|
|
6
|
-
headers?:
|
|
6
|
+
headers?: MKHeaders;
|
|
7
7
|
licenseRequestRetryDelay?: number;
|
|
8
8
|
maxLicenseRequestRetries?: number;
|
|
9
9
|
plaintextChallenge?: boolean;
|
|
@@ -12,6 +12,7 @@ import { MKTimeRange } from "./MKTimeRange";
|
|
|
12
12
|
import { MKVideoQuality } from "./MKVideoQuality";
|
|
13
13
|
import { MKViewModeOptions } from "./MKViewModeOptions";
|
|
14
14
|
import { MKPlayerEvent, MKTimeMode, MKLogLevel, MKViewMode, MKBufferType, MKMediaType } from "../enums";
|
|
15
|
+
import { MKSourceOptions } from "./MKSourceOptions";
|
|
15
16
|
export interface MKPlayerAPI {
|
|
16
17
|
addCastMetadata(metadata: any): boolean;
|
|
17
18
|
addSubtitle(subtitleTrack: MKSubtitleTrack): void;
|
|
@@ -60,6 +61,7 @@ export interface MKPlayerAPI {
|
|
|
60
61
|
isStalled(): boolean;
|
|
61
62
|
isViewModeAvailable(viewMode: MKViewMode): boolean;
|
|
62
63
|
load(sourceConfig: MKSourceConfig, disableSeeking?: boolean): Promise<void>;
|
|
64
|
+
reload(start: string, sourceOptions?: MKSourceOptions): Promise<void>;
|
|
63
65
|
mute(issuer?: string): void;
|
|
64
66
|
on(eventType: MKPlayerEvent, callback: MKPlayerEventCallback): void;
|
|
65
67
|
off(eventType: MKPlayerEvent, callback: MKPlayerEventCallback): void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { MKAdobePrimetimeConfig } from "./MKAdobePrimetimeConfig";
|
|
1
2
|
import { MKAzukiConfig } from "./MKAzukiConfig";
|
|
2
3
|
export interface MKRegisteredSource {
|
|
3
4
|
mediaId: string;
|
|
5
|
+
adobePrimetimeConfig?: MKAdobePrimetimeConfig;
|
|
4
6
|
azukiConfig: MKAzukiConfig;
|
|
5
7
|
applicationToken?: string;
|
|
6
8
|
catchupStartTime?: string;
|
|
9
|
+
isDvrFromRollingBuffer?: boolean;
|
|
7
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MKHeaders } from "../alias";
|
|
2
2
|
import { MKStartOffsetTimelineReference } from "../enums";
|
|
3
3
|
import { MKPeriodInformation } from "./MKPeriodInformation";
|
|
4
4
|
export interface MKSourceOptions {
|
|
5
5
|
audioCodecPriority?: string[];
|
|
6
6
|
dashManifestWithCredentials?: boolean;
|
|
7
7
|
dashWithCredentials?: boolean;
|
|
8
|
-
headers?:
|
|
8
|
+
headers?: MKHeaders;
|
|
9
9
|
hlsManifestWithCredentials?: boolean;
|
|
10
10
|
hlsWithCredentials?: boolean;
|
|
11
11
|
manifestWithCredentials?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MKHeaders } from "../alias";
|
|
2
2
|
export interface MKWidevineModularDrmConfig {
|
|
3
3
|
LA_URL?: string;
|
|
4
4
|
audioRobustness?: string;
|
|
5
|
-
headers?:
|
|
5
|
+
headers?: MKHeaders;
|
|
6
6
|
licenseRequestRetryDelay?: number;
|
|
7
7
|
maxLicenseRequestRetries?: number;
|
|
8
8
|
prepareLicense?: ((licenseObject: any) => any);
|
|
@@ -28,6 +28,7 @@ export { MKDownloadFinishedEvent } from "./MKDownloadFinishedEvent";
|
|
|
28
28
|
export { MKDrmLicenseAddedEvent } from "./MKDrmLicenseAddedEvent";
|
|
29
29
|
export { MKDurationChangedEvent } from "./MKDurationChangedEvent";
|
|
30
30
|
export { MKErrorEvent } from "./MKErrorEvent";
|
|
31
|
+
export { MKFMTSASiDEvent } from "./MKFMTSASiDEvent";
|
|
31
32
|
export { MKLatencyModeChangedEvent } from "./MKLatencyModeChangedEvent";
|
|
32
33
|
export { MKMediaPlaybackQualityChangeEvent } from "./MKMediaPlaybackQualityChangeEvent";
|
|
33
34
|
export { MKMediaQualityChangeEvent } from "./MKMediaQualityChangeEvent";
|
package/interfaces/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ export * from "./events";
|
|
|
2
2
|
export { MKAdaptationConfig } from "./MKAdaptationConfig";
|
|
3
3
|
export { MKAdaptationData } from "./MKAdaptationData";
|
|
4
4
|
export { MKAdaptationPlatformConfig } from "./MKAdaptationPlatformConfig";
|
|
5
|
+
export { MKAdobePrimetimeConfig } from "./MKAdobePrimetimeConfig";
|
|
5
6
|
export { MKAnalyticsConfig } from "./MKAnalyticsConfig";
|
|
7
|
+
export { MKAdCompanion } from "./MKAdCompanion";
|
|
6
8
|
export { MKAudioAdaptationData } from "./MKAudioAdaptationData";
|
|
7
9
|
export { MKAudioQuality } from "./MKAudioQuality";
|
|
8
10
|
export { MKAudioTrack } from "./MKAudioTrack";
|
|
@@ -14,7 +16,6 @@ export { MKBufferMediaTypeConfig } from "./MKBufferMediaTypeConfig";
|
|
|
14
16
|
export { MKCastConfig } from "./MKCastConfig";
|
|
15
17
|
export { MKCdn } from "./MKCdn";
|
|
16
18
|
export { MKCdnOptions } from "./MKCdnOptions";
|
|
17
|
-
export { MKAdCompanion } from "./MKAdCompanion";
|
|
18
19
|
export { MKDownloadedAudioData } from "./MKDownloadedAudioData";
|
|
19
20
|
export { MKDownloadedData } from "./MKDownloadedData";
|
|
20
21
|
export { MKDownloadedVideoData } from "./MKDownloadedVideoData";
|
|
@@ -22,8 +23,8 @@ export { MKDrmConfig } from "./MKDrmConfig";
|
|
|
22
23
|
export { MKDrmLicense } from "./MKDrmLicense";
|
|
23
24
|
export { MKError } from "./MKError";
|
|
24
25
|
export { MKFairplayDrmConfig } from "./MKFairplayDrmConfig";
|
|
25
|
-
export { MKFMTSASiDEvent } from "./MKFMTSASiDEvent";
|
|
26
26
|
export { MKHttpRequestOptions } from "./MKHttpRequestOptions";
|
|
27
|
+
export { MKHttpResponse } from "./MKHttpResponse";
|
|
27
28
|
export { MKImageMediaPlaylist } from "./MKImageMediaPlaylist";
|
|
28
29
|
export { MKLiveConfig } from "./MKLiveConfig";
|
|
29
30
|
export { MKLogConfig } from "./MKLogConfig";
|
|
@@ -51,6 +52,7 @@ export { MKQuality } from "./MKQuality";
|
|
|
51
52
|
export { MKQualityMetadata } from "./MKQualityMetadata";
|
|
52
53
|
export { MKRegisteredSource } from "./MKRegisteredSource";
|
|
53
54
|
export { MKRollInfo } from "./MKRollInfo";
|
|
55
|
+
export { MKSessionConcurrencyAPI } from "./MKSessionConcurrencyAPI";
|
|
54
56
|
export { MKSourceConfig } from "./MKSourceConfig";
|
|
55
57
|
export { MKSourceLabelingConfig } from "./MKSourceLabelingConfig";
|
|
56
58
|
export { MKSourceLabelingStreamTypeConfig } from "./MKSourceLabelingStreamTypeConfig";
|