gentle-manchester-79932
09/19/2025, 11:58 AMtall-airline-16756
09/19/2025, 11:58 AMtall-airline-16756
09/19/2025, 11:59 AMgentle-manchester-79932
09/19/2025, 12:02 PMtall-airline-16756
09/19/2025, 12:03 PMpublish_transcription() method.
If you’d like, I’m here to help with guidance or even a code example to integrate a specific open-source STT model with LiveKit’s audio stream. Just let me know! Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/stt.py | main.py | server/main.py | Transcriptions | LiveKit Docs | Groq integration guide | LiveKit Docsgentle-manchester-79932
09/19/2025, 12:05 PMpublish_transcription() methodtall-airline-16756
09/19/2025, 12:06 PMAudioStream class. For instance, by listening to the track_subscribed event, you’ll be able to process audio frames as they come in, in real-time.
• Process Audio Locally: Consider using an open-source STT engine like Whisper.cpp or Vosk. With Whisper.cpp, you’ll want to preprocess the audio into mel spectrograms before running inference. If you choose Vosk, you can send raw PCM audio frames straight to the recognizer for transcription.
• Publish Transcription: Once you have your transcription results, the publish_transcription() method lets you share them back to the LiveKit room, so everyone can see the transcriptions live.
If you’d like, I’d be happy to provide a detailed code example to help you integrate Whisper.cpp or Vosk with LiveKit. Just let me know which STT engine you prefer, and I’ll guide you through the next steps! Sources: examples/other/transcription/README.md | Transcriptions | LiveKit Docs | server/main.py | plugins/openai/src/stt.ts | tools/mtmd/mtmd.cppgentle-manchester-79932
09/19/2025, 12:24 PMtall-airline-16756
09/19/2025, 12:24 PMgentle-manchester-79932
09/19/2025, 12:24 PMtall-airline-16756
09/19/2025, 12:25 PM