updateVideoEffectNode abstract method

  1. @Deprecated('Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.updateEffectNode instead.')
Future<int?> updateVideoEffectNode({
  1. required String effectNode,
  2. required String key,
  3. required double value,
})

Sets effect intensity.

effectNode: Package path.

key: Name of the resource key to be set, see Functions of Resource Keys for details.

value: The intensity value with a range of [0,1]. Setting beyond this range is invalid.

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.

This API is only applicable to special effects resources that contain the above three parameters at the same time. For special effects that do not have strength parameters, such as most stickers, this interface call is invalid.

Implementation

@Deprecated(
    'Deprecated since v3.50.1 and will be deleted in v3.56.1, use RTCVideoEffect.updateEffectNode instead.')
Future<int?> updateVideoEffectNode({
  required String effectNode,
  required String key,
  required double value,
});