Class CreateOutputSRTSettings
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.CreateOutputSRTSettings
-
public class CreateOutputSRTSettings extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOutputSRTSettingsDestinations[]getDestinations()Get 转推的目标地址,当Mode为CALLER时必填,且只能填1组。LonggetLatency()Get 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。StringgetMode()Get SRT模式,可选[LISTENER|CALLER],默认为CALLER。StringgetPassphrase()Get 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。LonggetPbKeyLen()Get 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。LonggetPeerIdleTimeout()Get 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。LonggetPeerLatency()Get 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。LonggetRecvLatency()Get 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。StringgetStreamId()Get 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。voidsetDestinations(CreateOutputSRTSettingsDestinations[] Destinations)Set 转推的目标地址,当Mode为CALLER时必填,且只能填1组。voidsetLatency(Long Latency)Set 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。voidsetMode(String Mode)Set SRT模式,可选[LISTENER|CALLER],默认为CALLER。voidsetPassphrase(String Passphrase)Set 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。voidsetPbKeyLen(Long PbKeyLen)Set 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。voidsetPeerIdleTimeout(Long PeerIdleTimeout)Set 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。voidsetPeerLatency(Long PeerLatency)Set 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。voidsetRecvLatency(Long RecvLatency)Set 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。voidsetStreamId(String StreamId)Set 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateOutputSRTSettings
public CreateOutputSRTSettings()
-
CreateOutputSRTSettings
public 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.
-
-
Method Detail
-
getDestinations
public CreateOutputSRTSettingsDestinations[] getDestinations()
Get 转推的目标地址,当Mode为CALLER时必填,且只能填1组。- Returns:
- Destinations 转推的目标地址,当Mode为CALLER时必填,且只能填1组。
-
setDestinations
public void setDestinations(CreateOutputSRTSettingsDestinations[] Destinations)
Set 转推的目标地址,当Mode为CALLER时必填,且只能填1组。- Parameters:
Destinations- 转推的目标地址,当Mode为CALLER时必填,且只能填1组。
-
getStreamId
public String getStreamId()
Get 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。- Returns:
- StreamId 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
-
setStreamId
public void setStreamId(String StreamId)
Set 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。- Parameters:
StreamId- 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
-
getLatency
public Long getLatency()
Get 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。- Returns:
- Latency 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。
-
setLatency
public void setLatency(Long Latency)
Set 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。- Parameters:
Latency- 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。
-
getRecvLatency
public Long getRecvLatency()
Get 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。- Returns:
- RecvLatency 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
-
setRecvLatency
public void setRecvLatency(Long RecvLatency)
Set 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。- Parameters:
RecvLatency- 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。
-
getPeerLatency
public Long getPeerLatency()
Get 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。- Returns:
- PeerLatency 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
-
setPeerLatency
public void setPeerLatency(Long PeerLatency)
Set 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。- Parameters:
PeerLatency- 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。
-
getPeerIdleTimeout
public Long getPeerIdleTimeout()
Get 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。- Returns:
- PeerIdleTimeout 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
-
setPeerIdleTimeout
public void setPeerIdleTimeout(Long PeerIdleTimeout)
Set 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。- Parameters:
PeerIdleTimeout- 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。
-
getPassphrase
public String getPassphrase()
Get 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。- Returns:
- Passphrase 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
-
setPassphrase
public void setPassphrase(String Passphrase)
Set 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。- Parameters:
Passphrase- 转推SRT的加密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
-
getPbKeyLen
public Long getPbKeyLen()
Get 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。- Returns:
- PbKeyLen 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。
-
setPbKeyLen
public void setPbKeyLen(Long PbKeyLen)
Set 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。- Parameters:
PbKeyLen- 转推SRT的密钥长度,默认为0,可选[0|16|24|32]。
-
getMode
public String getMode()
Get SRT模式,可选[LISTENER|CALLER],默认为CALLER。- Returns:
- Mode SRT模式,可选[LISTENER|CALLER],默认为CALLER。
-
setMode
public void setMode(String Mode)
Set SRT模式,可选[LISTENER|CALLER],默认为CALLER。- Parameters:
Mode- SRT模式,可选[LISTENER|CALLER],默认为CALLER。
-
-