@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
35 lines (34 loc) • 1.21 kB
TypeScript
import InputStream from './InputStream';
import InputStreamType from './InputStreamType';
/**
* @export
* @class TimeBasedTrimmingInputStream
*/
export declare class TimeBasedTrimmingInputStream extends InputStream {
/**
* Discriminator property for InputStream
* @type {string}
* @memberof TimeBasedTrimmingInputStream
*/
readonly type: InputStreamType;
/**
* The id of the ingest input stream that should be trimmed
* @type {string}
* @memberof TimeBasedTrimmingInputStream
*/
inputStreamId?: string;
/**
* Defines the offset in seconds at which the encoding should start, beginning at 0. The frame indicated by this value will be included in the encoding
* @type {number}
* @memberof TimeBasedTrimmingInputStream
*/
offset?: number;
/**
* Defines how many seconds of the input will be encoded. Not defining or setting it to null indicates that the remaining input (considering offset) will be encoded.
* @type {number}
* @memberof TimeBasedTrimmingInputStream
*/
duration?: number;
constructor(obj?: Partial<TimeBasedTrimmingInputStream>);
}
export default TimeBasedTrimmingInputStream;