Skip to content

v1.13.2

Latest

Choose a tag to compare

@alan-george-lk alan-george-lk released this 03 Dec 01:21
· 1 commit to main since this release
e6de848

Overview

This release updates the Rust core to livekit-ffi v0.17.0 and improves track lifecycle, reconnect behavior, and room cleanup.

Important

Note: an upstream Rust change introduces more logging output. If you'd like to disable it, use the following environment variable control:

export RUST_LOG='error,libwebrtc=off'

Patch Changes

  • Fix LocalParticipant::unpublishTrack() hanging when signaling is unavailable during reconnect. Tracks explicitly unpublished by the application stay unpublished after a full reconnect. #305
  • Resolve Mac build issues locally (CI installed different setup than typical local Macs have)
  • CI now runs memory leak checks and reports results in the action summary and on PR. Ideally this should help mitigate major memory leaks in the future

Upstream Rust changes since last C++ release:

  • Keep tracks muted when the application mutes them before or during publishing. Return server rejections promptly when publishing fails. rust-sdks#1050
  • Mark local data tracks as unpublished if the server rejects republishing them after reconnect. Subsequent tryPush() calls with data report that the track is unpublished. rust-sdks#1537
  • Call onReconnecting before the participant-disconnect callbacks caused by a full reconnect. rust-sdks#1591
  • Fetch LiveKit Cloud regions during the first connection attempt and keep the list fresh during calls so failover can start sooner. Stop regional retries when the server rejects the credentials. rust-sdks#1708, rust-sdks#1710, rust-sdks#1707
  • Release remote participants, tracks, and resources held by pending publisher negotiation when a room closes. rust-sdks#1654, rust-sdks#1538
  • Report Connection closed (1506) to in-flight RPC calls when the local room closes. rust-sdks#1671
  • Enable retransmission of lost Opus audio packets when audio redundancy (RED) is disabled, including on end-to-end encrypted tracks. rust-sdks#1683
  • Reduce allocations for incoming video by reusing frame conversion buffers. rust-sdks#1644
  • Prevent crashes from out-of-range E2EE key indices, empty data channel messages in debug builds, and certain WebRTC errors on Windows. rust-sdks#1517, rust-sdks#1698, rust-sdks#1699

What's Changed

Full Changelog: v1.13.1...v1.13.2