public class StreamLayout extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| StreamLayout() | 
| StreamLayout(StreamLayout 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 | 
|---|---|
| String | getBackgroundColor()Get Background color in RGB format, such as "#FF0000" for red. | 
| Long | getFillMode()Get Video filling mode. | 
| String | getInputStreamId()Get Video stream ID
Description of the possible video stream ID values:
1. | 
| LayoutParams | getLayoutParams()Get Stream layout configuration | 
| void | setBackgroundColor(String BackgroundColor)Set Background color in RGB format, such as "#FF0000" for red. | 
| void | setFillMode(Long FillMode)Set Video filling mode. | 
| void | setInputStreamId(String InputStreamId)Set Video stream ID
Description of the possible video stream ID values:
1. | 
| void | setLayoutParams(LayoutParams LayoutParams)Set Stream layout configuration | 
| 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, toJsonStringpublic StreamLayout()
public StreamLayout(StreamLayout source)
public LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams - Stream layout configurationpublic String getInputStreamId()
public void setInputStreamId(String InputStreamId)
InputStreamId - Video stream ID
Description of the possible video stream ID values:
1. tic_record_user: the current picture is used to display the whiteboard video stream.
2. tic_substream: the current picture is used to display the auxiliary video stream.
3. Specific user ID: the current picture is used to display the video stream of a specific user.
4.Left empty: the current picture is vacant for new video stream.public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor - Background color in RGB format, such as "#FF0000" for red. The default color is black.public Long getFillMode()
public void setFillMode(Long FillMode)
FillMode - Video filling mode.
0: self-adaption mode. Scales the video proportionally to completely display it in the specified area. In this mode, there may be black bars.
1: full-screen mode. Scales the video to make it fill the entire specified area. In this mode, no black bars will appear, but the video may not be displayed fully.Copyright © 2025. All rights reserved.