Skip to content

Releases: livekit/node-sdks

livekit-server-sdk@2.17.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 03:32
5c0721a

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 the LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_TOKEN environment variables. Individual clients also accept a token via ClientOptions. - #695 (@davidzhao)

  • Add SipCallError, a TwirpError subclass thrown by SipClient.createSipParticipant / transferSipParticipant when a call fails with a SIP status. It exposes the SIP response code and reason as sipStatusCode / sipStatus getters, while other error metadata remains available via metadata. - #695 (@davidzhao)

Patch Changes

@livekit/rtc-node@0.13.31

Choose a tag to compare

@github-actions github-actions released this 08 Jul 03:32
5c0721a

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

Choose a tag to compare

@github-actions github-actions released this 30 Jun 14:54
d49a0c0

Minor Changes

Patch Changes

  • Add callee dispatch rule support to createSipDispatchRule - #684 (@lukasIO)

@livekit/rtc-node@0.13.30

Choose a tag to compare

@github-actions github-actions released this 30 Jun 14:54
d49a0c0

Patch Changes

  • Add initial support for frame processor usage directly on tracks - #671 (@1egoman)

livekit-server-sdk@2.15.5

Choose a tag to compare

@github-actions github-actions released this 18 Jun 16:25
b93b143

Patch Changes

livekit-server-sdk@2.15.4

Choose a tag to compare

@github-actions github-actions released this 28 May 04:02
444955d

Patch Changes

@livekit/rtc-node@0.13.29

Choose a tag to compare

@github-actions github-actions released this 26 May 14:21
7bd5478

Patch Changes

livekit-server-sdk@2.15.3

Choose a tag to compare

@github-actions github-actions released this 13 May 20:08
4885d82

Patch Changes

  • Bump @livekit/protocol to 1.45.6 and surface new fields on the agent dispatch and connector clients: - #657 (@anunaym14)

    • AgentDispatchClient.createDispatch: new restartPolicy option (cloud only)
    • ConnectorClient.dialWhatsAppCall / acceptWhatsAppCall: new ringingTimeout option (and waitUntilAnswered on accept)
    • ConnectorClient.disconnectWhatsAppCall: new optional disconnectReason parameter
    • Re-export JobRestartPolicy and DisconnectWhatsAppCallRequest_DisconnectReason
  • Add canManageAgentSession to VideoGrant - #661 (@theomonnom)

@livekit/rtc-node@0.13.28

Choose a tag to compare

@github-actions github-actions released this 13 May 20:08
4885d82

Patch Changes

@livekit/rtc-node@0.13.27

Choose a tag to compare

@github-actions github-actions released this 28 Apr 13:08
4fb6741

Patch Changes

  • fix(rtc): consistent connection state handling - #655 (@lukasIO)