Repository navigation
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
onReconnectingbefore 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
- Resolve flaky capture CI by @alan-george-lk in #309
- Memory regression tests by @alan-george-lk in #275
- Update to livekit-ffi 0.15.0 by @alan-george-lk in #318
- Resolve mac build issue outside of CI by @alan-george-lk in #310
- Update softprops/action-gh-release action to v3.0.4 by @renovate[bot] in #307
- Move capture SDK packaging checks out of PR CI by @alan-george-lk in #326
- Memory tester adjustments by @alan-george-lk in #315
- [🤖 readme-manager] Update README by @alan-george-lk in #334
- Update to Rust FFI v0.16.0, make UniFFI CMake generic, fix broken link by @alan-george-lk in #335
- Update to livekit-ffi 0.17.0, fix unpublish track on room disconnected state hangs indefinitely by @alan-george-lk in #305
Full Changelog: v1.13.1...v1.13.2