ERROR Asistan Ambient sound {"pid...
# ask-ai
b
ERROR Asistan Ambient sound {"pid": 455, "job_id": hatası: type object "AJ_YtBAfp38wPYw", 'BuiltinAudioClip' "room_id": has no attribute "RM_NGAnqddJDGsV"} 'CROWDED_ROOM' built in audio clips not known how can I add tehem except for OFFICE_AMBIANCE
t
Thanks for reaching out, Volkan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I see you're hitting an error because you're trying to use a built‑in clip named
CROWDED_ROOM
. That clip isn't available and the agent is raising an attribute error for the enum member. What you can do: • Built‑in clips available right now: BuiltinAudioClip.OFFICE_AMBIENCE, BuiltinAudioClip.KEYBOARD_TYPING, BuiltinAudioClip.KEYBOARD_TYPING2.
CROWDED_ROOM
is not supported. • You cannot register new built‑in clips. To use a custom ambient (e.g., crowded room), provide your own audio file and use the BackgroundAudioPlayer. Example:
Copy code
background_audio = BackgroundAudioPlayer(
    ambient_sound="/path/to/crowded-room.mp3"
)
Make sure the file path is correct and the agent process can read the file. If you want, tell me: • the code snippet you’re using (so I can point out the exact change), and • the audio file format/path you plan to use — I’ll help you plug it in. Sources: Agent speech and audio | LiveKit docs
b
ok I Got it