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

Re: RTCSessionDescription and RTCIceCandidate

From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 24 Sep 2015 16:26:09 -0700
Message-ID: <CABkgnnVnohhWEg12Mnd0TVWhjF2o7L3suXQmAnUh2qzTwqQyhQ@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Apparently these serve a purpose: shibboleth.

We can't have an attribute that is a dictionary.  This breaks
localDescription and remoteDescription on RTCPeerConnection.

Thus, I need to restore an interface for RTCSessionDescription.

I've tried to think of ways to make this less awful, but I can't see
any way to do so. Ideally, we'd make RTCSessionDescription attributes
immutable, but applications have come to expect the attributes on
RTCSessionDescription to be mutable. Thus, we have to have a copy of
the actual session description from the local/remoteDescription
getter.  Having to do that is why WebIDL forbids dictionary
attributes.  So we get the worst of all possibilities.

On 10 September 2015 at 16:08, Martin Thomson <martin.thomson@gmail.com> wrote:
> These interfaces serve no good purpose.  I propose that we remove them.
> https://github.com/w3c/webrtc-pc/pull/302
Received on Thursday, 24 September 2015 23:26:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:46 UTC