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 local camera stream created. 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, VideoEffectSDKConfig? config}) {
  _impl.initialize(customerID, preload: preload, config: config);
}