gooneyG
Convex Communityβ€’6mo agoβ€’
1 reply
gooney

OpenAI Realtime API + Convex - Any solutions?

Hey everyone! πŸ‘‹

Working on real-time speech-to-text with OpenAI's Realtime API (wss://api.openai.com/v1/realtime) in a React Native
app using Convex backend.

Since Convex doesn't support WebSocket connections natively, wondering:

Has anyone found a way to integrate real-time WebSocket APIs with Convex?

Current challenge: Need to stream audio to OpenAI's WebSocket endpoint and get live transcription results back into
Convex database.

Questions:
- Any patterns for real-time audio processing with Convex?
- Alternative approaches you've used?
- Should I just fall back to chunked Whisper API calls?

Using React Native + expo-audio. Would love to hear your solutions!

Thanks! πŸ™
Was this page helpful?