VideoEffectsSdk class

Video Effects SDK API class.

Video Effects SDK can only work with local video tracks.

Constructors

VideoEffectsSdk.new()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

auth(dynamic track, String customerID, {String? apiUrl}) → Future<AuthStatus>
Authenticates SDK using remote service (Optional for the web).
enableBeautification(dynamic mediaStreamTrack, bool enable) → Future<void>
Enables/disables face beautification effects.
enableSharpening(dynamic mediaStreamTrack, bool enable) → Future<void>
Enables/disables image sharpening.
getPipelineMode(dynamic mediaStreamTrack) → Future<PipelineMode>
Gets the current background processing mode for a media track.
getSharpeningStrength(dynamic mediaStreamTrack) → Future<double>
Gets current sharpening strength.
getWrappedStream(dynamic stream) → Future
Returns original stream it was crated from.
getZoomLevel(dynamic mediaStreamTrack) → Future<double>
Gets current smart zoom level.
initialize(String customerID, {bool preload = false, VideoEffectSDKConfig? config}) → void
Initializes Video Effects SDK for the web.
isBeautificationEnabled(dynamic mediaStreamTrack) → Future<bool>
Checks if beautification is currently enabled.
localAuth(dynamic mediaStreamTrack, String localKey) → Future<AuthStatus>
Offline authorization with a secret key.
setBackgroundImage(dynamic mediaStreamTrack, EffectsSdkImage image) → Future<void>
Sets custom background image for replace mode.
setBeautificationPower(dynamic mediaStreamTrack, double power) → Future<void>
Adjusts beautification effect strength.
setBlurPower(dynamic mediaStreamTrack, double power) → Future<void>
Adjusts blur strength for background blur mode.
setColorCorrectionMode(dynamic mediaStreamTrack, ColorCorrectionMode colorCorrectionMode) → Future<void>
Sets color correction processing mode.
setColorFilterStrength(dynamic mediaStreamTrack, double strength) → Future<void>
Adjusts color filter strength.
setColorGradingReference(dynamic mediaStreamTrack, EffectsSdkImage image) → Future<void>
Sets reference image for color grading mode.
setPipelineMode(dynamic mediaStreamTrack, PipelineMode pipelineMode) → Future<void>
Sets background processing mode for a media track.
setSharpeningStrength(dynamic mediaStreamTrack, double strength) → Future<void>
Adjusts image sharpening strength.
setZoomLevel(dynamic mediaStreamTrack, double zoomLevel) → Future<void>
Sets smart zoom level.
wrapStream(dynamic stream) → Future
Wraps stream to attack the SDK (For web only).