Developer Center
On-premise Recording
API Reference
Agora Recording Java API Reference
Agora Recording Java API Reference
The structure of VideoMixingLayout.
◆ VideoMixingLayout()
io.agora.recording.common.Common.VideoMixingLayout.VideoMixingLayout |
( |
| ) |
|
◆ canvasWidth
int io.agora.recording.common.Common.VideoMixingLayout.canvasWidth |
Width of the canvas (the display window or screen).
◆ canvasHeight
int io.agora.recording.common.Common.VideoMixingLayout.canvasHeight |
Height of the canvas (the display window or screen).
◆ backgroundColor
String io.agora.recording.common.Common.VideoMixingLayout.backgroundColor |
The background color of the canvas (the display window or screen) in RGB hex value.
- Note
- If you set the defaultVideoBgPath parameter in recordingconfig when calling the createChannel method, the
backgroundColor
parameter does not take effect.
◆ regionCount
int io.agora.recording.common.Common.VideoMixingLayout.regionCount |
The number of the users (communication mode) or hosts (live broadcast mode) in the channel.
◆ regions
Region [] io.agora.recording.common.Common.VideoMixingLayout.regions |
The users (communication mode) or hosts (live broadcast mode) list of VideoMixingLayout. Each user (communication mode) or host (live broadcast mode) in the channel has a region to display the video on the screen. See Region to set parameters.
◆ appData
String io.agora.recording.common.Common.VideoMixingLayout.appData |
◆ appDataLength
int io.agora.recording.common.Common.VideoMixingLayout.appDataLength |
The length of the user-defined data.