Re: How to get/set a=ice-options attributes with ORTC

2014-10-22 21:51 GMT+02:00 Jiannan Zheng <jzheng@exchange.microsoft.com>:
> For SDP line a=ice-options, how to get the local/set the remote on ORTC?
> getLocalParameters only has:
> dictionary RTCIceParameters {
>     DOMString usernameFragment;
>     DOMString password;
> };


Currently there is no one standarized value for 'ice-options'. If you
concern is about "a=ice-options:google-ice" or something like that
(which obviously is defined no where) the answer is easy:

ORTC does not define a "format" like SDP. It is an API and hence there
is no room for setting un-meaningful key/value pairs. This is, why do
you want to provide your ORTC stack with a "google-ice" option if the
stack itself will do nothing with it?

In the other side, if you are worried about "SDP<->ORTC
migration/interoperability" then the JS shim should get rid of invalid
attributes found in the SDP (as "google-ice").

-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Wednesday, 22 October 2014 23:29:54 UTC