fix: correct BackgroundAudioPlayer import path

Import from livekit.agents.voice.background_audio submodule directly,
as it's not re-exported from livekit.agents.voice.__init__.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-03 06:03:34 -08:00
parent 33bd1aa3aa
commit f1d9210e1d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ from livekit.agents import (
cli,
room_io,
)
from livekit.agents.voice import BackgroundAudioPlayer, BuiltinAudioClip
from livekit.agents.voice.background_audio import BackgroundAudioPlayer, BuiltinAudioClip
from livekit.agents.utils import http_context
from livekit.plugins import silero