Skip to content

Commit

Permalink
Update common-media-library.api.md
Browse files Browse the repository at this point in the history
Signed-off-by: Agajan Jumakuliyev <agajan.tm@gmail.com>
  • Loading branch information
agajassi committed Feb 28, 2025
1 parent ffa5c48 commit 2757f37
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/config/common-media-library.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ export type CompositionTimeToSampleEntry = {
sampleOffset: number;
};

// @beta
export function concatInitDataIdAndCertificate(initData: Uint16Array, id: Uint16Array | string, cert: Uint8Array): Uint8Array;

// @alpha (undocumented)
export type ContentComponent = {
$: {
Expand Down Expand Up @@ -545,6 +548,9 @@ export type DecodedId3Frame<T> = {
info?: any;
};

// @beta
export function decodeFairPlayLicense(response: string | ArrayBuffer): Uint8Array;

// @beta
export function decodeIso8601Duration(isoDuration: string): number;

Expand Down Expand Up @@ -650,6 +656,9 @@ export type ExtendedLanguageBox = FullBox & {
extendedLanguage: string;
};

// @beta
export function extractContentId(initData: Uint16Array): string | null;

// @beta
export function extractCta608Data(raw: DataView, cta608Range: Array<number>): Array<Array<number>>;

Expand Down Expand Up @@ -703,6 +712,9 @@ export type FullBox = {
flags: number;
};

// @beta
export function getId(licenseServerUrl: string, initData: Uint16Array, queryParam?: string): string | null;

// Warning: (ae-internal-missing-underscore) The name "getId3Data" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal
Expand All @@ -714,6 +726,9 @@ export function getId3Frames(id3Data: Uint8Array): Id3Frame[];
// @beta
export function getId3Timestamp(data: Uint8Array): number | undefined;

// @beta
export function getLicenseServerUrl(initData: Uint16Array): string;

// @alpha
export function getTracksFromPresentation(presentation: Presentation, predicate?: (track: Track) => boolean): Track[];

Expand Down

0 comments on commit 2757f37

Please sign in to comment.