UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

47 lines (46 loc) 1.61 kB
import EncodingStreamInputDetails from './EncodingStreamInputDetails'; import StreamSelectionMode from './StreamSelectionMode'; /** * @export * @class StreamInput */ export declare class StreamInput { /** * ID of an Input resource defining the input storage. Required if 'inputStreamId' is not set. * @type {string} * @memberof StreamInput */ inputId?: string; /** * Path to an input media file. Required if 'inputStreamId' is not set. * @type {string} * @memberof StreamInput */ inputPath?: string; /** * Specifies the strategy for selecting a stream from the input file. Must not be set when 'inputStreamId' is set. * @type {StreamSelectionMode} * @memberof StreamInput */ selectionMode?: StreamSelectionMode; /** * Position of the stream to be selected from the input file (zero-based). Must not be set in combination with selectionMode 'AUTO', defaults to 0 for any other selectionMode. * @type {number} * @memberof StreamInput */ position?: number; /** * Set this property instead of all others to reference an InputStream resource (e.g. an Ingest-, Trimming- or ConcatenationInputStream) * @type {string} * @memberof StreamInput */ inputStreamId?: string; /** * Input analysis details This property is populated after the encoding has finished * @type {EncodingStreamInputDetails} * @memberof StreamInput */ analysisDetails?: EncodingStreamInputDetails; constructor(obj?: Partial<StreamInput>); } export default StreamInput;