public class CreateRecordTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateRecordTaskRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAppName()
Get Push path.
|
String |
getDomainName()
Get Push domain name.
|
Long |
getEndTime()
Get Recording task end time in UNIX timestamp, which must be after `StartTime` and within 24 hours from the current time.
|
String |
getExtension()
Get Extended field, which is empty by default.
|
Long |
getStartTime()
Get Recording task start time in UNIX timestamp.
|
String |
getStreamName()
Get Stream name.
|
Long |
getStreamType()
Get Push type.
|
Long |
getTemplateId()
Get Recording template ID, which is the returned value of `CreateLiveRecordTemplate`.
|
void |
setAppName(String AppName)
Set Push path.
|
void |
setDomainName(String DomainName)
Set Push domain name.
|
void |
setEndTime(Long EndTime)
Set Recording task end time in UNIX timestamp, which must be after `StartTime` and within 24 hours from the current time.
|
void |
setExtension(String Extension)
Set Extended field, which is empty by default.
|
void |
setStartTime(Long StartTime)
Set Recording task start time in UNIX timestamp.
|
void |
setStreamName(String StreamName)
Set Stream name.
|
void |
setStreamType(Long StreamType)
Set Push type.
|
void |
setTemplateId(Long TemplateId)
Set Recording template ID, which is the returned value of `CreateLiveRecordTemplate`.
|
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 String getStreamName()
public void setStreamName(String StreamName)
StreamName
- Stream name.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- Push domain name.public String getAppName()
public void setAppName(String AppName)
AppName
- Push path.public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- Recording task end time in UNIX timestamp, which must be after `StartTime` and within 24 hours from the current time.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Recording task start time in UNIX timestamp. If this parameter is left empty, it indicates to start recording immediately. It must be within 24 hours from the current time.public Long getStreamType()
public void setStreamType(Long StreamType)
StreamType
- Push type. Default value: 0. Valid values:
0: LVB push.
1: mixed stream, i.e., A + B = C mixed stream.public Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- Recording template ID, which is the returned value of `CreateLiveRecordTemplate`. If this parameter is left empty or incorrect, the stream will be recorded in HLS format and retained permanently by default.public String getExtension()
public void setExtension(String Extension)
Extension
- Extended field, which is empty by default.Copyright © 2020. All rights reserved.