Member Junction
    Preparing search index...
    • Builds the import('./teams-sdk').TeamsMeetingSdkFactory-shaped factory that constructs a TeamsNativeMeetingSdk from the bridge's per-session Configuration. Pass the result to TeamsBridge.SetSdkFactory(...) so a deployment activates two-way native Teams audio without code changes to the driver.

      Reads bot credentials / token + raw-audio opts + 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-addon loader override (tests inject a fake; production omits it).

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

      A factory (config) => TeamsNativeMeetingSdk.

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