Voice AI Features: - LiveKit Agents integration for real-time voice calls - Julia AI agent (Python) deployed to LiveKit Cloud - Token server for authentication - Debug screen with voice call testing - Voice call screen with full-screen UI Agent Configuration: - STT: Deepgram Nova-2 - LLM: OpenAI GPT-4o - TTS: Deepgram Aura Asteria (female voice) - Turn Detection: LiveKit Multilingual Model - VAD: Silero - Noise Cancellation: LiveKit BVC Files added: - julia-agent/ - Complete agent code and token server - app/voice-call.tsx - Full-screen voice call UI - services/livekitService.ts - LiveKit client service - contexts/VoiceTranscriptContext.tsx - Transcript state - polyfills/livekit-globals.ts - WebRTC polyfills 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
417 B
TypeScript
16 lines
417 B
TypeScript
/**
|
|
* LiveKit WebRTC Globals Setup
|
|
*
|
|
* CRITICAL: This file MUST be imported BEFORE any LiveKit components!
|
|
* It sets up WebRTC globals that Room class depends on.
|
|
*
|
|
* Import this as the first line in your app entry point.
|
|
*/
|
|
|
|
import { registerGlobals } from '@livekit/react-native';
|
|
|
|
// Register WebRTC globals immediately on module load
|
|
registerGlobals();
|
|
|
|
console.log('[LiveKit] WebRTC globals registered');
|