@rendley/sdk 1.9.2 → 1.9.3
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.
|
@@ -120,6 +120,7 @@ export declare class Library {
|
|
|
120
120
|
addSubtitles(subtitles: Subtitles): string;
|
|
121
121
|
removeSubtitles(id: string): void;
|
|
122
122
|
getSubtitlesById(id: string): Subtitles | undefined;
|
|
123
|
+
getSubtitlesIds(): string[];
|
|
123
124
|
serialize(): {
|
|
124
125
|
subtitles: {
|
|
125
126
|
id: string;
|
|
@@ -26,7 +26,8 @@ export interface Control {
|
|
|
26
26
|
isRead: boolean;
|
|
27
27
|
}
|
|
28
28
|
export declare abstract class TranscodeProviderBase {
|
|
29
|
-
abstract
|
|
30
|
-
abstract
|
|
29
|
+
abstract supportsInput(mediaMetadata: MediaMetadata): Promise<boolean>;
|
|
30
|
+
abstract supportsOutput(outputType: SupportType): Promise<boolean>;
|
|
31
|
+
abstract supportsURLs(): Promise<boolean>;
|
|
31
32
|
abstract transcode(source: Uint8Array | URL, mediaMetadata: MediaMetadata, outputType: SupportType, control: Control, progressCallback?: (progressInfo: ProgressInfo) => void): Promise<TranscodeResult>;
|
|
32
33
|
}
|