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

Handle iceCandidate event with no candidate #1507

Closed
wants to merge 1 commit into from
Closed

Conversation

tsightler
Copy link
Collaborator

This PR addresses compatibility with WeRIFT v.0.20.0 and later which modified onIceCandidate behavior to be the same as browser API. Receiving an iceCandidate event with no candidate means all candidates are gathered.

This code just ignores evens with no candidate property, but we could also add an else and log ICE gathering complete for debug purposes if you think that is useful.

iceCandidate event with no candidate means all candidates are gathered.
@dgreif
Copy link
Owner

dgreif commented Nov 2, 2024

I've got a fix for this in the beta branch now. Thanks for the heads up and initial research!

@dgreif dgreif closed this Nov 2, 2024
@dgreif dgreif deleted the werift-v0.20 branch November 2, 2024 14:49
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