RTCVideoEffect class abstract

Advanced video effects.

Constructors

RTCVideoEffect()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableFaceDetection() Future<int?>
Stops face detection.
disableVideoEffect() Future<int?>
Disables video effects.
disableVirtualBackground() Future<int?>
Turns off the virtual background.
enableFaceDetection({required RTCFaceDetectionObserver observer, required String modelPath, int interval = 0}) Future<int?>
Starts face detection and registers the observer for the result.
With this observer, you will receive RTCFaceDetectionObserver.onFaceDetectResult periodically.
enableVideoEffect() Future<int?>
Enables video effects including beauty and color filters.
enableVirtualBackground({required String modelPath, required VirtualBackgroundSource source}) Future<int?>
Sets the original background to a specified image or a solid color.
initCVResource(String licenseFile, String modelPath) Future<int?>
Checks video effect license, sets the video effect resource model path, and initializes video effect.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setColorFilter(String? resFile) Future<int?>
Sets the color filter.
setColorFilterIntensity(double intensity) Future<int?>
Sets the intensity of the color filter enabled.
setEffectNodes(List<String>? effectNodes) Future<int?>
Sets the video effects material package.
toString() String
A string representation of this object.
inherited
updateEffectNode({required String effectNode, required String key, required double value}) Future<int?>
Sets the intensity of video effects.

Operators

operator ==(Object other) bool
The equality operator.
inherited