public class CreateRecordTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateRecordTaskRequest() |
CreateRecordTaskRequest(CreateRecordTaskRequest 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 Push path.
|
String |
getDomainName()
Get Push domain name.
|
Long |
getEndTime()
Get Recording end time in UNIX timestamp format.
|
String |
getExtension()
Get Extension field which is not defined now.
|
Long |
getStartTime()
Get Recording start time in UNIX timestamp format.
|
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 end time in UNIX timestamp format.
|
void |
setExtension(String Extension)
Set Extension field which is not defined now.
|
void |
setStartTime(Long StartTime)
Set Recording start time in UNIX timestamp format.
|
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 CreateRecordTaskRequest()
public CreateRecordTaskRequest(CreateRecordTaskRequest source)
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 end time in UNIX timestamp format. “EndTime” should be later than “StartTime”, and the duration between “EndTime” and “StartTime” is up to 24 hours.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Recording start time in UNIX timestamp format. If “StartTime” is not entered, recording will start immediately after the API is successfully called. “StartTime” should be within 6 days 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
- Extension field which is not defined now. It is empty by default.Copyright © 2021. All rights reserved.