setVideoEffectColorFilter abstract method

  1. @Deprecated('Deprecated since v3.51 and will be deleted in v3.57, use RTCVideoEffect.setColorFilter instead.')
Future<int?> setVideoEffectColorFilter(
  1. String? resFile
)

设置颜色滤镜

resFile 滤镜资源包绝对路径

返回值:

  • 0:成功;
  • 1000:未集成特效 SDK;
  • 1001:特效 SDK 不支持该功能;
  • <0:其他错误,具体参看错误码表。

Implementation

@Deprecated(
    'Deprecated since v3.51 and will be deleted in v3.57, use RTCVideoEffect.setColorFilter instead.')
Future<int?> setVideoEffectColorFilter(String? resFile);