Member Junction
    Preparing search index...
    • Builds the import('@memberjunction/ai-bridge-base').TelephonyCallSdkFactory-shaped factory that constructs a TwilioNativeCallSdk from the bridge's per-session Configuration. Pass the result to TwilioBridge.SetSdkFactory(...) so a deployment activates two-way native Twilio audio without code changes to the driver.

      Reads Twilio credentials + stream URL + 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-adapter loader override (tests inject a fake; production omits it).

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

      A factory (config) => TwilioNativeCallSdk.

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