8000 Fix parsing stun configuration by ashellunts · Pull Request #789 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

Fix parsing stun configuration #789

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

Merged

Conversation

ashellunts
Copy link
Contributor

Code was expecting a stun value to be under key 'url'.
I have added support for format of stun where url is just a string.

Diff is not good, because most of the code is actually not changed (just inserted inside if block).

Code was expecting a stun value to be under key 'url'
@hiroshihorie
Copy link
Member

@davidzhao @cloudwebrtc Hi guys ! @ashellunts found this issue that was causing a crash on Windows.
I am not fully aware of WebRTC's specs but with this PR both map and string should be ok.

https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/urls
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/url

@cloudwebrtc
Copy link
Member

LGTM

@cloudwebrtc cloudwebrtc merged commit 2b573b0 into flutter-webrtc:master Dec 2, 2021
@hiroshihorie hiroshihorie deleted the fix_stun_parsing_windows branch December 2, 2021 03:35
@ashellunts
Copy link
Contributor Author

@cloudwebrtc can you release new version, please?

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
0