blue-addition-24214
11/27/2025, 7:53 AMtall-airline-16756
11/27/2025, 7:53 AMtall-airline-16756
11/27/2025, 7:54 AMblue-addition-24214
11/27/2025, 2:16 PMtall-airline-16756
11/27/2025, 2:17 PMblue-addition-24214
11/27/2025, 2:17 PMtall-airline-16756
11/27/2025, 2:17 PMAGENT for agent).
1. Exchange join responses
◦ LiveKit confirms joins and returns room/participant state (existing participants, tracks, etc.).
1. Create local offer (one side)
◦ The initiating client (could be frontend or agent) creates a WebRTC SDP offer describing supported codecs, sources, and ICE candidates.
1. Send offer via signaling
◦ The offer is sent to LiveKit over the signaling channel; LiveKit relays it to the target participant(s) in the room.
1. Create answer (other side)
◦ The receiving client creates an SDP answer and local ICE candidates.
1. Send answer via signaling
◦ The answer is sent back over the signaling channel through LiveKit.
1. ICE candidate exchange
◦ Both clients gather and exchange ICE candidates via signaling until connectivity is established (direct or via TURN).
1. DTLS/SRTP setup and media start
◦ DTLS handshake completes, SRTP keys are established, and RTP media (audio/video) begins flowing over the WebRTC peer connection routed by LiveKit.
1. Ongoing control via signaling
◦ Further control messages (mute/unmute, track add/remove, metadata updates, text transcriptions, RPCs) use the signaling channel. Media continues over the WebRTC connection.
If you want, I can:
• Show the same sequence for a specific SDK (JavaScript, Android, iOS, or a server agent).
• Draw out which side typically initiates the offer in common LiveKit setups. Which would you prefer?