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

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