@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
43 lines (42 loc) • 1.25 kB
TypeScript
import BitmovinResource from './BitmovinResource';
import EncodingOutput from './EncodingOutput';
import SidecarErrorMode from './SidecarErrorMode';
import SidecarFileType from './SidecarFileType';
import WebVttSidecarFile from './WebVttSidecarFile';
export type SidecarFileUnion = WebVttSidecarFile;
/**
* A file that is added to an encoding. The size limit for a sidecar file is 10 MB
* @export
* @class SidecarFile
*/
export declare class SidecarFile extends BitmovinResource {
protected static readonly _discriminatorName = "type";
protected static readonly _discriminatorMapping: {
[key in keyof typeof SidecarFileType]: string;
};
/**
* Id of input (required)
* @type {string}
* @memberof SidecarFile
*/
inputId?: string;
/**
* Path to sidecar file (required)
* @type {string}
* @memberof SidecarFile
*/
inputPath?: string;
/**
* @type {EncodingOutput[]}
* @memberof SidecarFile
*/
outputs?: EncodingOutput[];
/**
* This defines how errors should be handled
* @type {SidecarErrorMode}
* @memberof SidecarFile
*/
errorMode?: SidecarErrorMode;
constructor(obj?: Partial<SidecarFile>);
}
export default SidecarFile;