public class RecordParam extends AbstractModel
| Constructor and Description |
|---|
RecordParam() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getEnable()
Get Whether to enable recording in the current format.
|
Long |
getRecordInterval()
Get Recording interval.
|
Long |
getStorageTime()
Get Recording storage duration.
|
Long |
getVodSubAppId()
Get VOD subapplication ID.
|
void |
setEnable(Long Enable)
Set Whether to enable recording in the current format.
|
void |
setRecordInterval(Long RecordInterval)
Set Recording interval.
|
void |
setStorageTime(Long StorageTime)
Set Recording storage duration.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Long getRecordInterval()
public void setRecordInterval(Long RecordInterval)
RecordInterval - Recording interval.
In seconds. Default value: 1,800.
Value range: 300–7,200.
This parameter is not valid for HLS, and a file is generated from push start to push end when HLS is recorded.public Long getStorageTime()
public void setStorageTime(Long StorageTime)
StorageTime - Recording storage duration.
In seconds. Value range: 0–93,312,000.
0 represents permanent storage.public Long getEnable()
public void setEnable(Long Enable)
Enable - Whether to enable recording in the current format. 0: no; 1: yes. Default value: 0.public Long getVodSubAppId()
public void setVodSubAppId(Long VodSubAppId)
VodSubAppId - VOD subapplication ID.Copyright © 2020. All rights reserved.