[whatwg] Peer-to-peer and stream APIs

Stefan Håkansson LK stefan.lk.hakansson at ericsson.com
Fri Mar 25 06:31:22 PDT 2011


All,

there are now two different sets of APIs public, one documented in the spec (<http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#video-conferencing-and-peer-to-peer-communication>) and one sent the other day (<https://sites.google.com/a/alvestrand.com/rtc-web/w3c-activity/api-proposals>).

A quick look at the API sets gives me the impression that they are on a top level quite similar. The model and the level of the two API sets seem to be more or less the same. The first set seem to me clearer, more thought through and better documented. The second one also lacks the possibility to send text peer-to-peer, something that can be very important for certain cases (e.g. gaming).

I could go on discussing details, but my main message is: given that the two API sets are, on a top level, quite similar, would we not be better off selecting one of them, and use this as a basis for further discussion, testing and refinement? 

Working on two parallel tracks could waste implementation efforts, lead to non converging parallel discussions and possibly end up in a fragmented situation.

My view is that a good way forward would be to use the API set in the spec as starting point, and propose enhancements/additions to it. 

Stefan




More information about the whatwg mailing list