initialize static method

void initialize(
  1. String customerID, {
  2. bool preload = false,
  3. 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 authentication
  • preload: 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);
}