Upgrade LiveKit dependencies
Summary
- Upgrade direct LiveKit dependencies to current stable versions that satisfy the repo's 7-day release-age policy:
livekit-clientto^2.19.1@livekit/react-nativeto^2.11.0@livekit/react-native-expo-pluginto^1.0.2@livekit/react-native-webrtcto^144.1.0
- Merge current
maininto the branch and revert the temporary compatibility changes from #782 now that the service is on LiveKit server 1.12.0:- remove the exact
[email protected]pin - remove
singlePeerConnection: falsefromRoomconstruction - remove the local
livekit-clientpatch registration/file
- remove the exact
- Regenerate
pnpm-lock.yamlwithout LiveKit patch metadata.
Validation
pnpm install --frozen-lockfilepnpm build(Node 24 / lts/Krypton)pnpm lint(Node 24 / lts/Krypton)pnpm --filter @elevenlabs/react-native check-typesgit diff --cached --check
Notes
- Local full/client test runs were blocked by the VM missing Playwright Chromium after the browser installer hung post-download. CI runs tests in the Playwright container image, so the pushed branch is relying on CI for the browser-backed test job.
Checked out the branch locally and ran the example which is exhibiting the symptoms from #661 and #766 - we need to solve that first.
It's my current understanding that we're blocked on upgrading the LiveKit SDKs as they introduced changes which aren't backwards compatible with the server, we're currently working on upgrading the server to unblock this upgrade.
we might not need the git patch after the bump. (see https://github.com/elevenlabs/packages/pull/532) upstream fixed the bug https://github.com/livekit/client-sdk-js/pull/1858
Is this still in progress?
@kalvin807 can you help me verify that the patch is no longer needed? I agree this seems to be the case (with https://github.com/webrtcHacks/adapter/issues/1177#issuecomment-4275558595) but then this issue popped up 🤔 https://github.com/webrtcHacks/adapter/pull/1194

