The NonSharedUint8Array type polyfill is now exported and included in published type declarations, fixing "Cannot find name" errors under skipLibCheck: false and unblocking downstream packages like @livekit/components-*. Added support for user_data frame metadata trailer type and conformed placeholder sections to canonical fmtp for shared payloads.
Client SDK JS
Renamed PacketTrailer to FrameMetadata. Fixed a data channel close race condition and enforced the SDP-defined maxMessageSize on data packets sent via publishData. Added restrictOwnAudio experimental param to AudioCaptureOptions and deployment option to TokenSourceFetch.
Fixed an rtpMap event leak that occurred on multiple negotiations without video tracks. Also fixed a timeout clearing issue and ensured initial media sections are sent with v1 signalling for Firefox.
Fixed a memory leak where the devicechange listener registered on navigator.mediaDevices was not removed when a Room was constructed but never connected, preventing the instance from being garbage-collected. Also disabled publisher offer with join in Firefox and ensured client protocol is set in dual peer connection scenarios.
RPC protocol updates now support infinite payload length in requests and responses.
The data tracks depacketizer now supports multiple in-flight packets, improving reliability when receiving out-of-order or concurrent packet streams.
Patch Changes
Patch Changes
Patch Changes
Patch Changes
Patch Changes
- fixing decodeTokenPayload - #1889 (@thomasyuill-livekit)


