public class CreateLiveRecordRequest extends AbstractModel
Constructor and Description |
---|
CreateLiveRecordRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAppName()
Get Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default.
|
String |
getDomainName()
Get Push domain name.
|
String |
getEndTime()
Get Recording end time, which is China standard time and should be URL-encoded (RFC3986).
|
String |
getFileFormat()
Get Recording file format.
|
Long |
getHighlight()
Get Mark for enabling real-time video recording mode.
|
Long |
getMixStream()
Get Flag for enabling A+B=C mixed stream recording.
|
String |
getRecordType()
Get Recording type.
|
String |
getStartTime()
Get Recording start time, which is China standard time and should be URL-encoded (RFC3986).
|
String |
getStreamName()
Get Stream name.
|
String |
getStreamParam()
Get Recording stream parameter.
|
void |
setAppName(String AppName)
Set Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default.
|
void |
setDomainName(String DomainName)
Set Push domain name.
|
void |
setEndTime(String EndTime)
Set Recording end time, which is China standard time and should be URL-encoded (RFC3986).
|
void |
setFileFormat(String FileFormat)
Set Recording file format.
|
void |
setHighlight(Long Highlight)
Set Mark for enabling real-time video recording mode.
|
void |
setMixStream(Long MixStream)
Set Flag for enabling A+B=C mixed stream recording.
|
void |
setRecordType(String RecordType)
Set Recording type.
|
void |
setStartTime(String StartTime)
Set Recording start time, which is China standard time and should be URL-encoded (RFC3986).
|
void |
setStreamName(String StreamName)
Set Stream name.
|
void |
setStreamParam(String StreamParam)
Set Recording stream parameter.
|
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 getAppName()
public void setAppName(String AppName)
AppName
- Push path, which is the same as the `AppName` in push and playback addresses and is `live` by default.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- Push domain name. This parameter must be set for multi-domain name push.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Recording start time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:10:01 is 2017-01-01+10%3a10%3a01.
In scheduled recording mode, this field must be set; in real-time video recording mode, this field is ignored.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Recording end time, which is China standard time and should be URL-encoded (RFC3986). For example, the encoding of 2017-01-01 10:30:01 is 2017-01-01+10%3a30%3a01.
In scheduled recording mode, this field must be set; in real-time video recording mode, this field is optional. If the recording is set to real-time video recording mode through the `Highlight` parameter, the set end time should not be more than 30 minutes after the current time. If the set end time is more than 30 minutes after the current time, earlier than the current time, or left empty, the actual end time will be 30 minutes after the current time.public String getRecordType()
public void setRecordType(String RecordType)
RecordType
- Recording type.
"video": Audio-video recording **(default)**.
"audio": audio recording.
In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive.public String getFileFormat()
public void setFileFormat(String FileFormat)
FileFormat
- Recording file format. Valid values:
"flv" **(default)**, "hls", "mp4", "aac", "mp3".
In both scheduled and real-time video recording modes, this parameter is valid and is not case sensitive.public Long getHighlight()
public void setHighlight(Long Highlight)
Highlight
- Mark for enabling real-time video recording mode.
0: Real-time video recording mode is not enabled, i.e., the scheduled recording mode is used **(default)**. See [Sample 1](#.E7.A4.BA.E4.BE.8B1-.E5.88.9B.E5.BB.BA.E5.AE.9A.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1).
1: Real-time video recording mode is enabled. See [Sample 2](#.E7.A4.BA.E4.BE.8B2-.E5.88.9B.E5.BB.BA.E5.AE.9E.E6.97.B6.E5.BD.95.E5.88.B6.E4.BB.BB.E5.8A.A1).public Long getMixStream()
public void setMixStream(Long MixStream)
MixStream
- Flag for enabling A+B=C mixed stream recording.
0: A+B=C mixed stream recording is not enabled **(default)**.
1: A+B=C mixed stream recording is enabled.
In both scheduled and real-time video recording modes, this parameter is valid.public String getStreamParam()
public void setStreamParam(String StreamParam)
StreamParam
- Recording stream parameter. The following parameters are supported currently:
record_interval: recording interval in seconds. Value range: 1800-7200.
storage_time: recording file storage duration in seconds.
Example: record_interval=3600&storage_time=2592000.
Note: the parameter needs to be URL-encoded.
In both scheduled and real-time video recording modes, this parameter is valid.Copyright © 2020. All rights reserved.