Class CreateInputSRTSettings
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.CreateInputSRTSettings
-
public class CreateInputSRTSettings extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateInputSRTSettings()CreateInputSRTSettings(CreateInputSRTSettings 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 LonggetLatency()Get 延迟,默认0,单位ms,范围为[0, 3000]。StringgetMode()Get SRT模式,可选[LISTENER|CALLER],默认为LISTENER。StringgetPassphrase()Get 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。LonggetPbKeyLen()Get 密钥长度,默认为0,可选[0|16|24|32]。LonggetPeerIdleTimeout()Get 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。LonggetPeerLatency()Get 对端延迟,默认0,单位ms,范围为[0, 3000]。LonggetRecvLatency()Get 接收延迟,默认120,单位ms,范围为[0, 3000]。SRTSourceAddressReq[]getSourceAddresses()Get SRT对端地址,当Mode为CALLER时必填,且只能填1组。StringgetStreamId()Get 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。voidsetLatency(Long Latency)Set 延迟,默认0,单位ms,范围为[0, 3000]。voidsetMode(String Mode)Set SRT模式,可选[LISTENER|CALLER],默认为LISTENER。voidsetPassphrase(String Passphrase)Set 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。voidsetPbKeyLen(Long PbKeyLen)Set 密钥长度,默认为0,可选[0|16|24|32]。voidsetPeerIdleTimeout(Long PeerIdleTimeout)Set 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。voidsetPeerLatency(Long PeerLatency)Set 对端延迟,默认0,单位ms,范围为[0, 3000]。voidsetRecvLatency(Long RecvLatency)Set 接收延迟,默认120,单位ms,范围为[0, 3000]。voidsetSourceAddresses(SRTSourceAddressReq[] SourceAddresses)Set SRT对端地址,当Mode为CALLER时必填,且只能填1组。voidsetStreamId(String StreamId)Set 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。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
-
CreateInputSRTSettings
public CreateInputSRTSettings()
-
CreateInputSRTSettings
public CreateInputSRTSettings(CreateInputSRTSettings 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
-
getMode
public String getMode()
Get SRT模式,可选[LISTENER|CALLER],默认为LISTENER。- Returns:
- Mode SRT模式,可选[LISTENER|CALLER],默认为LISTENER。
-
setMode
public void setMode(String Mode)
Set SRT模式,可选[LISTENER|CALLER],默认为LISTENER。- Parameters:
Mode- SRT模式,可选[LISTENER|CALLER],默认为LISTENER。
-
getStreamId
public String getStreamId()
Get 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。- Returns:
- StreamId 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。
-
setStreamId
public void setStreamId(String StreamId)
Set 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。- Parameters:
StreamId- 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。
-
getLatency
public Long getLatency()
Get 延迟,默认0,单位ms,范围为[0, 3000]。- Returns:
- Latency 延迟,默认0,单位ms,范围为[0, 3000]。
-
setLatency
public void setLatency(Long Latency)
Set 延迟,默认0,单位ms,范围为[0, 3000]。- Parameters:
Latency- 延迟,默认0,单位ms,范围为[0, 3000]。
-
getRecvLatency
public Long getRecvLatency()
Get 接收延迟,默认120,单位ms,范围为[0, 3000]。- Returns:
- RecvLatency 接收延迟,默认120,单位ms,范围为[0, 3000]。
-
setRecvLatency
public void setRecvLatency(Long RecvLatency)
Set 接收延迟,默认120,单位ms,范围为[0, 3000]。- Parameters:
RecvLatency- 接收延迟,默认120,单位ms,范围为[0, 3000]。
-
getPeerLatency
public Long getPeerLatency()
Get 对端延迟,默认0,单位ms,范围为[0, 3000]。- Returns:
- PeerLatency 对端延迟,默认0,单位ms,范围为[0, 3000]。
-
setPeerLatency
public void setPeerLatency(Long PeerLatency)
Set 对端延迟,默认0,单位ms,范围为[0, 3000]。- Parameters:
PeerLatency- 对端延迟,默认0,单位ms,范围为[0, 3000]。
-
getPeerIdleTimeout
public Long getPeerIdleTimeout()
Get 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。- Returns:
- PeerIdleTimeout 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。
-
setPeerIdleTimeout
public void setPeerIdleTimeout(Long PeerIdleTimeout)
Set 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。- Parameters:
PeerIdleTimeout- 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。
-
getPassphrase
public String getPassphrase()
Get 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。- Returns:
- Passphrase 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
-
setPassphrase
public void setPassphrase(String Passphrase)
Set 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。- Parameters:
Passphrase- 解密密钥,默认为空,表示不加密。只可填ascii码值,长度为[10, 79]。
-
getPbKeyLen
public Long getPbKeyLen()
Get 密钥长度,默认为0,可选[0|16|24|32]。- Returns:
- PbKeyLen 密钥长度,默认为0,可选[0|16|24|32]。
-
setPbKeyLen
public void setPbKeyLen(Long PbKeyLen)
Set 密钥长度,默认为0,可选[0|16|24|32]。- Parameters:
PbKeyLen- 密钥长度,默认为0,可选[0|16|24|32]。
-
getSourceAddresses
public SRTSourceAddressReq[] getSourceAddresses()
Get SRT对端地址,当Mode为CALLER时必填,且只能填1组。- Returns:
- SourceAddresses SRT对端地址,当Mode为CALLER时必填,且只能填1组。
-
setSourceAddresses
public void setSourceAddresses(SRTSourceAddressReq[] SourceAddresses)
Set SRT对端地址,当Mode为CALLER时必填,且只能填1组。- Parameters:
SourceAddresses- SRT对端地址,当Mode为CALLER时必填,且只能填1组。
-
-