W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2013

Re: On babies and bathwater (was Re: [rtcweb] Summary of Application Developers' opinions of the current WebRTC API and SDP as a control surface)

From: Roman Shpount <roman@telurix.com>
Date: Thu, 25 Jul 2013 13:01:28 -0400
Message-ID: <CAD5OKxug9PLOov3SXgz1XL4s+s2mrGNDuh7g3Ryw=iEFEs76=A@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: cowwoc <cowwoc@bbs.darktech.org>, "public-webrtc@w3.org" <public-webrtc@w3.org>
On Thu, Jul 25, 2013 at 12:17 PM, Eric Rescorla <ekr@rtfm.com> wrote:

>
> This last statement doesn't really work. There's no straight line
> conversion
> from constraints to SDP.
>
>
>
I think what Gili had in mind are not constraints. What he is probably
trying to say is to convert session description from string blob which
contains SDP into a JavaScript object. You can define the data structure of
this object by mapping features currently implemented in browser SDP to
data fields. If the scope of browser SDP features is well defined this is a
fairly trivial task. For compatibility and convenience it can be possible
to define methods to serialize and de-serialize such object from SDP. As
long as this object maps features (like ICE candidates and DTLS keys) and
not just simple parsed SDP structure (dictionary of SDP attributes), this
would get us to testable, well defined API the quickest. This is not going
to be as extendable as SDP, but I think this will go well with overall idea
of reducing scope.
_____________
Roman Shpount
Received on Thursday, 25 July 2013 17:01:58 UTC

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