ZegoCanvas
ZegoCanvas
View object.
Details
Configure view object, view Mode, background color
Declared in entity/ZegoCanvas.java
Properties
view
public Object viewView object
viewMode
backgroundColor
public int backgroundColorBackground color, the format is 0xRRGGBB, default is black, which is 0x000000
alphaBlend
public boolean alphaBlendIf enable alpha blend render, default is false.
rotation
public int rotationRotate the angle counterclockwise, the default is 0. The media player canvas is not supported.
mirror
public boolean mirrorIf enable the view mirror, default is false. Only play stream canvas is supported, for publish stream please use [setVideoMirrorMode] interface, for media player please use [enableViewMirror] interface.
viewContext
public String viewContextContext of view, default is empty string. A utf8 string with a maximum length of 63 bytes or less. Generally no attention is required, it can be used for slitting rendering of mixed stream, to understand the specific use, you need to contact ZEGO technical support.
