The best API possible (Was: Teleco Integrators vs Web Developers vs Browser Implementers)

On 05.07.13, 23:54, piranna@gmail.com wrote:
>> We should be building the best API possible
>
> +1

This has already been mentioned in a couple of places and I feel there's 
a certain amount of confusion on the subject.

While I am not an SDP fan (who is?) and while I think that it should 
(and will) eventually go, I still think it would be helpful for everyone 
to know exactly what they are wishing for:

* Removing SDP and Offer/Answer from WebRTC is NOT going to produce an 
API that's simpler for the regular web developer *

On the contrary. It would mean that all the things SDP is currently 
taking care of would have to be understood and managed by the JS: key 
negotiation for SRTP, encoding ICE priorities, ICE foundations and 
options, RTP payload types, codec parameters, negotiating supported 
formats, renegotiating them ... All this will need to be handled by the JS.

Again, I am not saying this is wrong, I am not denying the fact that it 
will give a lot more flexibility when implementing specific signalling 
protocols.

However, all those who hope that such a new API would be easier for a 
web developer to use, should realise that they are going to get exactly 
the opposite.

Of course, one could expect a variety of JS stacks to appear and 
simplify the API for specific use cases. Web developers would then be 
able to use those and their lives would eventually be easier. Still, 
that's not going to happen overnight and until it does, you will be 
needing a substantial amount of RTC knowledge in order to build WebRTC 
applications.

I assume that's part of the reason while a number of people have 
suggested finishing the current API as 1.0 and then going down the path 
of a lower-level API for 2.0.

Emil


-- 
https://jitsi.org

Received on Friday, 5 July 2013 22:26:20 UTC