UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

119 lines (118 loc) 4.18 kB
import LiveEncodingCodec from './LiveEncodingCodec'; import MediaType from './MediaType'; /** * @export * @class StreamInfosDetails */ export declare class StreamInfosDetails { /** * The id of the stream (required) * @type {string} * @memberof StreamInfosDetails */ id?: string; /** * The media type of the stream (required) * @type {MediaType} * @memberof StreamInfosDetails */ mediaType?: MediaType; /** * The width of the stream, if it is a video stream * @type {number} * @memberof StreamInfosDetails */ width?: number; /** * The height of the stream, if it is a video stream * @type {number} * @memberof StreamInfosDetails */ height?: number; /** * The rate (sample rate / fps) of the stream (required) * @type {number} * @memberof StreamInfosDetails */ rate?: number; /** * The codec of the input stream (required) * @type {LiveEncodingCodec} * @memberof StreamInfosDetails */ codec?: LiveEncodingCodec; /** * The minimum samples read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ samplesReadPerSecondMin?: number; /** * The maximum samples read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ samplesReadPerSecondMax?: number; /** * The average samples read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ samplesReadPerSecondAvg?: number; /** * The minimum amount of backup samples used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ samplesBackupPerSecondMin?: number; /** * The maximum amount of backup samples used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ samplesBackupPerSecondMax?: number; /** * The average amount of backup samples used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ samplesBackupPerSecondAvg?: number; /** * The minimum bytes read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ bytesReadPerSecondMin?: number; /** * The maximum bytes read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ bytesReadPerSecondMax?: number; /** * The average bytes read per second within the last minute (required) * @type {number} * @memberof StreamInfosDetails */ bytesReadPerSecondAvg?: number; /** * The minimum amount of backup bytes used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ bytesBackupPerSecondMin?: number; /** * The maximum amount of backup bytes used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ bytesBackupPerSecondMax?: number; /** * The average amount of backup bytes used per second within the last minute. This will be written when no live stream is ingested. The last picture will be repeated with silent audio. (required) * @type {number} * @memberof StreamInfosDetails */ bytesBackupPerSecondAvg?: number; constructor(obj?: Partial<StreamInfosDetails>); } export default StreamInfosDetails;