-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add missing RTCIceCredentialType to the RTCIceServer #320
Conversation
In my opinion, I think it makes more sense to submit a PR to They do nothing for |
Doing nothing would also be a problem because then the password wouldn't be passed along, right? |
Oh, I see now. Yeah this PR makes sense to me. |
I'm still not completely sure if what webrtc-rs does is a good idea. I took the liberty of adding a commit that explains the issue and the workaround as I see it. Let me know if this matches/don't matches your understanding. |
This is already fixed in johanhelsing#320 but is only on `main`.
Problem:
The default RTCIceCredentialType is
Unspecified
and that will eventually end up crashing when used here because the return value will be Err since thisThis PR will default to
RTCIceCredentialType::Password
. I don't know if that's what you would prefer, but it fixes my problem :)