If you're looking to connect two rooms and share audio from one to the other in LiveKit, here are a couple of handy ways to do it:
•
ForwardParticipant: This lets you forward a participant’s audio (and video) from one room to another, while they stay connected in the original room. It’s a great option for bridging audio across rooms. Plus, if the destination room doesn’t exist yet, it’ll be created automatically for you.
•
MoveParticipant: This method moves a participant entirely from one room to another, disconnecting them from the first room. It’s perfect for things like warm transfers.
Just a heads-up: both of these options need
LiveKit Cloud or Private Cloud deployments and roomAdmin permissions. If you’re running a local LiveKit server, these features aren’t available, so you’d need to set up your own custom bridging solution.
Would you like me to walk you through how to use these methods in detail, or maybe explore some alternative ideas for local setups? I’m here to help!
Sources:
livekit-api/livekit/api/room_service.py |
src/main/kotlin/io/livekit/server/RoomServiceClient.kt |
examples/warm-transfer/warm_transfer.py