Rust SDKs
npx @buildinternet/releases get livekit-rust-sdksLocalDataTrack, RemoteDataTrack and DataTrackStream are now exposed over UniFFI in room-apis builds as the same objects core-modules exports. NACK is now negotiated for Opus, so lost audio packets are retransmitted when RED is off, for example with E2EE.
Opus now negotiates NACK, so lost audio packets are retransmitted when RED is off, such as with E2EE. The release also updates livekit to 0.12.1.
The Rust SDK now negotiates NACK for Opus, so lost audio packets are retransmitted when RED is disabled, for example with end-to-end encryption.
The polled outgoing data stream adapter now resolves a send once the host reports its batch as sent, replacing OutgoingPacketQueue.next_packets() with next_batch(), which returns packets plus an ack the host must complete() or fail(reason). The RTC sample field and stats report argument track_sid are renamed to track_id, and telemetry reconnect reasons export as TelemetryReconnectReason across Swift, Kotlin, Python and Dart.
The protocol submodule moves to the merged registry and adds semconv, breaking the generated Rust source without a compatibility alias. DataTrackExtensionId::DteiParticipantSidLow is gone, value 1 is now DteiE2ee, and request messages gain fields so exhaustive matches need new arms.
livekit-signaling 0.3.0 is a breaking upgrade of the generated Rust source: DataTrackExtensionId::DteiParticipantSidLow is gone with value 1 now DteiE2ee, media_source gains a Videos variant, several types lose Eq, Hash, or Copy, and request messages gain fields that require ..Default::default() in struct literals. RoomOptions::publish_tracks now publishes tracks with the join request in single peer connection mode, and publishing fails as soon as the server refuses a track instead of after the publish timeout.
A new RoomOptions::publish_tracks publishes tracks with the join request in single peer connection mode, avoiding a separate AddTrackRequest and SDP negotiation. The upgrade to a breaking livekit-protocol release changes the publicly exposed protocol types, so callers destructuring payloads like EgressOutput::Stream need to update.
Telemetry names now come from the protocol registry, so room, participant and track identifiers are sent as lk.room_id, lk.participant_id and lk.track_id. The exported RTC sample field and stats report argument are renamed from track_sid to track_id, and callers must migrate the input name while passing the same track identifier values. The release also adds a process-wide global telemetry pipeline and an exporter that caches and uploads OTLP batches under a device-aware cadence and hold policy.
Generated telemetry and protocol types moved to the merged Weaver registry, removing DataTrackExtensionId::DteiParticipantSidLow, renaming value 1 to DteiE2ee, adding the Videos variant to media_source::Video, and dropping Eq and Hash from Video, StreamOutput, UpdateStreamRequest, and MigrateJobRequest. Exhaustive matches and struct literals need new arms or ..Default::default(), and the same break reaches livekit-common, livekit-data-stream, livekit-rpc, livekit-token, livekit-signaling, livekit, and livekit-capture.
Fixed Objective-C linking, a debug-build abort when a data channel receives an empty message, and an intermittent Windows abort when a webrtc-sys call reports an error to Rust. Error messages are now owned by the thrown exception instead of pointing at a temporary.
The generated protocol source breaks downstream code: DataTrackExtensionId::DteiParticipantSidLow is removed and value 1 is now DteiE2ee, while media_source::Video gains a Videos variant and UpdateStreamRequest gains fields that break exhaustive matches and struct literals. Every crate exposing protocol types takes the same break, and AgentDB wire errors now carry a numeric code with its name and description.
livekit-capture 0.3.0 adds semconv, telemetry names generated from the protocol's Weaver registry, and the break propagates to livekit-common, livekit-common-dependent crates such as livekit-data-stream, livekit-datatrack, livekit-rpc, livekit-token, livekit-signaling and livekit, which expose protocol types in their public API. Downstream code needs ..Default::default() or new match arms, and DataTrackExtensionId::DteiParticipantSidLow is now DteiE2ee, so the old JSON name no longer parses.
Telemetry names and enums are regenerated from the protocol's Weaver registry, and several generated types change or lose trait impls, so downstream code needs updated matches and struct literals. Added RoomOptions::publish_tracks so tracks can be published with the join request, and fixed an intermittent Windows abort caused by a dangling error message.
Code that matches TransportError exhaustively, in Rust or in the generated Swift and Kotlin bindings, needs a new case for the TransportError::ResponseTooLarge variant. Agent database access is now scoped to a thread or database through AgentThreadGrants sql and the new agentDatabase claim, replacing AgentGrants::database_admin and removing Thread::database_id.
libwebrtc messages are now logged at their own severity, so its warnings and errors are no longer filtered out by default in every SDK. KeyProvider also handles out-of-range key indices gracefully and clamps key_ring_size to valid bounds.
KeyProvider now handles out-of-range key indices gracefully and clamps key_ring_size to valid bounds.
Telemetry export now uses an opt-in limit on decoded HTTP response size, reporting oversized responses as a new TransportError::ResponseTooLarge variant. Code that matches TransportError exhaustively, including generated Swift and Kotlin bindings, needs a case for it.
An opt-in decoded HTTP response limit used by telemetry export now reports oversized responses as a new TransportError::ResponseTooLarge variant, requiring an extra match case in Rust and generated Swift and Kotlin bindings. Agent database access is now scoped per thread or database, with AgentGrants::database_admin removed and DatabaseClient signing each call with only the grant it needs.
The native HTTP client no longer follows redirects from https to a plaintext scheme, so an Authorization header never reaches a plaintext URL on the same host and port, while http to https upgrades are still followed. A new opt-in decoded HTTP response limit reports oversized responses as the TransportError::ResponseTooLarge variant, requiring an added match arm in code that exhaustively matches TransportError, including the generated Swift and Kotlin bindings.