public class CreateOutputSRTSettings extends AbstractModel
header, skipSign
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 转推的目标地址,当Mode为CALLER时必填,且只能填1组。
|
Long |
getLatency()
Get 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。
|
String |
getMode()
Get SRT模式,可选[LISTENER|CALLER],默认为CALLER。
|
String |
getPassphrase()
Get 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
|
Long |
getPbKeyLen()
Get 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。
|
Long |
getPeerIdleTimeout()
Get 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
|
Long |
getPeerLatency()
Get 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
|
Long |
getRecvLatency()
Get 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
|
String |
getStreamId()
Get 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
|
void |
setDestinations(CreateOutputSRTSettingsDestinations[] Destinations)
Set 转推的目标地址,当Mode为CALLER时必填,且只能填1组。
|
void |
setLatency(Long Latency)
Set 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。
|
void |
setMode(String Mode)
Set SRT模式,可选[LISTENER|CALLER],默认为CALLER。
|
void |
setPassphrase(String Passphrase)
Set 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
|
void |
setPbKeyLen(Long PbKeyLen)
Set 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。
|
void |
setPeerIdleTimeout(Long PeerIdleTimeout)
Set 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
|
void |
setPeerLatency(Long PeerLatency)
Set 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
|
void |
setRecvLatency(Long RecvLatency)
Set 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
|
void |
setStreamId(String StreamId)
Set 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateOutputSRTSettings()
public CreateOutputSRTSettings(CreateOutputSRTSettings source)
public CreateOutputSRTSettingsDestinations[] getDestinations()
public void setDestinations(CreateOutputSRTSettingsDestinations[] Destinations)
Destinations
- 转推的目标地址,当Mode为CALLER时必填,且只能填1组。public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。public Long getLatency()
public void setLatency(Long Latency)
Latency
- 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。public Long getRecvLatency()
public void setRecvLatency(Long RecvLatency)
RecvLatency
- 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。public Long getPeerLatency()
public void setPeerLatency(Long PeerLatency)
PeerLatency
- 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。public Long getPeerIdleTimeout()
public void setPeerIdleTimeout(Long PeerIdleTimeout)
PeerIdleTimeout
- 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。public String getPassphrase()
public void setPassphrase(String Passphrase)
Passphrase
- 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。public Long getPbKeyLen()
public void setPbKeyLen(Long PbKeyLen)
PbKeyLen
- 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。public String getMode()
public void setMode(String Mode)
Mode
- SRT模式,可选[LISTENER|CALLER],默认为CALLER。Copyright © 2024. All rights reserved.