public class InputSettingInfo extends AbstractModel
Constructor and Description |
---|
InputSettingInfo() |
InputSettingInfo(InputSettingInfo 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 |
---|---|
String |
getAppName()
Get Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.
|
Long |
getDelayTime()
Get Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
Value range: 0 (default) or 10000-600000
The value must be a multiple of 1,000.
|
String |
getInputAddress()
Get RTP/UDP input address, which does not need to be entered for the input parameter.
|
String |
getInputDomain()
Get The domain of an SRT_PUSH address.
|
String |
getPassword()
Get The password, which is used for authentication.
|
String |
getSourceType()
Get Source type for stream pulling and relaying.
|
String |
getSourceUrl()
Get Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL` and can contain 1-512 characters
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getStreamName()
Get Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getUserName()
Get The username, which is used for authentication.
|
void |
setAppName(String AppName)
Set Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setDelayTime(Long DelayTime)
Set Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
Value range: 0 (default) or 10000-600000
The value must be a multiple of 1,000.
|
void |
setInputAddress(String InputAddress)
Set RTP/UDP input address, which does not need to be entered for the input parameter.
|
void |
setInputDomain(String InputDomain)
Set The domain of an SRT_PUSH address.
|
void |
setPassword(String Password)
Set The password, which is used for authentication.
|
void |
setSourceType(String SourceType)
Set Source type for stream pulling and relaying.
|
void |
setSourceUrl(String SourceUrl)
Set Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL` and can contain 1-512 characters
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setStreamName(String StreamName)
Set Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setUserName(String UserName)
Set The username, which is used for authentication.
|
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 InputSettingInfo()
public InputSettingInfo(InputSettingInfo source)
public String getAppName()
public void setAppName(String AppName)
AppName
- Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.public String getStreamName()
public void setStreamName(String StreamName)
StreamName
- Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digits
Note: This field may return `null`, indicating that no valid value was found.public String getSourceUrl()
public void setSourceUrl(String SourceUrl)
SourceUrl
- Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL` and can contain 1-512 characters
Note: This field may return `null`, indicating that no valid value was found.public String getInputAddress()
public void setInputAddress(String InputAddress)
InputAddress
- RTP/UDP input address, which does not need to be entered for the input parameter.
Note: this field may return null, indicating that no valid values can be obtained.public String getSourceType()
public void setSourceType(String SourceType)
SourceType
- Source type for stream pulling and relaying. To pull content from private-read COS buckets under the current account, set this parameter to `TencentCOS`; otherwise, leave it empty.
Note: this field may return `null`, indicating that no valid value was found.public Long getDelayTime()
public void setDelayTime(Long DelayTime)
DelayTime
- Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`
Value range: 0 (default) or 10000-600000
The value must be a multiple of 1,000.
Note: This field may return `null`, indicating that no valid value was found.public String getInputDomain()
public void setInputDomain(String InputDomain)
InputDomain
- The domain of an SRT_PUSH address. If this is a request parameter, you don’t need to specify it.
Note: This field may return `null`, indicating that no valid value was found.public String getUserName()
public void setUserName(String UserName)
UserName
- The username, which is used for authentication.
Note: This field may return `null`, indicating that no valid value was found.public String getPassword()
public void setPassword(String Password)
Password
- The password, which is used for authentication.
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.