releases.shpreview
LiveKit/Client SDK JS

Client SDK JS

Mon
Wed
Fri
JunJulAugSepOctNovDecJanFebMarAprMay
Less
More
Releases14Avg4/moVersionsv2.17.3 to v2.19.1
v2.19.1
Patch Changes
  • Disable publisher offer with join in firefox - #1954 (@cnderrauber)

  • Fix memory leak where the constructor-registered devicechange listener on navigator.mediaDevices was not removed when a Room was constructed but never connected. The listener kept the Room instance reachable from the global navigator.mediaDevices EventTarget, defeating the FinalizationRegistry cleanup. - #1944 (@nikhilgupta58)

  • Ensure that client protocol is set in the dual peer connection case - #1942 (@1egoman)

Patch Changes
  • Ensure that flush called when there are no in flight data track packets works - #1929 (@1egoman)
Patch Changes
  • Add local data track flush method - #1925 (@1egoman)

  • Implement negotiation tracking based on offerId - #1927 (@lukasIO)

  • Ignore data track promise rejections after a subscription readable stream is discarded - #1917 (@1egoman)

  • chore: improve logging foundation for implicit context retrieval - #1907 (@lukasIO)

Patch Changes
  • Pass optional LocalTrack reference to processors - #1916 (@lukasIO)

  • Ensure priority isn't set on all simulcast layers when using Firefox on iOS - #1920 (@lukasIO)

Patch Changes
  • Defer onEnterPiP visibility update until after the next microtask and animation frame so Document Picture-in-Picture embedders can append DOM into the PiP window before isElementInPiP runs. - #1868 (@gparant)

  • Differentiate different 404 responses on validate path - #1901 (@lukasIO)

  • await screen share audio unpublish before returning setEnabled - #1899 (@lukasIO)

  • Avoid attaching a new Closing event listener for each waitForBufferStatusLow call - #1896 (@1egoman)

  • Re-compute encoding params after track replace - #1902 (@lukasIO)

  • Harden extension id computation and retry publishing on negotiation failure - #1895 (@lukasIO)

  • fix: ensure udpated tokens get set on the regionUrlProvider - #1900 (@lukasIO)

Patch Changes
  • fix: handle race between LocalTrackSubscribed signal and publishTrack completion - #1872 (@pabloFuente)

  • Harden RemoteParticipant.dataTracks map to work when a data track subscription is processed before the room connect is complete - #1888 (@1egoman)

  • Update dependency webrtc-adapter to v9.0.5 - #1858 (@renovate)

  • Ensure transport manager is reset before attempting legacy fallback path - #1893 (@lukasIO)

  • Fix data tracks related subscript edge cases when the passed abort signal fires across the subscription lifecycle - #1892 (@1egoman)

Patch Changes
  • Export CheckStatus as enum, not just type - #1855 (@Ludobaka)

  • Add new serializer implementation - #1885 (@1egoman)

  • fix: improve ordering of resolving waitForBufferStatus calls - #1877 (@lukasIO)

  • Close streamcontrollers when datatrack gets unpublished - #1879 (@lukasIO)

  • Buffer stream events until connected - #1867 (@lukasIO)

  • Moves "connected to Livekit Server" log within RTCEngine.join so it shows up for reconnects as well as connects - #1873 (@1egoman)

  • Wrap setE2EEEnabled call in a mutex - #1882 (@lukasIO)

Minor Changes
Patch Changes
  • Ensure freshly created RTCEngine isn't recreated on join - #1843 (@lukasIO)

  • Fix shouldReturnCachedValueFromFetch check for cached options - #1837 (@lukasIO)

  • Fix data stream header length field - #1847 (@ladvoc)

  • Add token fetch force option to skip TokenSource cache - #1839 (@lukasIO)

Patch Changes
  • Update happy-dom dependency version - #1821 (@renovate)

  • e2ee: ensure current key index isn't unintentionally updated - #1830 (@lukasIO)

  • Prevent unmute -> mute -> unmute cycle for track restarts that happen during unmute - #1793 (@mfairley)

  • Use controller.error to signal unexpected errors mid data stream - #1834 (@lukasIO)

  • Signal leave on failed connection attempts if signalling is connected - #1817 (@lukasIO)

  • Vendored ts-debounce and added critical timers to debounce function - #1800 (@mfairley)

  • Ensure cryptor setup respects async queue in worker - #1833 (@lukasIO)

  • Adds new OutgoingDataTrackManager to manage sending data track payloads - #1810 (@1egoman)

Patch Changes
  • Ensure connection state mismatches aren't triggered for ongoing PC connection attempts - #1807 (@lukasIO)

  • Fix unnecessary track restarts on unmute when using ideal device constraints - #1794 (@mfairley)

  • Prevent ongoing renegotiations from declaring the negotiation as timed out - #1813 (@lukasIO)

  • Add data track packetizer and depacketizer implementations - #1798 (@1egoman)

  • Add missing type exports required by @livekit/components-core - #1815 (@1egoman)

Patch Changes
  • Add data track packet serialization + deserialization logic - #1792 (@1egoman)

  • Update docs to clarify other client HKDF support - #1796 (@1egoman)

  • Add attachedStreamIds as text stream metadata - #1805 (@1egoman)

Minor Changes
  • Add new rtc path that defaults to single peer connection mode and falls back to legacy dual pc - #1785 (@lukasIO)
Patch Changes
  • Use TypedPromise for typesafe errors - #1770 (@lukasIO)

  • e2ee: ensure frame cryptor transform setup works for rapid subscription changes - #1789 (@lukasIO)

Patch Changes
  • export type RoomEventCallbacks - #1599 (@shincurry)

  • Remove experimental tag on some stabilized features - #1777 (@lukasIO)

  • Tag errors by name - #1764 (@lukasIO)

  • Fix connection check issues with pinned regions - #1775 (@lukasIO)

  • Control latency of lossy data channel - #1754 (@cnderrauber)

  • Add docs comments making it clear TokenSource-prefixed exported types shouldn't be used for TokenSource construction - #1776 (@1egoman)

  • Fix leaking memory by removing event listener from correct scope - #1768 (@wuhkuh)

Minor Changes
Patch Changes
  • Wait for dc buffer status low for all published packets - #1691 (@lukasIO)

  • Fix message loss during resuming/migration - #1757 (@cnderrauber)

  • Cancel region refresh on invalid tokens - #1755 (@lukasIO)

  • Add connectionCount tracking and stop auto refetching after timeout - #1756 (@lukasIO)

  • Add explicit error types for future helper - #1753 (@lukasIO)

  • fix(LocalTrackAudio): prevent overwriting constraint flags - #1744 (@itamayo)

Last Checked
5h ago
Latest
v2.19.1
Tracking since Feb 2, 2024