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

I've written a PR for additional IceTransport read-only attributes and methods

From: Peter Thatcher <pthatcher@google.com>
Date: Wed, 26 Aug 2015 15:50:31 -0700
Message-ID: <CAJrXDUEh-x1uytaJzfo=A7T7twHBD5BPbRoyZGOn6fiFCHmyCA@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
It looks like the PR for DtlsTransport and IceTransport should be merged
soon.  Once it's in, I think it would be valuable to add a few additional
read-only attributes and methods that give the JS the ability to gain
information about the IceTransport, thing such as ICE role, candidates,
ufrag, and pwd.

In particular, I propose we add these:

IceTransport.role
IceTransport.component
IceTransport.gatheringstate
IceTransport.getLocalCandidates()
IceTransport.getRemoteCandidates()
IceTransport.getLocalParameters()  // ufrag + pwd
IceTransport.getRemoteParameters()  // ufrag + pwd
IceTransport.ongatheringstatechange


If you'd like to see the full PR, here it is:

https://github.com/w3c/webrtc-pc/pull/280
Received on Wednesday, 26 August 2015 22:51:38 UTC

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