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

Re: Moz/Cisco API proposal: multiple connections

From: Cullen Jennings <fluffy@cisco.com>
Date: Wed, 13 Jul 2011 08:09:35 -0700
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-Id: <36C4E342-92D1-4D4C-8F7C-316A45B71CAD@cisco.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>

On Jul 13, 2011, at 6:43 , Stefan Håkansson LK wrote:

> In the proposal there is a discussion on multiple connections per PeerConnection object: "Using a single PeerConnection to handle multiple incoming connections presents some unique challenges, but also has the desirable property of being able to stream out a single set of MediaStreams to multiple peers (which can also be changed mid-session). "
> 
> To me the most natural way would be to have one PeerConnection object per peer. Then, if the same set of streams are sent to each peer, of course there should be only one encoding, framing, packetization etc. But this is an optimization that can be handled in the implementation, and need not to be visible at the JS API level.
> 
> Stefan
> 

So we have two proposal one with a Factory object that creates one PeerConenction per peer and the other that has one PeerConenction that keeps track of the multiple connections. Does the peer factory proposal look OK to you?
Received on Wednesday, 13 July 2011 15:10:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 July 2011 15:10:03 GMT