gorgeous-hydrogen-44699
04/23/2026, 8:09 AMtall-airline-16756
04/23/2026, 8:09 AMtall-airline-16756
04/23/2026, 8:09 AMambient_sound, thinking_sound, or via the play method.
• Supported formats: MP3, WAV, AAC, FLAC, OGG, Opus, WebM, MP4 (decoded via FFmpeg or optimized WAV decoder).
• Example usage:
◦ Python: background_audio.play("/path/to/my-custom-sound.mp3")
◦ TypeScript: backgroundAudio.play("/path/to/my-custom-sound.mp3");
Would you like an example for your platform (web, Node, or Python) or help with file path/format issues?
Sources: Background audio | LiveKit Documentation, with interactive elementsgorgeous-hydrogen-44699
04/23/2026, 8:40 AMtall-airline-16756
04/23/2026, 8:41 AMloop option with `play()`:
◦ Python: background_audio.play("/path/to/my-custom-sound.mp3", loop=True)
◦ TypeScript: backgroundAudio.play("/path/to/my-custom-sound.mp3", { loop: true });
• Or set ambient_sound when creating the player — it will automatically loop for the session:
◦ background_audio = BackgroundAudioPlayer(ambient_sound="/path/to/my-custom-sound.mp3")
Would you like a full example for Web/Node/Python or help with file path or format?
Sources: Background audio | LiveKit Documentation, with interactive elements