AddOrUpdateVideoEffect

Adds or updates the effect for the specified video effect node and template.

public abstract int AddOrUpdateVideoEffect(uint nodeId, string templateName);
Since
Available since v4.6.2.
Note: Priority rules:
  • Style makeup nodes take precedence over filter effect nodes.
  • To apply filter effects, you must first remove the style makeup effect node.

Parameters

nodeId
Unique identifier or combination of identifiers for the video effect node. See VIDEO_EFFECT_NODE_ID.
templateName
Name of the effect template. If set to NULL or an empty string, the SDK loads the default configuration from the resource package.

Return Values

  • 0: Success.
  • < 0: Failure.