initialize static method
- String customerID, {
- bool preload = false,
- VideoEffectSDKConfig? config,
Initializes Video Effects SDK for the web.
Should be called before the first LocalVideoTrack.createCameraTrack
call.
For native platforms do nothing.
customerID
: Unique customerID for authenticationpreload
: Start preloading models if true.config
: Optional Web SDK configuration.
Implementation
static void initialize(String customerID, {bool preload = false, rtc.VideoEffectSDKConfig? config}) {
return rtc.VideoEffectsSdk.initialize(customerID, preload: preload, config: config);
}