The structure of VideoMixingLayout.
◆ canvasWidth
int io.agora.recording.common.Common.VideoMixingLayout.canvasWidth = 0 |
The width of the canvas (the display window or screen).
◆ canvasHeight
int io.agora.recording.common.Common.VideoMixingLayout.canvasHeight = 0 |
THE 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 = 0 |
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 = 0 |
The length of the user-defined data.
◆ keepLastFrame
int io.agora.recording.common.Common.VideoMixingLayout.keepLastFrame = 0 |
Sets whether or not to show the last frame of a user in the region after the user leaves a channel:
-
true: The user's last frame shows in the region.
-
false: (Default) The user's last frame does not show in the region.
◆ literalWms
Configurates text watermarks. Pointer to an array of LiteraWatermarkConfig.
- Note
- You can add up to ten text watermarks.
◆ timestampWms
◆ imageWms
Configurates image watermarks. Pointer to an array of ImageWatermarkConfig.
- Note
- You can add up to four image watermarks.