Skip to content

Add usernameFragment in RTCIceCandidate? #29

@samrat

Description

@samrat

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions