public class CreateOutputSrtSettings extends AbstractModel
Constructor and Description |
---|
CreateOutputSrtSettings() |
CreateOutputSrtSettings(CreateOutputSrtSettings source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
CreateOutputSrtSettingsDestinations[] |
getDestinations()
Get The relay destination address, which is required if `Mode` is `CALLER`.
|
Long |
getLatency()
Get The total latency (ms) of SRT relay.
|
String |
getMode()
Get The SRT mode.
|
String |
getPassphrase()
Get The encryption key for SRT relay, which is empty by default, indicating not to encrypt.
|
Long |
getPbKeyLen()
Get The key length for SRT relay.
|
Long |
getPeerIdleTimeout()
Get The timeout period (ms) for the SRT relay peer.
|
Long |
getPeerLatency()
Get The peer-to-peer latency (ms) of SRT relay.
|
Long |
getRecvLatency()
Get The receive latency (ms) of SRT relay.
|
String |
getStreamId()
Get The stream ID for relay, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).
|
void |
setDestinations(CreateOutputSrtSettingsDestinations[] Destinations)
Set The relay destination address, which is required if `Mode` is `CALLER`.
|
void |
setLatency(Long Latency)
Set The total latency (ms) of SRT relay.
|
void |
setMode(String Mode)
Set The SRT mode.
|
void |
setPassphrase(String Passphrase)
Set The encryption key for SRT relay, which is empty by default, indicating not to encrypt.
|
void |
setPbKeyLen(Long PbKeyLen)
Set The key length for SRT relay.
|
void |
setPeerIdleTimeout(Long PeerIdleTimeout)
Set The timeout period (ms) for the SRT relay peer.
|
void |
setPeerLatency(Long PeerLatency)
Set The peer-to-peer latency (ms) of SRT relay.
|
void |
setRecvLatency(Long RecvLatency)
Set The receive latency (ms) of SRT relay.
|
void |
setStreamId(String StreamId)
Set The stream ID for relay, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateOutputSrtSettings()
public CreateOutputSrtSettings(CreateOutputSrtSettings source)
public CreateOutputSrtSettingsDestinations[] getDestinations()
public void setDestinations(CreateOutputSrtSettingsDestinations[] Destinations)
Destinations
- The relay destination address, which is required if `Mode` is `CALLER`. Only one address is allowed.public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- The stream ID for relay, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).public Long getLatency()
public void setLatency(Long Latency)
Latency
- The total latency (ms) of SRT relay. Value range: [0, 3000]. Default: 0.public Long getRecvLatency()
public void setRecvLatency(Long RecvLatency)
RecvLatency
- The receive latency (ms) of SRT relay. Value range: [0, 3000]. Default: 120.public Long getPeerLatency()
public void setPeerLatency(Long PeerLatency)
PeerLatency
- The peer-to-peer latency (ms) of SRT relay. Value range: [0, 3000]. Default: 0.public Long getPeerIdleTimeout()
public void setPeerIdleTimeout(Long PeerIdleTimeout)
PeerIdleTimeout
- The timeout period (ms) for the SRT relay peer. Value range: [1000, 10000]. Default: 5000.public String getPassphrase()
public void setPassphrase(String Passphrase)
Passphrase
- The encryption key for SRT relay, which is empty by default, indicating not to encrypt. Only ASCII codes are allowed. Length: [10, 79].public Long getPbKeyLen()
public void setPbKeyLen(Long PbKeyLen)
PbKeyLen
- The key length for SRT relay. Valid values: 0 (default), 16, 24, 32.public String getMode()
public void setMode(String Mode)
Mode
- The SRT mode. Valid values: LISTENER, CALLER (default).Copyright © 2023. All rights reserved.