Member Junction
    Preparing search index...
    • Builds the import('./livekit-sdk').LiveKitRoomSdkFactory-shaped factory that constructs a LiveKitNativeMeetingSdk from the bridge's per-session Configuration. Pass the result to LiveKitBridge.SetSdkFactory(...) so a deployment activates two-way native LiveKit media without code changes to the driver.

      Reads the ws URL / API key/secret / pre-signed token + bot name + the native module specifier out of the config map the engine passes at connect (credentials resolved upstream — never inline secrets).

      Parameters

      • loadModule: NativeModuleLoader = defaultNativeLoader

        Optional native-module loader override (tests inject a fake; production omits it).

      Returns (config?: Record<string, unknown>) => LiveKitNativeMeetingSdk

      A factory (config) => LiveKitNativeMeetingSdk.

      // Where bridge drivers are configured (creds already resolved from the MJ credential system):
      bridge.SetSdkFactory(BindLiveKitNative());