setVideoEffectNodes abstract method

  1. @Deprecated('Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.setEffectNodes instead.')
Future<int?> setVideoEffectNodes(
  1. List<String>? effectNodes
)

Sets video effects resource package.

effectNodes: An array of package paths.
Set this parameter to null to remove the current video effect.

Returned value:

  • 0: Success.
  • 1000: The Effect SDK is not integrated.
  • 1001: This API is not available in your Effect SDK.
  • <0: Other errors. See Error Code Table.

Notes: Call this API after calling RTCVideo.enableVideoEffect.

Implementation

@Deprecated(
    'Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.setEffectNodes instead.')
Future<int?> setVideoEffectNodes(List<String>? effectNodes);