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

Re: SDP wrapper? Object-oriented API?

From: Roman Shpount <roman@telurix.com>
Date: Wed, 19 Jun 2013 11:05:42 -0400
Message-ID: <CAD5OKxuczQhGrknDw6oKFPY4xBCtBmCu2Dc9YhRX4yi6ZgMZ8Q@mail.gmail.com>
To: "piranna@gmail.com" <piranna@gmail.com>
Cc: Iñaki Baz Castillo <ibc@aliax.net>, cowwoc <cowwoc@bbs.darktech.org>, Frédéric Luart <frederic.luart@apizee.com>, public-webrtc@w3.org, Silvia Pfeiffer <silviapfeiffer1@gmail.com>
On Wed, Jun 19, 2013 at 10:56 AM, piranna@gmail.com <piranna@gmail.com>wrote:

> So, for your answer, I should understand it would be done/masked using
> high-level libraries, but on the bottom frames of the stack (hidden by
> WebRTC API or not, like it's at this moment) an offer/answer exchange will
> be always required, isn't it?

No this is wrong. Offer/Answer is something that should be implemented in
JavaScript. What you need are much more basic operations, such as "get the
list of supported media types" , "get the list of codecs for a media type",
"select the transmit codec for a media stream", "pause/resume media stream"
etc. Currently offer/answer in webrtc is build on top of API like this.
Look at

These are the API that are used internally. Wrapping them in JavaScript is
something that would make sense to me.
Roman Shpount
Received on Wednesday, 19 June 2013 15:06:11 UTC

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