damp-kite-83575
11/04/2025, 5:14 AMtall-airline-16756
11/04/2025, 5:14 AMtall-airline-16756
11/04/2025, 5:15 AMregisterGlobals() on app startup. Add mic permissions (and optional background audio) for iOS.
• For PSTN dialing, set up LiveKit SIP: create an outbound trunk, then create a SIP participant to dial the phone number into your LiveKit room.
Steps:
1. Expo/iOS setup
◦ Build with expo-dev-client (native modules required). Expo quickstart
◦ In app startup (e.g., index.js), call registerGlobals(). React Native quickstart
◦ Add iOS permissions (NSMicrophoneUsageDescription) and, if needed, Background Modes → Audio. Camera & microphone
1. Connect your app to a room
◦ Get a server-issued LiveKit token and connect the RN client. Connecting to LiveKit
1. Enable outbound calling (PSTN)
◦ Create an outbound SIP trunk with your provider’s number/credentials. SIP outbound trunk
◦ From your server, call CreateSIPParticipant with sip_trunk_id, sip_call_to (phone number), and room_name. Options include wait_until_answered, ringing_timeout, krisp_enabled. Making outbound calls | SIP APIs
Would you like a minimal code snippet for the Expo setup and a sample CreateSIPParticipant request body?
Sources: Expo quickstart | LiveKit docs | React Native quickstart | LiveKit docs | Making outbound calls | LiveKit Docs | Make outbound calls | LiveKit Docs | SIP outbound trunk | LiveKit docsdamp-kite-83575
11/04/2025, 5:17 AMtall-airline-16756
11/04/2025, 5:17 AMregisterGlobals() at app startup before connecting.
• Use your token server to fetch a token, then pass your LiveKit server URL and token to the room.
Example (Expo RN):
// index.js
import { registerGlobals } from '@livekit/react-native';
registerGlobals();
// In your component
<LiveKitRoom
serverUrl="wss://YOUR-LIVEKIT-URL"
token={tokenFromYourServer}
connect={true}
/>
Relevant references:
• Expo setup and dev client: Expo quickstart
• React Native init (registerGlobals) and connect: React Native quickstart, Connecting to LiveKit
Do you want a minimal app.json snippet (plugins, Info.plist keys) and a token fetch example?
Sources: Swift quickstart | LiveKit docs | Flutter quickstart | LiveKit docs | Mobile SDKs (Flutter, iOS, Android) | livekit/livekit_composite | DeepWiki | Expo quickstart | LiveKit docs | React Native quickstart | LiveKit docsdamp-kite-83575
11/04/2025, 5:18 AMtall-airline-16756
11/04/2025, 5:19 AMdamp-kite-83575
11/04/2025, 5:20 AM