BitmovinApiSdk\Models\SrtInput
Synopsis
class SrtInput
extends Input
{
- // members
- public SrtMode $mode;
- public string $host;
- public int $port;
- public string $path;
- public int $latency;
- public string $passphrase;
- public int $keyLength;
- public BackupSrtInputs $backupSrtInputs;
- // Inherited members from Input
- public static string $discriminatorName;
- public static array $discriminatorMapping;
- // Inherited members from BitmovinResource
- public string $name;
- public string $description;
- public Carbon $createdAt;
- public Carbon $modifiedAt;
- public mixed $customData;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this mode()
- public $this host()
- public $this port()
- public $this path()
- public $this latency()
- public $this passphrase()
- public $this keyLength()
- public $this backupSrtInputs()
- // Inherited methods from Input
- public void __construct()
- // Inherited methods from BitmovinResource
- public void __construct()
- public $this name()
- public $this description()
- public $this customData()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Extends
Members
public
- $backupSrtInputs — \BitmovinApiSdk\Models\BackupSrtInputs
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $host — string
- $id — string
- $keyLength — int
- $latency — int
- $mode — BitmovinApiSdk\Models\SrtMode
- $modifiedAt — Carbon\Carbon
- $name — string
- $passphrase — string
- $path — string
- $port — int
Methods
public
- __construct()
- backupSrtInputs() — backupSrtInputs
- host() — The name or IP of the host providing the SRT stream (only used in CALLER mode)
- keyLength() — 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.
- latency() — The maximum accepted transmission latency in milliseconds (when both parties set different values, the maximum of the two is used for both)
- mode() — The SRT mode to use (required)
- passphrase() — 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
- path() — The path parameter of the SRT stream
- port() — The port to connect to or listen on. Has to be one of [2088, 2089, 2090, 2091] when using LISTENER mode. (required)
Inherited from BitmovinApiSdk\Models\BitmovinResource
public
- customData() — User-specific meta data. This can hold anything.
- description() — Description of the resource. Can be freely chosen by the user.
- name() — Name of the resource. Can be freely chosen by the user.