RemoteVideoRenderConfig class
- Inheritance
-
- Object
- NativeClass
- RemoteVideoRenderConfig
Properties
-
$resource
→ NativeResource
-
no setterinherited
-
backgroundColor
↔ FutureOr<int?>
-
@brief Set the background color of the canvas which is not filled with video frame. The range is
[0x00000000, 0xFFFFFFFF]. The default is 0x00000000. The Alpha index is ignored.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<void>
-
Whether the instance is initialized
no setterinherited
-
renderMode
↔ FutureOr<int?>
-
@brief Rendering mode.
- 1(RENDER_MODE_HIDDEN): Fill and Crop. Default setting. The video frame is scaled with a fixed aspect ratio and completely fills the canvas. The region of the video exceeding the canvas will be cropped.
- 2(RENDER_MODE_FIT): Fit. The video frame is scaled with a fixed aspect ratio and is shown completely on the canvas. The region of the canvas not filled with the video frame will be filled with backgroundColor.
- 3(RENDER_MODE_FILL): Fill the canvas. The video frame is scaled to fill the canvas. During the process, the aspect ratio may change.
getter/setter pair
-
renderRotation
↔ FutureOr<VideoRotation?>
-
@brief Video frame rotation angle. See VideoRotation{@link #VideoRotation}. The default value is 0, which means no rotation is applied.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited