public class StreamControl extends AbstractModel
Constructor and Description |
---|
StreamControl() |
StreamControl(StreamControl 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 Whether to disable the audio recording of the stream.
|
Boolean |
getDisableRecord()
Get Whether to disable recording over the stream.
|
Boolean |
getPullSmallVideo()
Get Whether to only record low-resolution stream videos.
|
String |
getStreamId()
Get Video stream ID
Description of the possible video stream ID values:
1.
|
void |
setDisableAudio(Boolean DisableAudio)
Set Whether to disable the audio recording of the stream.
|
void |
setDisableRecord(Boolean DisableRecord)
Set Whether to disable recording over the stream.
|
void |
setPullSmallVideo(Boolean PullSmallVideo)
Set Whether to only record low-resolution stream videos.
|
void |
setStreamId(String StreamId)
Set Video stream ID
Description of the possible video stream ID values:
1.
|
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 StreamControl()
public StreamControl(StreamControl source)
public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.public Boolean getDisableRecord()
public void setDisableRecord(Boolean DisableRecord)
DisableRecord
- Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: falsepublic Boolean getDisableAudio()
public void setDisableAudio(Boolean DisableAudio)
DisableAudio
- Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: falsepublic Boolean getPullSmallVideo()
public void setPullSmallVideo(Boolean PullSmallVideo)
PullSmallVideo
- Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: falseCopyright © 2023. All rights reserved.