public class RecordParam extends AbstractModel
header, skipSign
Constructor and Description |
---|
RecordParam() |
RecordParam(RecordParam 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 |
---|---|
Long |
getClassId()
Get VOD subapplication category
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getEnable()
Get Whether to enable recording in the current format.
|
String |
getProcedure()
Get Task flow
Note: this field may return `null`, indicating that no valid value is obtained.
|
Long |
getRecordInterval()
Get Max recording time per file
Default value: `1800` (seconds)
Value range: 30-7200
This parameter is invalid for HLS.
|
String |
getStorageMode()
Get Video storage class.
|
Long |
getStorageTime()
Get Storage duration of the recording file
Value range: 0-129600000 seconds (0-1500 days)
`0`: permanent
|
String |
getVodFileName()
Get Recording filename.
|
Long |
getVodSubAppId()
Get VOD subapplication ID.
|
void |
setClassId(Long ClassId)
Set VOD subapplication category
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setEnable(Long Enable)
Set Whether to enable recording in the current format.
|
void |
setProcedure(String Procedure)
Set Task flow
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setRecordInterval(Long RecordInterval)
Set Max recording time per file
Default value: `1800` (seconds)
Value range: 30-7200
This parameter is invalid for HLS.
|
void |
setStorageMode(String StorageMode)
Set Video storage class.
|
void |
setStorageTime(Long StorageTime)
Set Storage duration of the recording file
Value range: 0-129600000 seconds (0-1500 days)
`0`: permanent
|
void |
setVodFileName(String VodFileName)
Set Recording filename.
|
void |
setVodSubAppId(Long VodSubAppId)
Set VOD subapplication ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RecordParam()
public RecordParam(RecordParam source)
public Long getRecordInterval()
public void setRecordInterval(Long RecordInterval)
RecordInterval
- Max recording time per file
Default value: `1800` (seconds)
Value range: 30-7200
This parameter is invalid for HLS. Only one HLS file will be generated from push start to push end.public Long getStorageTime()
public void setStorageTime(Long StorageTime)
StorageTime
- Storage duration of the recording file
Value range: 0-129600000 seconds (0-1500 days)
`0`: permanentpublic Long getEnable()
public void setEnable(Long Enable)
Enable
- Whether to enable recording in the current format. Default value: 0. 0: no, 1: yes.public Long getVodSubAppId()
public void setVodSubAppId(Long VodSubAppId)
VodSubAppId
- VOD subapplication ID.public String getVodFileName()
public void setVodFileName(String VodFileName)
VodFileName
- Recording filename.
Supported special placeholders include:
{StreamID}: stream ID
{StartYear}: start time - year
{StartMonth}: start time - month
{StartDay}: start time - day
{StartHour}: start time - hour
{StartMinute}: start time - minute
{StartSecond}: start time - second
{StartMillisecond}: start time - millisecond
{EndYear}: end time - year
{EndMonth}: end time - month
{EndDay}: end time - day
{EndHour}: end time - hour
{EndMinute}: end time - minute
{EndSecond}: end time - second
{EndMillisecond}: end time - millisecond
If this parameter is not set, the recording filename will be `{StreamID}_{StartYear}-{StartMonth}-{StartDay}-{StartHour}-{StartMinute}-{StartSecond}_{EndYear}-{EndMonth}-{EndDay}-{EndHour}-{EndMinute}-{EndSecond}` by defaultpublic String getProcedure()
public void setProcedure(String Procedure)
Procedure
- Task flow
Note: this field may return `null`, indicating that no valid value is obtained.public String getStorageMode()
public void setStorageMode(String StorageMode)
StorageMode
- Video storage class. Valid values:
`normal`: STANDARD
`cold`: STANDARD_IA
Note: this field may return `null`, indicating that no valid value is obtained.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- VOD subapplication category
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2024. All rights reserved.