@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
66 lines (65 loc) • 1.94 kB
TypeScript
import BackupSrtInputs from './BackupSrtInputs';
import Input from './Input';
import InputType from './InputType';
import SrtMode from './SrtMode';
/**
* @export
* @class SrtInput
*/
export declare class SrtInput extends Input {
/**
* Discriminator property for Input
* @type {string}
* @memberof SrtInput
*/
readonly type: InputType;
/**
* The SRT mode to use (required)
* @type {SrtMode}
* @memberof SrtInput
*/
mode?: SrtMode;
/**
* The name or IP of the host providing the SRT stream (only used in CALLER mode)
* @type {string}
* @memberof SrtInput
*/
host?: string;
/**
* The port to connect to or listen on. Has to be one of [2088, 2089, 2090, 2091] when using LISTENER mode. (required)
* @type {number}
* @memberof SrtInput
*/
port?: number;
/**
* The path parameter of the SRT stream
* @type {string}
* @memberof SrtInput
*/
path?: string;
/**
* The maximum accepted transmission latency in milliseconds (when both parties set different values, the maximum of the two is used for both)
* @type {number}
* @memberof SrtInput
*/
latency?: number;
/**
* The passphrase used to secure the SRT stream. For AES-128 encryption, you must enter a 16-character passphrase; for AES-256, you must enter a 32-character passphrase
* @type {string}
* @memberof SrtInput
*/
passphrase?: string;
/**
* The type of AES encryption determines the length of the key (passphrase). AES-128 uses a 16-character (128-bit) passphrase, and AES-256 uses a 32-character (256-bit) passphrase.
* @type {number}
* @memberof SrtInput
*/
keyLength?: number;
/**
* @type {BackupSrtInputs}
* @memberof SrtInput
*/
backupSrtInputs?: BackupSrtInputs;
constructor(obj?: Partial<SrtInput>);
}
export default SrtInput;