W3C home > Mailing lists > Public > public-webrtc@w3.org > September 2011

Low Level Javascript API Proposal

From: Neil Stratford <nstratford@voxeo.com>
Date: Wed, 28 Sep 2011 15:56:34 +0100
Message-ID: <4E8335A2.8070308@voxeo.com>
To: public-webrtc@w3.org
To provide input to the ongoing discussion around architecture and 
inclusion/exclusion of SDP in the Javascript API we would like to put 
forward the following proposal.  The proposal is in Google doc form for 
now because our goal was to get this to the list as quickly as possible, 
but we are happy to re-structure as a full W3C proposal or editorís 
draft if required.

https://docs.google.com/document/pub?id=1MfrFHKx6O6yWtIv_jqwyH-RAbm8AgRtXQ7dJTZz5J2g

This API is based on an evolution of the low level media plugin API 
currently used by Phono and Phono Mobile.

In Phono we have attempted to implement as much as possible in 
Javascript, leaving the minimum functionality that is required for 
either performance, device access or security to be implemented natively 
in browser media plugins. Signaling and codec negotiation are 
implemented fully in Javascript, communicating through a minimal media 
plugin API that exposes devices, codecs and RTP endpoints. We have 
existing implementations for Flash, Java applet, iOS and Android using 
this approach.

For flexibility we separate RTP/ICE candidate information from codec 
information enabling the Javascript application the choice of 
implementing SDP if required. We believe that this low level API 
provides the ability to build a variety of signalling mechanisms, either 
directly in Javascript, or through the help of a bridging gateway.

Neil Stratford
Voxeo
Received on Wednesday, 28 September 2011 14:58:40 UTC

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