public class StreamLayout extends AbstractModel
Constructor and Description |
---|
StreamLayout() |
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColor()
Get 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
String |
getInputStreamId()
Get 视频流ID
流ID的取值含义如下:
1.
|
LayoutParams |
getLayoutParams()
Get 流布局配置参数
|
void |
setBackgroundColor(String BackgroundColor)
Set 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
void |
setInputStreamId(String InputStreamId)
Set 视频流ID
流ID的取值含义如下:
1.
|
void |
setLayoutParams(LayoutParams LayoutParams)
Set 流布局配置参数
|
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 LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams
- 流布局配置参数public String getInputStreamId()
public void setInputStreamId(String InputStreamId)
InputStreamId
- 视频流ID
流ID的取值含义如下:
1. tic_record_user - 表示当前画面用于显示白板视频流
2. tic_substream - 表示当前画面用于显示辅路视频流
3. 特定用户ID - 表示当前画面用于显示指定用户的视频流
4. 不填 - 表示当前画面用于备选,当有新的视频流加入时,会从这些备选的空位中选择一个没有被占用的位置来显示新的视频流画面public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor
- 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"Copyright © 2020. All rights reserved.