public class SrtInput extends Input
Constructor and Description |
---|
SrtInput() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BackupSrtInputs |
getBackupSrtInputs()
Get backupSrtInputs
|
String |
getHost()
The name or IP of the host providing the SRT stream (only used in CALLER mode)
|
Integer |
getKeyLength()
The type of AES encryption determines the length of the key (passphrase).
|
Integer |
getLatency()
The maximum accepted transmission latency in milliseconds (when both parties set different values, the maximum of the two is used for both)
|
SrtMode |
getMode()
The SRT mode to use (required)
|
String |
getPassphrase()
The passphrase used to secure the SRT stream.
|
String |
getPath()
The path parameter of the SRT stream
|
Integer |
getPort()
The port to connect to or listen on.
|
int |
hashCode() |
void |
setBackupSrtInputs(BackupSrtInputs backupSrtInputs)
Set backupSrtInputs
|
void |
setHost(String host)
The name or IP of the host providing the SRT stream (only used in CALLER mode)
|
void |
setKeyLength(Integer keyLength)
The type of AES encryption determines the length of the key (passphrase).
|
void |
setLatency(Integer latency)
The maximum accepted transmission latency in milliseconds (when both parties set different values, the maximum of the two is used for both)
|
void |
setMode(SrtMode mode)
The SRT mode to use (required)
|
void |
setPassphrase(String passphrase)
The passphrase used to secure the SRT stream.
|
void |
setPath(String path)
The path parameter of the SRT stream
|
void |
setPort(Integer port)
The port to connect to or listen on.
|
String |
toString() |
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public SrtMode getMode()
public void setMode(SrtMode mode)
mode
- The SRT mode to use (required)public String getHost()
public void setHost(String host)
host
- The name or IP of the host providing the SRT stream (only used in CALLER mode)public Integer getPort()
public void setPort(Integer port)
port
- The port to connect to or listen on. Has to be one of [2088, 2089, 2090, 2091] when using LISTENER mode. (required)public String getPath()
public void setPath(String path)
path
- The path parameter of the SRT streampublic Integer getLatency()
public void setLatency(Integer latency)
latency
- The maximum accepted transmission latency in milliseconds (when both parties set different values, the maximum of the two is used for both)public String getPassphrase()
public void setPassphrase(String passphrase)
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 passphrasepublic Integer getKeyLength()
public void setKeyLength(Integer keyLength)
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.public BackupSrtInputs getBackupSrtInputs()
public void setBackupSrtInputs(BackupSrtInputs backupSrtInputs)
backupSrtInputs
- Copyright © 2022. All rights reserved.