RTCVideoEffect class abstract

高级视频特效。

Constructors

RTCVideoEffect()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

disableFaceDetection() → Future<int?>
关闭人脸识别功能
disableVideoEffect() → Future<int?>
关闭视频特效。
disableVirtualBackground() → Future<int?>
关闭虚拟背景。
enableFaceDetection({required RTCFaceDetectionObserver observer, required String modelPath, int interval = 0}) → Future<int?>
注册人脸检测结果回调观察者。
enableVideoEffect() → Future<int?>
开启高级美颜、滤镜等视频特效。
enableVirtualBackground({required String modelPath, required VirtualBackgroundSource source}) → Future<int?>
将摄像头采集画面中的人像背景替换为指定图片或纯色背景。
initCVResource(String licenseFile, String modelPath) → Future<int?>
检查视频特效证书,设置算法模型路径,并初始化特效模块。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setColorFilter(String? resFile) → Future<int?>
设置颜色滤镜。
setColorFilterIntensity(double intensity) → Future<int?>
设置已启用颜色滤镜的强度。
setEffectNodes(List<String>? effectNodes) → Future<int?>
设置视频特效素材包。
toString() → String
A string representation of this object.
inherited
updateEffectNode({required String effectNode, required String key, required double value}) → Future<int?>
设置特效强度。

Operators

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