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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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.
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.

1 participant