Releases: livekit/node-sdks
Release list
livekit-server-sdk@2.17.0
Minor Changes
-
Add
LiveKitAPI, a unified entry point that exposes every server API through a property (api.room,api.egress,api.ingress,api.sip,api.agentDispatch,api.connector). It can be constructed with an API key and secret, or with a pre-signed token (no secret required, so it can run client-side), and falls back to theLIVEKIT_URL,LIVEKIT_API_KEY,LIVEKIT_API_SECRET, andLIVEKIT_TOKENenvironment variables. Individual clients also accept atokenviaClientOptions. - #695 (@davidzhao) -
Add
SipCallError, aTwirpErrorsubclass thrown bySipClient.createSipParticipant/transferSipParticipantwhen a call fails with a SIP status. It exposes the SIP response code and reason assipStatusCode/sipStatusgetters, while other error metadata remains available viametadata. - #695 (@davidzhao)
Patch Changes
- feat: auto failover APIs with LK Cloud - #686 (@davidzhao)
@livekit/rtc-node@0.13.31
Patch Changes
- Fix AudioSource.waitForPlayout resolving immediately with audio still queued. The internal playout promise could be left resolved ("latched") by the drain timer firing during a gap between captures, or by clearQueue()/pause; a later waitForPlayout() then consumed the stale resolution and reported playout complete ~queueSizeMs early, clipping the tail of agent speech on every turn in downstream consumers. The waiter is now discarded when released and lazily re-created on the next captureFrame, mirroring python-sdks. As part of this, waitForPlayout() now resolves immediately when no audio is queued instead of blocking until the next release. - #693 (@chenghao-mou)
livekit-server-sdk@2.16.0
@livekit/rtc-node@0.13.30
livekit-server-sdk@2.15.5
livekit-server-sdk@2.15.4
Patch Changes
- Add token revocation timestamp to RemoveParticipant - #668 (@cnderrauber)
@livekit/rtc-node@0.13.29
Patch Changes
-
bump ffi bindings, includes rpc v2 support - #666 (@stephen-derosa)
-
Add method to query rtcStats on room via
await room.getRtcStats()- #663 (@lukasIO)
livekit-server-sdk@2.15.3
Patch Changes
-
Bump
@livekit/protocolto1.45.6and surface new fields on the agent dispatch and connector clients: - #657 (@anunaym14)AgentDispatchClient.createDispatch: newrestartPolicyoption (cloud only)ConnectorClient.dialWhatsAppCall/acceptWhatsAppCall: newringingTimeoutoption (andwaitUntilAnsweredon accept)ConnectorClient.disconnectWhatsAppCall: new optionaldisconnectReasonparameter- Re-export
JobRestartPolicyandDisconnectWhatsAppCallRequest_DisconnectReason
-
Add canManageAgentSession to VideoGrant - #661 (@theomonnom)
@livekit/rtc-node@0.13.28
Patch Changes
-
Expose
kindDetailsonParticipantand re-export theParticipantKindDetailenum - #657 (@anunaym14) -
feat: handle track republish - #660 (@davidzhao)
-
feat: add support for SimulateScenario - #659 (@davidzhao)