public class MobileRTCVideoUnitRenderInfo extends MobileRTCRenderInfo
Modifier and Type | Field and Description |
---|---|
int |
aspect_mode
Set video unit aspect mode defined in
MobileRTCVideoUnitAspectMode class. |
int |
backgroud_color
Set the background color of video unit.
|
boolean |
is_border_visible
Set whether to display video border on video unit.
|
boolean |
is_show_audio_off
Set whether to display user's audio status on video unit.
|
boolean |
is_username_visible
Set whether to display user's name on video unit.
|
heightPercent, widthPercent, xPercent, yPercent
Constructor and Description |
---|
MobileRTCVideoUnitRenderInfo(int xPercent,
int yPercent,
int widthPercent,
int heightPercent)
Render information of meeting video unit.
|
toString
public boolean is_username_visible
public boolean is_border_visible
public boolean is_show_audio_off
public int backgroud_color
public int aspect_mode
MobileRTCVideoUnitAspectMode
class. Default value: original.public MobileRTCVideoUnitRenderInfo(int xPercent, int yPercent, int widthPercent, int heightPercent)
xPercent
- The percentage of the left video frame apart from the edge of the monitor.yPercent
- The percentage of the top video frame apart from the edge of the monitor.widthPercent
- The percentage that the video unit width occupies the total one of the monitor.heightPercent
- The percentage that the video unit height occupies the total one of the monitor.