diff --git a/.changeset/audio-nack-single-pc.md b/.changeset/audio-nack-single-pc.md deleted file mode 100644 index 062cc59fc6..0000000000 --- a/.changeset/audio-nack-single-pc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Retransmit lost audio in single peer connection mode when RED is off, for example with E2EE. diff --git a/.changeset/await-mixed-audio-output-routing.md b/.changeset/await-mixed-audio-output-routing.md deleted file mode 100644 index debd6de07a..0000000000 --- a/.changeset/await-mixed-audio-output-routing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Await `AudioContext.setSinkId()` when switching the audio output with `webAudioMix` enabled, so the switch only resolves (and emits `ActiveDeviceChanged`) once routing succeeds, and routing failures reject instead of becoming unhandled rejections diff --git a/.changeset/deprecate-legacy-transcription-events.md b/.changeset/deprecate-legacy-transcription-events.md deleted file mode 100644 index d6a98ca539..0000000000 --- a/.changeset/deprecate-legacy-transcription-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Deprecate the `TranscriptionReceived` room, participant and track events and the `TranscriptionSegment` type in favor of a text stream handler for the `lk.transcription` topic diff --git a/.changeset/emit-events-after-reconnect.md b/.changeset/emit-events-after-reconnect.md deleted file mode 100644 index 49b4c1374b..0000000000 --- a/.changeset/emit-events-after-reconnect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Room events emitted right after a reconnect are no longer held back. The room went back to `Connected` and emitted `Reconnected` while the engine still reported a pending reconnect until its attempt settled, so events such as `RoomMetadataChanged` or `ActiveSpeakersChanged` sent in that window were buffered and never emitted. diff --git a/.changeset/keep-last-publisher-transceiver.md b/.changeset/keep-last-publisher-transceiver.md deleted file mode 100644 index 679b57d373..0000000000 --- a/.changeset/keep-last-publisher-transceiver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Keep the last transceiver of the publisher connection when you unpublish its track. A stop of the only transceiver made the browser drop the transport of the connection, and the next publish sent no media. diff --git a/.changeset/keep-transceiver-per-kind.md b/.changeset/keep-transceiver-per-kind.md deleted file mode 100644 index 00ed010d16..0000000000 --- a/.changeset/keep-transceiver-per-kind.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Keep the last audio transceiver and the last video transceiver of the publisher connection when you unpublish their tracks. After a stop of all transceivers, some browsers gave the next track new header extension ids, and the publish failed. diff --git a/.changeset/processor-stopped-during-restart.md b/.changeset/processor-stopped-during-restart.md deleted file mode 100644 index 9172abbd4f..0000000000 --- a/.changeset/processor-stopped-during-restart.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Reject with a `TrackInvalidError` for a track stopped during a processor restart or `setProcessor()` diff --git a/.changeset/stop-unpublished-transceiver.md b/.changeset/stop-unpublished-transceiver.md deleted file mode 100644 index 1263a33fff..0000000000 --- a/.changeset/stop-unpublished-transceiver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Stop the transceivers of a track when you unpublish it or when the server rejects its publish. Chrome then frees their encoders (about 95 MB per screen share) before the room disconnects. This needs a server with protocol 19 or higher; with an older server the transceivers stay inactive as before. diff --git a/.changeset/transcription-back-conversion.md b/.changeset/transcription-back-conversion.md deleted file mode 100644 index d3fc45b76b..0000000000 --- a/.changeset/transcription-back-conversion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': minor ---- - -Rebuild transcription events from `lk.transcription` data streams and advertise client protocol 3 diff --git a/.changeset/wrapper-sdk-client-info.md b/.changeset/wrapper-sdk-client-info.md deleted file mode 100644 index d93bedbbaa..0000000000 --- a/.changeset/wrapper-sdk-client-info.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Add internal `setWrapperSdkInfo` so SDKs built on top of livekit-client (e.g. Unity WebGL) report their own SDK and version in `ClientInfo`, with livekit-client's version in `other_sdks` diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ca43e7ad3..e30f105a66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 2.25.0 + +### Minor Changes + +- Rebuild transcription events from `lk.transcription` data streams and advertise client protocol 3 - [#2093](https://github.com/livekit/client-sdk-js/pull/2093) ([@1egoman](https://github.com/1egoman)) + +### Patch Changes + +- Retransmit lost audio in single peer connection mode when RED is off, for example with E2EE. - [#2270](https://github.com/livekit/client-sdk-js/pull/2270) ([@jamesdawsonWD](https://github.com/jamesdawsonWD)) +- Await `AudioContext.setSinkId()` when switching the audio output with `webAudioMix` enabled, so the switch only resolves (and emits `ActiveDeviceChanged`) once routing succeeds, and routing failures reject instead of becoming unhandled rejections - [#2276](https://github.com/livekit/client-sdk-js/pull/2276) ([@1egoman](https://github.com/1egoman)) +- Deprecate the `TranscriptionReceived` room, participant and track events and the `TranscriptionSegment` type in favor of a text stream handler for the `lk.transcription` topic - [#2093](https://github.com/livekit/client-sdk-js/pull/2093) ([@1egoman](https://github.com/1egoman)) +- Room events emitted right after a reconnect are no longer held back. The room went back to `Connected` and emitted `Reconnected` while the engine still reported a pending reconnect until its attempt settled, so events such as `RoomMetadataChanged` or `ActiveSpeakersChanged` sent in that window were buffered and never emitted. - [#2186](https://github.com/livekit/client-sdk-js/pull/2186) ([@ANDROIDHASSAN](https://github.com/ANDROIDHASSAN)) +- Keep the last transceiver of the publisher connection when you unpublish its track. A stop of the only transceiver made the browser drop the transport of the connection, and the next publish sent no media. - [#2282](https://github.com/livekit/client-sdk-js/pull/2282) ([@lukasIO](https://github.com/lukasIO)) +- Keep the last audio transceiver and the last video transceiver of the publisher connection when you unpublish their tracks. After a stop of all transceivers, some browsers gave the next track new header extension ids, and the publish failed. - [#2284](https://github.com/livekit/client-sdk-js/pull/2284) ([@lukasIO](https://github.com/lukasIO)) +- Reject with a `TrackInvalidError` for a track stopped during a processor restart or `setProcessor()` - [#2280](https://github.com/livekit/client-sdk-js/pull/2280) ([@lukasIO](https://github.com/lukasIO)) +- Stop the transceivers of a track when you unpublish it or when the server rejects its publish. Chrome then frees their encoders (about 95 MB per screen share) before the room disconnects. This needs a server with protocol 19 or higher; with an older server the transceivers stay inactive as before. - [#2249](https://github.com/livekit/client-sdk-js/pull/2249) ([@lukasIO](https://github.com/lukasIO)) +- Add internal `setWrapperSdkInfo` so SDKs built on top of livekit-client (e.g. Unity WebGL) report their own SDK and version in `ClientInfo`, with livekit-client's version in `other_sdks` - [#2265](https://github.com/livekit/client-sdk-js/pull/2265) ([@MaxHeimbrock](https://github.com/MaxHeimbrock)) + ## 2.24.1 ### Patch Changes diff --git a/package.json b/package.json index 35ad86e0ef..fb2def3f1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "livekit-client", - "version": "2.24.1", + "version": "2.25.0", "description": "JavaScript/TypeScript client SDK for LiveKit", "main": "./dist/livekit-client.umd.js", "unpkg": "./dist/livekit-client.umd.js", @@ -158,4 +158,4 @@ "vitest": "^4.1.10" }, "packageManager": "pnpm@10.34.7" -} +} \ No newline at end of file