Skip to content

livekit_client 2.15.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 19:18
2312fd8

Minor Changes

  • RTCConfiguration.continualGatheringPolicy. Peer connections now gather ICE candidates continually by default, like the Swift, Android and JS SDKs, so a network change such as Wi-Fi to cellular produces new candidates without waiting for an ICE restart. Set RTCContinualGatheringPolicy.gatherOnce to keep the previous behavior. - #1299 (@evgeniy-gera-it)
  • LiveKitClient.initialize() now enables enableWARP and zeroPlayoutDelay by default. Pass false to keep the previous behavior - #1321 (@cloudwebrtc)
  • Data published without reliable: true is no longer retransmitted, because the maxRetransmits of 0 on the lossy data channel now reaches the platform - #1323 (@hiroshihorie)
  • Single peer connection support - #1025 (@hiroshihorie)

Patch Changes

  • Keep one dependency descriptor extension id across the SDP bundle - #1310 (@cloudwebrtc)
  • disconnect() tears the room down locally after sending the Leave instead of waiting for the server to echo it, so it no longer stalls 10 s when the echo is lost. A disconnect() call while one is already tearing down returns at once, so one Leave is sent and one disconnect reported - #1208 (@hiroshihorie)
  • A late close from a signal socket the SDK already replaced no longer starts another reconnect. In a browser it arrives up to seconds later, which made a room resume every 2 s after its first reconnect - #1211 (@hiroshihorie)
  • Update the Rust core (livekit_ffi) to 0.16.0 - #1329 (@hiroshihorie)
  • Mark SDK plumbing members such as LocalVideoTrack.subscribedCodecs, the prevStats fields of tracks and the proto conversions of RpcError as @internal, so the analyzer warns when an app uses them. - #1314 (@hiroshihorie)
  • Offers and answers now carry offer ids, so a late answer to an offer that an ICE restart or a newer offer replaced is ignored instead of being applied to the wrong offer - #1262 (@hiroshihorie)
  • A track that fails to republish after a full reconnect no longer leaves the tracks after it unpublished or the room without a RoomReconnectedEvent. The failure is logged, the track is reported with a LocalTrackUnpublishedEvent, and the remaining tracks are republished - #1302 (@j-mercker)
  • Signal pings and the ping timeout now restart after a resume, so a signal connection that goes dead after a resume is detected and recovered instead of going unnoticed for the rest of the session - #1328 (@hiroshihorie)
  • Fully reconnect when a resume cannot restart ICE because the pending offer no longer matches the last answer - #1025 (@hiroshihorie)
  • A resume now ends as soon as the server asks for a full reconnect or the signal connection drops, instead of waiting out a timeout of up to 10 seconds, and a resume the server gave up on is no longer reported as reconnected before the full reconnect - #1322 (@hiroshihorie)
  • A resume now waits until the publisher has finished its ICE restart before the room reports it reconnected, so reliable data sent right after a node migration is no longer lost, and a publisher that cannot reconnect leads to a full reconnect instead of repeated resumes. - #1315 (@hiroshihorie)
  • Negotiate Opus NACK on every audio section in single peer connection mode, including send-only offers created before any subscriptions, enabling retransmission of lost audio in both publish and subscribe directions when RED is disabled, such as with end-to-end encryption. Accept server-offered Opus NACK in dual peer connection subscriber answers, with fallback if the modified answer is rejected - #1025 (@hiroshihorie)
  • Web: a signal connection that fails after it opened no longer throws an uncaught Future already completed error - #1303 (@j-mercker)
  • Update flutter_webrtc to 1.7.0 and WebRTC-SDK to 150.7871.09, which on iOS stops the audio engine from starting twice when an audio interruption ends and lets it start again after a failed audio session deactivation - #1323 (@hiroshihorie)