public class MixStream extends AbstractModel
header, skipSign
Constructor and Description |
---|
MixStream() |
MixStream(MixStream 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 |
---|---|
CustomLayout |
getCustom()
Get Custom mixed stream layout parameter
If this parameter is available, the ModelId and TeacherId fields will be ignored.
|
Boolean |
getDisableAudio()
Get Whether audio stream mixing is disabled
|
Boolean |
getEnabled()
Get Whether stream mixing is enabled
|
Long |
getModelId()
Get ID of the embedded mixed stream layout template.
|
String |
getTeacherId()
Get ID of a teacher account
This field is valid only when ModelId is specified.
|
void |
setCustom(CustomLayout Custom)
Set Custom mixed stream layout parameter
If this parameter is available, the ModelId and TeacherId fields will be ignored.
|
void |
setDisableAudio(Boolean DisableAudio)
Set Whether audio stream mixing is disabled
|
void |
setEnabled(Boolean Enabled)
Set Whether stream mixing is enabled
|
void |
setModelId(Long ModelId)
Set ID of the embedded mixed stream layout template.
|
void |
setTeacherId(String TeacherId)
Set ID of a teacher account
This field is valid only when ModelId is specified.
|
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 MixStream()
public MixStream(MixStream source)
public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled
- Whether stream mixing is enabledpublic Boolean getDisableAudio()
public void setDisableAudio(Boolean DisableAudio)
DisableAudio
- Whether audio stream mixing is disabledpublic Long getModelId()
public void setModelId(Long ModelId)
ModelId
- ID of the embedded mixed stream layout template. Valid values: 1 and 2. For more information on the differences of both values, see the sample embedded mixed stream layout template.
If the Custom field is not specified, ModelId is required.public String getTeacherId()
public void setTeacherId(String TeacherId)
TeacherId
- ID of a teacher account
This field is valid only when ModelId is specified.
If you specify TeacherID for a user, the user's video stream will be displayed in the first image of the embedded template.public CustomLayout getCustom()
public void setCustom(CustomLayout Custom)
Custom
- Custom mixed stream layout parameter
If this parameter is available, the ModelId and TeacherId fields will be ignored.Copyright © 2024. All rights reserved.