```2025-09-26 02:30:41,569 - ERROR voice-agent - F...
# ask-ai
t
Copy code
2025-09-26 02:30:41,569 - ERROR voice-agent - Failed to send test message: 'Room' object has no attribute 'engine'
위에러가 나는데 engine 이라는 attribute 가사라졋어?
t
Thanks for reaching out, 유용현. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The error you're seeing indicates that the 'Room' object doesn't have an 'engine' attribute anymore. Could you share a bit more about when and where this happens? For instance, are you working with a particular SDK, library, or version of LiveKit? I'm here to help you get to the bottom of this!
t
docker 로 띄워놨는데 cat requirements.txt livekit-agents>=0.12.11,<1.0.0 livekit-plugins-openai>=0.10.17,<1.0.0 livekit-plugins-cartesia>=0.4.7,<1.0.0 livekit-plugins-deepgram>=0.6.17,<1.0.0 livekit-plugins-silero>=0.7.4,<1.0.0 livekit-plugins-turn-detector>=0.4.0,<1.0.0 버전은 이렇네
t
I completely understand how encountering this error can be a bit confusing! The issue happens because the
engine
attribute isn’t meant for public use and might not be accessible within the
livekit-agents
framework. But don’t worry—there are some great public methods and properties you can use to achieve similar results: • Room Events: You can listen for events like
RoomEvent.TrackPublished
or
RoomEvent.ParticipantConnected
to keep track of changes happening in the room. • Local Track Management: Try using
room.localParticipant.publishTrack()
to publish your audio or video tracks smoothly. • Remote Track Subscription: Access remote participant tracks through
room.remoteParticipants
and subscribe to them using publication events. • Data Exchange: You can send data to other participants with
room.localParticipant.streamText()
or
room.localParticipant.publishTranscription()
. • Connection State: Keep an eye on connection status using
room.isConnected
or by listening for events like
RoomEvent.Connected
and
RoomEvent.Disconnected
. Also, just a friendly reminder to check that your version of
livekit-agents
(0.12.11) works well with the other SDKs you’re using. And if you ever feel like you need more functionality beyond what the public APIs offer, submitting a feature request in the LiveKit repository is a great way to share your ideas. I’m here to help if you have any more questions! Sources: src/room/Room.ts | agents/src/voice/room_io/_output.ts | Connecting to LiveKit | LiveKit Docs
t
"Labels": { "com.docker.compose.config-hash": "7b78e360da4e81ff60714dd919a4964749307407bfea8783bab93f3133225d6c", "com.docker.compose.container-number": "1", "com.docker.compose.depends_on": "redisservice startedfalse", "com.docker.compose.image": "sha256:b99d910c3516c6ad86d42b24b85380d2c2c5e65525ca134895b95e88e254bbda", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "livekit", "com.docker.compose.project.config_files": "/app/sullivan/livekit/docker-compose.yml", "com.docker.compose.project.working_dir": "/app/sullivan/livekit", "com.docker.compose.service": "livekit", "com.docker.compose.version": "2.39.1", "org.opencontainers.image.created": "2025-06-05T064325.596Z", "org.opencontainers.image.description": "End-to-end stack for WebRTC. SFU media server and SDKs.", "org.opencontainers.image.licenses": "Apache-2.0", "org.opencontainers.image.revision": "09dede358f1750b17336af57cd16ac75ae392a11", "org.opencontainers.image.source": "https://github.com/livekit/livekit", "org.opencontainers.image.title": "livekit", "org.opencontainers.image.url": "https://github.com/livekit/livekit", "org.opencontainers.image.version": "v1.9.0" } livekit 버전은 1.9.0
t
The error happens because the
engine
attribute on the
Room
object is internal and not meant for public use in LiveKit version 1.9.0. But don’t worry! You can still achieve similar functionality using the public APIs provided by the
Room
class. Here are some helpful examples: • Connection Management: You can use
room.connect()
and
room.disconnect()
to manage connections. To keep track, check the connection state with
room.state
. • Event Handling: Try listening for events like
RoomEvent.Connected
,
RoomEvent.Disconnected
, and
RoomEvent.ParticipantConnected
to stay updated on room state changes. • Participant Management: Access participants through
room.localParticipant
and
room.remoteParticipants
. You can also handle participant events with
RoomEvent.ParticipantConnected
. • Track Operations: Publish tracks using
room.localParticipant.publishTrack()
and subscribe to tracks with
RoomEvent.TrackSubscribed
. • Data Communication: Send data with
room.localParticipant.publishData()
and receive it via
RoomEvent.DataReceived
. If you were using
engine
for something specific, please feel free to share what you were trying to do. I’d be happy to guide you to the right public API or suggest some alternatives tailored to your needs! Sources: src/room/Room.ts | Connecting to LiveKit | LiveKit Docs