Skip to content

feat: add disableIceLite connect option - #2085

Open
subham2006 wants to merge 1 commit into
livekit:mainfrom
subham2006:feat/disable-ice-lite-connect-option
Open

feat: add disableIceLite connect option#2085
subham2006 wants to merge 1 commit into
livekit:mainfrom
subham2006:feat/disable-ice-lite-connect-option

Conversation

@subham2006

@subham2006 subham2006 commented Sep 3, 2026

Copy link
Copy Markdown

Adds a disableIceLite option to RoomConnectOptions that sets ConnectionSettings.disable_ice_lite on the join request (and disable_ice_lite=1 on the v0 path), so a client can ask a server running use_ice_lite: true for a full ICE agent, which the server already honors per participant since livekit/livekit#2862 and which livekit/protocol#1151 carried into the join request proto. livekit-server reads disable_ice_lite from the signal URL query string and this SDK preserves caller query params on the /rtc URL, so wss://host?disable_ice_lite=1 already works as an undocumented workaround; no SDK exposes it as an option. libwebrtc clients behind some NATs nominate noticeably slower against a lite remote, so a browser or React Native app had no way to opt out.

@changeset-bot

changeset-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e83bbde

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@CLAassistant

CLAassistant commented Sep 4, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@1egoman

1egoman commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@subham2006 Hi! This pull request generally makes sense though it is worth mentioning that this flag doesn't seem to exist on any other sdks (I also don't know of any sdks that allow passing raw query parameters?).

I'm going to reach out to the SFU team and make sure they don't have any concerns with adding this but unless they bring anything up I'll probably aim to get this merged early to mid next week!

Also, prior to merging, would you be able to click the "CLA not signed yet" button and sign the CLA? Thanks!

@subham2006

Copy link
Copy Markdown
Author

Correct, no SDK exposes this, fixed the description. CLA signed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants