Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sdp connection address mismatch issue #1342

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

cnderrauber
Copy link
Contributor

Chrome could generate sdp with c=IN IP4 in edge case and return error when set sdp. This is not a sdk error but correct it if the issue detected.

Chrome could generate sdp with c=IN IP4 <ipv6 addr>
in edge case and return error when set sdp. This is not a
sdk error but correct it if the issue detected.
Copy link

changeset-bot bot commented Dec 5, 2024

🦋 Changeset detected

Latest commit: 9714d8e

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

Copy link
Contributor

github-actions bot commented Dec 5, 2024

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 86.43 KB (+0.07% 🔺)
dist/livekit-client.umd.js 92.58 KB (+0.07% 🔺)

Copy link
Contributor

@boks1971 boks1971 left a comment

Choose a reason for hiding this comment

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

lgtm

4. Press the button to watch the demo run
1. Start server: `pnpm dev`
1. Open browser to local URL (typically http://localhost:5173)
1. Press the button to watch the demo run
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like some formatter getting confused?

);
media.connection.ip = '0.0.0.0';
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a need to check for the other way? It says IP6 and has a v4 address?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if it is a real case.. maybe worth to add.

@cnderrauber cnderrauber merged commit 8b63132 into main Dec 5, 2024
3 checks passed
@cnderrauber cnderrauber deleted the fix_connection_mismatch branch December 5, 2024 06:56
@github-actions github-actions bot mentioned this pull request Dec 5, 2024
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.

2 participants