public class RecordControl extends AbstractModel
| Constructor and Description | 
|---|
| RecordControl() | 
| RecordControl(RecordControl 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 | 
|---|---|
| Boolean | getDisableAudio()Get A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable audio recording over all streams. | 
| Boolean | getDisableRecord()Get A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable recording. | 
| Boolean | getEnabled()Get It specifies whether to enable RecordControl. | 
| Boolean | getPullSmallVideo()Get A global parameter generally used in conjunction with `StreamControls` that specifies whether to record low-resolution videos only. | 
| StreamControl[] | getStreamControls()Get Parameters over specific streams, which take priority over global configurations. | 
| void | setDisableAudio(Boolean DisableAudio)Set A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable audio recording over all streams. | 
| void | setDisableRecord(Boolean DisableRecord)Set A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable recording. | 
| void | setEnabled(Boolean Enabled)Set It specifies whether to enable RecordControl. | 
| void | setPullSmallVideo(Boolean PullSmallVideo)Set A global parameter generally used in conjunction with `StreamControls` that specifies whether to record low-resolution videos only. | 
| void | setStreamControls(StreamControl[] StreamControls)Set Parameters over specific streams, which take priority over global configurations. | 
| 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 RecordControl()
public RecordControl(RecordControl source)
public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled - It specifies whether to enable RecordControl. Valid values: true (yes); false (no).public Boolean getDisableRecord()
public void setDisableRecord(Boolean DisableRecord)
DisableRecord - A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable recording. Valid values:
true: no stream is recorded.
false: all streams are recorded. Default value: false.
The setting in this parameter is applied to all streams. However, if `StreamControls` is passed in, the parameters in `StreamControls` will take precedence.public Boolean getDisableAudio()
public void setDisableAudio(Boolean DisableAudio)
DisableAudio - A global parameter generally used in conjunction with `StreamControls` that specifies whether to disable audio recording over all streams. Valid values:
true: no audio recording of any streams.
false: audio recording of all streams. Default value: false.
The setting in this parameter is applied to all streams. However, if `StreamControls` is passed in, the parameters in `StreamControls` will take precedence.public Boolean getPullSmallVideo()
public void setPullSmallVideo(Boolean PullSmallVideo)
PullSmallVideo - A global parameter generally used in conjunction with `StreamControls` that specifies whether to record low-resolution videos only. Valid values:
true: only records low-resolution videos for all streams. Please ensure that the up-streaming end pushes the low-resolution videos. Otherwise, the recorded video may be black.
false: high-resolution video recording of all streams. Default value: false.
The setting in this parameter is applied to all streams. However, if `StreamControls` is passed in, the parameters in `StreamControls` will take precedence.public StreamControl[] getStreamControls()
public void setStreamControls(StreamControl[] StreamControls)
StreamControls - Parameters over specific streams, which take priority over global configurations. If it’s empty, all streams are recorded according to the global configurations.Copyright © 2022. All rights reserved.