W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2015

PR for additional fields in RTCIceCandidate

From: Taylor Brandstetter <deadbeef@google.com>
Date: Fri, 9 Oct 2015 10:27:03 -0700
Message-ID: <CAK35n0bKHS8k-hUq+MBb_AkfGJxBNTZ0FNbwyZbrQvCtMcR0OQ@mail.gmail.com>
To: public-webrtc@w3.org
According to our rough consensus at the Redmond f2f, I created PR 325
<https://github.com/w3c/webrtc-pc/pull/325> which adds the "foundation",
"priority", "ip", "port", and other fields to the RTCIceCandidate
dictionary.

The new fields are copied from the equivalent ORTC RTCIceCandidate
<http://ortc.org/wp-content/uploads/2014/08/ortc.html#rtcicecandidate*>,
with some small tweaks, such as:

   - For host candidates, instead of relatedAddress defaulting to an empty
   string while relatedPort is not present, both fields will simply not be
   present.
   - Minor grammar/formatting changes.

I also added this text to the addIceCandidate description:

"The only members of the candidate attribute used by this method are
candidate, sdpMid and sdpMLineIndex; the rest are ignored."

Which hopefully clarifies that addIceCandidate only cares about the
candidate string, and not the new set of fields.
Received on Saturday, 10 October 2015 07:57:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:09 UTC