# Server SDKs

**URL:** https://community.livekit.io/c/server-sdk/12.md

[Latest](https://community.livekit.io/latest.md) · [Categories](https://community.livekit.io/categories.md) · [Tags](https://community.livekit.io/tags.md)

---

## [About the Server SDKs category](https://community.livekit.io/t/about-the-server-sdks-category/17)

<div class="topic-metadata">

**Author:** [@system](https://community.livekit.io/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2025, 3:02pm UTC](https://community.livekit.io/t/about-the-server-sdks-category/17 "2025-12-22T15:02:08Z")

</div>

Server SDK questions for Go, Node.js, Ruby, Kotlin, Java, Python, etc.

---

## [RemoveParticipant does not seem to revoke the participant's token on LiveKit Cloud](https://community.livekit.io/t/removeparticipant-does-not-seem-to-revoke-the-participants-token-on-livekit-cloud/2556)

<div class="topic-metadata">

**Author:** [@tlepkali](https://community.livekit.io/u/tlepkali)\
**Replies:** 1\
**Last updated:** [November 18, 2026, 8:06am UTC](https://community.livekit.io/t/removeparticipant-does-not-seem-to-revoke-the-participants-token-on-livekit-cloud/2556 "2026-11-18T08:06:22Z")

</div>

Hi, We are building 1:1 and group calls on LiveKit Cloud (project p\_3wx10lkf1l1, EU data region, Build plan for now). Our backend signs short-lived access tokens (5 minutes, roomJoin for one room, identity = a device id…

---

## [LiveKit Cloud – HTTP 401 Invalid Token with Node.js Server SDK](https://community.livekit.io/t/livekit-cloud-http-401-invalid-token-with-node-js-server-sdk/2532)

<div class="topic-metadata">

**Author:** [@jon\_smith](https://community.livekit.io/u/jon_smith)\
**Replies:** 1\
**Last updated:** [November 16, 2026, 10:33am UTC](https://community.livekit.io/t/livekit-cloud-http-401-invalid-token-with-node-js-server-sdk/2532 "2026-11-16T10:33:07Z")

</div>

Hello LiveKit Support Team, I am integrating LiveKit Cloud with a Node.js 24 backend using the official livekit-server-sdk for my ShyTalk-Qatar application. When calling RoomServiceClient.listRooms(), I consistently re…

---

## [Room state inconsistency: “Room does not exist” errors while participants are still connected](https://community.livekit.io/t/room-state-inconsistency-room-does-not-exist-errors-while-participants-are-still-connected/2379)

<div class="topic-metadata">

**Author:** [@Marek\_Adamkiewicz](https://community.livekit.io/u/Marek_Adamkiewicz)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 8:09pm UTC](https://community.livekit.io/t/room-state-inconsistency-room-does-not-exist-errors-while-participants-are-still-connected/2379 "2026-10-27T20:09:22Z")

</div>

Recently, we have experienced a couple of issues with room state inconsistency. As a result, we were unable to start recordings or update room metadata, because the server responded that the room does not exist. We enco…

---

## [What is the best/efficient way to to have an external platform update/inform a livekit room when an event happens](https://community.livekit.io/t/what-is-the-best-efficient-way-to-to-have-an-external-platform-update-inform-a-livekit-room-when-an-event-happens/1960)

<div class="topic-metadata">

**Author:** [@Kamal\_Moha](https://community.livekit.io/u/Kamal_Moha)\
**Replies:** 26\
**Last updated:** [September 20, 2026, 10:18am UTC](https://community.livekit.io/t/what-is-the-best-efficient-way-to-to-have-an-external-platform-update-inform-a-livekit-room-when-an-event-happens/1960 "2026-09-20T10:18:26Z")

</div>

I’m searching to know the most efficient/reliable way to send external events to a livekit room/agent. Use case My use case is that tool calls in Livekit are initiated as background tasks. I’m using Inngest to handle b…

---

## [Existing-tier provider-enforced active-session deadline](https://community.livekit.io/t/existing-tier-provider-enforced-active-session-deadline/2008)

<div class="topic-metadata">

**Author:** [@floopty](https://community.livekit.io/u/floopty)\
**Replies:** 4\
**Last updated:** [September 7, 2026, 11:03am UTC](https://community.livekit.io/t/existing-tier-provider-enforced-active-session-deadline/2008 "2026-09-07T11:03:00Z")

</div>

We are evaluating LiveKit Cloud on the Build plan for an application that currently relies on a provider-enforced finite session lifetime. We need the media service to terminate an active participant or the entire room a…

---

## [How can I sendText from human participant to agent participant](https://community.livekit.io/t/how-can-i-sendtext-from-human-participant-to-agent-participant/1933)

<div class="topic-metadata">

**Author:** [@Kamal\_Moha](https://community.livekit.io/u/Kamal_Moha)\
**Replies:** 2\
**Last updated:** [August 26, 2026, 6:20pm UTC](https://community.livekit.io/t/how-can-i-sendtext-from-human-participant-to-agent-participant/1933 "2026-08-26T18:20:57Z")

</div>

I’m using Whatsapp Connector so that whenever a user sends a message during the call, I want that message the user sent via whatsapp chat to be sent to the agent using sendText ( Sending text | LiveKit Documentation ). T…

---

## [LiveKit Cloud room with maxParticipants=2 admits 3 STANDARD participants](https://community.livekit.io/t/livekit-cloud-room-with-maxparticipants-2-admits-3-standard-participants/1911)

<div class="topic-metadata">

**Author:** [@Jrmiller85](https://community.livekit.io/u/Jrmiller85)\
**Replies:** 5\
**Last updated:** [August 25, 2026, 7:58am UTC](https://community.livekit.io/t/livekit-cloud-room-with-maxparticipants-2-admits-3-standard-participants/1911 "2026-08-25T07:58:07Z")

</div>

I’m seeing a reproducible issue where a LiveKit Cloud room reports maxParticipants: 2 but admits 3 simultaneous STANDARD participants. Environment: LiveKit Cloud livekit-server-sdk@2.15.2 Node/TypeScript Roo…

---

## [Feature request: auto-close room when only 1 participant remains for N seconds](https://community.livekit.io/t/feature-request-auto-close-room-when-only-1-participant-remains-for-n-seconds/1855)

<div class="topic-metadata">

**Author:** [@Nikhil\_Taneja](https://community.livekit.io/u/Nikhil_Taneja)\
**Replies:** 2\
**Last updated:** [August 14, 2026, 12:25am UTC](https://community.livekit.io/t/feature-request-auto-close-room-when-only-1-participant-remains-for-n-seconds/1855 "2026-08-14T00:25:54Z")

</div>

Hey team, Currently LiveKit supports empty\_timeout, departure\_timeout, and max\_duration for room lifecycle management, but there’s no built-in way to handle the case where a room is left with exactly one remaining parti…

---

## [Unable to run livekit-server-sdk in Convex default runtime](https://community.livekit.io/t/unable-to-run-livekit-server-sdk-in-convex-default-runtime/1725)

<div class="topic-metadata">

**Author:** [@PodoTip](https://community.livekit.io/u/PodoTip)\
**Replies:** 3\
**Last updated:** [July 28, 2026, 8:04am UTC](https://community.livekit.io/t/unable-to-run-livekit-server-sdk-in-convex-default-runtime/1725 "2026-07-28T08:04:58Z")

</div>

v2 moved to using web crypto but there is still import(‘node:crypto’) somewhere which doesn’t allow running in Convex’s default cf-workers like v8 isolate runtime and i need to use the slower ‘use node’ runtime. I just w…

---

## [Update maxParticipants after room creation](https://community.livekit.io/t/update-maxparticipants-after-room-creation/1740)

<div class="topic-metadata">

**Author:** [@PodoTip](https://community.livekit.io/u/PodoTip)\
**Replies:** 2\
**Last updated:** [July 27, 2026, 10:35pm UTC](https://community.livekit.io/t/update-maxparticipants-after-room-creation/1740 "2026-07-27T22:35:47Z")

</div>

How and why is there no option to update maxParticipants ? Why can’t we do increase maxParticipants after room creation as needed like this: roomServiceClient.updateRoomConfig({ maxParticipants: 30 }) Can/will this be a…

---

## [Video Frame Metadata support for Golang SDK](https://community.livekit.io/t/video-frame-metadata-support-for-golang-sdk/1654)

<div class="topic-metadata">

**Author:** [@kangjingyang](https://community.livekit.io/u/kangjingyang)\
**Replies:** 4\
**Last updated:** [July 15, 2026, 6:37pm UTC](https://community.livekit.io/t/video-frame-metadata-support-for-golang-sdk/1654 "2026-07-15T18:37:23Z")

</div>

Hi LiveKit community! I’m interested in the recently introduced video frame metadata feature, and I’m curious about the support for it in Golang SDK, is it on the roadmap?

---

## [Include room metadata in webhook events](https://community.livekit.io/t/include-room-metadata-in-webhook-events/790)

<div class="topic-metadata">

**Author:** [@simon.beeli](https://community.livekit.io/u/simon.beeli)\
**Replies:** 3\
**Last updated:** [July 2, 2026, 7:57am UTC](https://community.livekit.io/t/include-room-metadata-in-webhook-events/790 "2026-07-02T07:57:25Z")

</div>

Hi Guys, for a requirement we have i would like to add the room metadata to all webhook events. I saw that the room is present in all events except for EgressInfo/IngressInfo and would like to add the room to the callbac…

---

## [Livekit API Error](https://community.livekit.io/t/livekit-api-error/1397)

<div class="topic-metadata">

**Author:** [@siddharthmot](https://community.livekit.io/u/siddharthmot)\
**Replies:** 2\
**Last updated:** [June 11, 2026, 4:37am UTC](https://community.livekit.io/t/livekit-api-error/1397 "2026-06-11T04:37:54Z")

</div>

Don’t know why, but getting this errors for multiple calls. The call goes well but at the end the error is getting triggered : livekit\_api::signal\_client::signal\_stream:371:livekit\_api::signal\_client::signal\_stream - …

---

## [Native WhatsApp Calls integration with SIP](https://community.livekit.io/t/native-whatsapp-calls-integration-with-sip/1020)

<div class="topic-metadata">

**Author:** [@Shubham\_shubh](https://community.livekit.io/u/Shubham_shubh)\
**Replies:** 4\
**Last updated:** [June 3, 2026, 1:08pm UTC](https://community.livekit.io/t/native-whatsapp-calls-integration-with-sip/1020 "2026-06-03T13:08:17Z")

</div>

Hi LiveKit team, I’m exploring whether LiveKit supports a native integration for WhatsApp Calls using SIP. Specifically, I’d like to know: Can LiveKit SIP be connected directly to WhatsApp voice calls? Is there a…

---

## [ElevenLabs pretty slow despite using inference](https://community.livekit.io/t/elevenlabs-pretty-slow-despite-using-inference/1132)

<div class="topic-metadata">

**Author:** [@Pete](https://community.livekit.io/u/Pete)\
**Replies:** 4\
**Last updated:** [May 28, 2026, 3:43pm UTC](https://community.livekit.io/t/elevenlabs-pretty-slow-despite-using-inference/1132 "2026-05-28T15:43:37Z")

</div>

Team, I am struggling with 11Labs performance with in Livekit. I am getting 3-4 second turnaround on Elevenlabs. I am trying to migrate from 11Labs and hence trying to keep the same setup for now, but it’s at least a se…

---

## [Server API SendData not delivered to Python on data\_received using version 1.5.10](https://community.livekit.io/t/server-api-senddata-not-delivered-to-python-on-data-received-using-version-1-5-10/1175)

<div class="topic-metadata">

**Author:** [@Kamal\_Moha](https://community.livekit.io/u/Kamal_Moha)\
**Replies:** 9\
**Last updated:** [May 27, 2026, 12:23pm UTC](https://community.livekit.io/t/server-api-senddata-not-delivered-to-python-on-data-received-using-version-1-5-10/1175 "2026-05-27T12:23:16Z")

</div>

I’m trying to send data from an external source to livekit agent. As mentioned in the docs, I’m using Data Packets and SendData to do this. Below is agent.py from dotenv import load\_dotenv import asyncio import json fr…

---

## [No logs. SENTRY\_DSN configured](https://community.livekit.io/t/no-logs-sentry-dsn-configured/258)

<div class="topic-metadata">

**Author:** [@Nika\_Shelia](https://community.livekit.io/u/Nika_Shelia)\
**Replies:** 7\
**Last updated:** [May 2, 2026, 12:30pm UTC](https://community.livekit.io/t/no-logs-sentry-dsn-configured/258 "2026-05-02T12:30:20Z")

</div>

Configured the SECRET\_LIST in GitHub Action to use SENTRY\_DSN. I also see it when running lk agent secrets │ SENTRY\_DSN │ 2026-02-04T23:46:01Z │ 2026-02-06T00:05:09Z │ I don’t see any errors, logs in the Sen…

---

## [PHP Server SDK Update](https://community.livekit.io/t/php-server-sdk-update/879)

<div class="topic-metadata">

**Author:** [@info1](https://community.livekit.io/u/info1)\
**Replies:** 1\
**Last updated:** [April 24, 2026, 7:31pm UTC](https://community.livekit.io/t/php-server-sdk-update/879 "2026-04-24T19:31:45Z")

</div>

Hi, I’m currently doing an update on the PHP Sever SDK, and adding all the missing Client Endpoints SIP, Connector, Simulator, Phone Number, etc and I had a question for the LiveKit Team. I was wondering if the doc site…

---

## [Detect Direct Messages / Datapackets](https://community.livekit.io/t/detect-direct-messages-datapackets/912)

<div class="topic-metadata">

**Author:** [@Josh\_Lambright](https://community.livekit.io/u/Josh_Lambright)\
**Replies:** 7\
**Last updated:** [April 23, 2026, 2:24am UTC](https://community.livekit.io/t/detect-direct-messages-datapackets/912 "2026-04-23T02:24:05Z")

</div>

I’m curious how one would leverage the destinationSID/Identities to implement a direct send feature. Or, how you can detect direct messages with the server SDK (Go specifically).

---

## [Raised an PR solving issue 1179: gemini-3.1-live model support fix](https://community.livekit.io/t/raised-an-pr-solving-issue-1179-gemini-3-1-live-model-support-fix/738)

<div class="topic-metadata">

**Author:** [@swayam\_gupta](https://community.livekit.io/u/swayam_gupta)\
**Replies:** 1\
**Last updated:** [April 1, 2026, 9:21am UTC](https://community.livekit.io/t/raised-an-pr-solving-issue-1179-gemini-3-1-live-model-support-fix/738 "2026-04-01T09:21:15Z")

</div>

Hi team, I tried picking the issue (#1179). Both issues are addressed, pushAudio() now sends the audio field directly instead of mediaChunks, and generateReply() switches from sendClientContent to sendRealtimeInput({ tex…

---

## [Request for reviewer](https://community.livekit.io/t/request-for-reviewer/581)

<div class="topic-metadata">

**Author:** [@Deepak\_Medam](https://community.livekit.io/u/Deepak_Medam)\
**Replies:** 5\
**Last updated:** [March 17, 2026, 8:57am UTC](https://community.livekit.io/t/request-for-reviewer/581 "2026-03-17T08:57:11Z")

</div>

Hello livekit team, I am an engineer from TrugenAI. We made a new node-js plugin to integration TrugenAi and livekit agents and raised a PR and its been a while. No reviewer has been assigned to review the PR and build w…

---

## [Agent Session Say Done Callback](https://community.livekit.io/t/agent-session-say-done-callback/364)

<div class="topic-metadata">

**Author:** [@Antonio\_Palomino](https://community.livekit.io/u/Antonio_Palomino)\
**Replies:** 8\
**Last updated:** [March 9, 2026, 9:13am UTC](https://community.livekit.io/t/agent-session-say-done-callback/364 "2026-03-09T09:13:39Z")

</div>

Hi everyone, As I explained in my last question, I’ve implemented a custom behaviour in my python server where I handle a text input from my client, then I make a request to another server (of my own) and this response …

---

## [Please update Turn Detection Model](https://community.livekit.io/t/please-update-turn-detection-model/481)

<div class="topic-metadata">

**Author:** [@filippo](https://community.livekit.io/u/filippo)\
**Replies:** 3\
**Last updated:** [March 9, 2026, 9:09am UTC](https://community.livekit.io/t/please-update-turn-detection-model/481 "2026-03-09T09:09:58Z")

</div>

please update Turn Detection Model there is a great and brand new QWEN 3.5 0.8B model available.

---

## [Questions regarding forwarding participants](https://community.livekit.io/t/questions-regarding-forwarding-participants/440)

<div class="topic-metadata">

**Author:** [@Valerian\_Vasseur](https://community.livekit.io/u/Valerian_Vasseur)\
**Replies:** 3\
**Last updated:** [March 4, 2026, 8:39am UTC](https://community.livekit.io/t/questions-regarding-forwarding-participants/440 "2026-03-04T08:39:06Z")

</div>

Hi, I’m building an admin dashboard to monitor participants across multiple rooms. My goal is to have about 100 participants spread across different rooms, but I want to manage/view them from a single ‘Admin Room’. I’…

---

## [How to initialize and manage DB connections in a Livekit agent?](https://community.livekit.io/t/how-to-initialize-and-manage-db-connections-in-a-livekit-agent/340)

<div class="topic-metadata">

**Author:** [@jovanzac](https://community.livekit.io/u/jovanzac)\
**Replies:** 6\
**Last updated:** [February 28, 2026, 5:11pm UTC](https://community.livekit.io/t/how-to-initialize-and-manage-db-connections-in-a-livekit-agent/340 "2026-02-28T17:11:04Z")

</div>

I basically want to initialize some async DB connections in my Livekit agent. I use Beanie to manage my MongoDB database. Beanie initialization looks something like this (as per the docs): from beanie import init\_beanie…

---

## [Turn Detector Error: "Turn detector does not support language english"](https://community.livekit.io/t/turn-detector-error-turn-detector-does-not-support-language-english/314)

<div class="topic-metadata">

**Author:** [@ari](https://community.livekit.io/u/ari)\
**Replies:** 6\
**Last updated:** [February 18, 2026, 11:30am UTC](https://community.livekit.io/t/turn-detector-error-turn-detector-does-not-support-language-english/314 "2026-02-18T11:30:11Z")

</div>

The MultilingualModel turn detector reports it doesn’t support language “english” even though the STT provider is configured with language=“en”. Environment & Versions Python: 3.12 (or 3.11+ as minimum requirement) liv…

---

## [Support for multiple event callbacks to enable Node.js worker thread isolation](https://community.livekit.io/t/support-for-multiple-event-callbacks-to-enable-node-js-worker-thread-isolation/317)

<div class="topic-metadata">

**Author:** [@alex](https://community.livekit.io/u/alex)\
**Replies:** 2\
**Last updated:** [February 17, 2026, 10:01pm UTC](https://community.livekit.io/t/support-for-multiple-event-callbacks-to-enable-node-js-worker-thread-isolation/317 "2026-02-17T22:01:04Z")

</div>

My team runs a Node.js application on Google Cloud Run that connects to multiple LiveKit rooms simultaneously, sending and receiving audio track data. We want to isolate each room’s audio processing onto its own Node.js…

---

## [Agent Session Say method with local audio files](https://community.livekit.io/t/agent-session-say-method-with-local-audio-files/274)

<div class="topic-metadata">

**Author:** [@Antonio\_Palomino](https://community.livekit.io/u/Antonio_Palomino)\
**Replies:** 2\
**Last updated:** [February 11, 2026, 4:21pm UTC](https://community.livekit.io/t/agent-session-say-method-with-local-audio-files/274 "2026-02-11T16:21:58Z")

</div>

Hi everyone, I’m using a custom behaviour in my python server where I handle a text input from my client, then I make a request to another server (of my own) and this response I send it back to the client using AgentSes…

---

## [Best practices for managing LiveKitAPI object in Python applications](https://community.livekit.io/t/best-practices-for-managing-livekitapi-object-in-python-applications/212)

<div class="topic-metadata">

**Author:** [@LiveKit-Community](https://community.livekit.io/u/LiveKit-Community)\
**Replies:** 1\
**Last updated:** [January 21, 2026, 1:56pm UTC](https://community.livekit.io/t/best-practices-for-managing-livekitapi-object-in-python-applications/212 "2026-01-21T13:56:23Z")

</div>

This question originally came up in our Slack community and the thread has been consolidated here for long-term reference. What are the best practices for passing around a LiveKitAPI object in a large Python application…

[Next page](https://community.livekit.io/c/server-sdk/12.md?page=1)
