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

Add usernameFragment in RTCIceCandidate? #29

Open
samrat opened this issue Dec 28, 2024 · 0 comments
Open

Add usernameFragment in RTCIceCandidate? #29

samrat opened this issue Dec 28, 2024 · 0 comments

Comments

@samrat
Copy link

samrat commented Dec 28, 2024

Hello,

I'm trying to use flutter-webrtc with ex_webrtc.

ex_webrtc seems to expect usernameFragment to be part of the ICE candidate: https://github.com/elixir-webrtc/ex_webrtc/blob/2ef1582fd4436ccbe4f29db9ea3329c59a62f276/lib/ex_webrtc/ice_candidate.ex#L21

And from https://www.w3.org/TR/webrtc/#rtcicecandidate-interface, it sounds like the field is supposed to be present:

Other than candidate, sdpMid, sdpMLineIndex, and usernameFragment, the remaining attributes are derived from parsing the candidate member in candidateInitDict, if it is well formed.

Is there a way to pass the usernameFragment as part of the ICE candidate? Since I'm new to WebRTC: should flutter-webrtc be sending this field(or perhaps it's ex_webrtc's behaviour that should be adjusted)?

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

No branches or pull requests

1 participant