Re: [rtcweb] Regarding cloning of PeerConnections when multiple answers are received

Hadriel Kaplan <HKaplan@acmepacket.com> Mon, 02 April 2012 13:02 UTC

Return-Path: <HKaplan@acmepacket.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A7AA21F8441 for <rtcweb@ietfa.amsl.com>; Mon, 2 Apr 2012 06:02:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dwkf5TgGbsn7 for <rtcweb@ietfa.amsl.com>; Mon, 2 Apr 2012 06:02:39 -0700 (PDT)
Received: from etmail.acmepacket.com (etmail.acmepacket.com [216.41.24.6]) by ietfa.amsl.com (Postfix) with ESMTP id 641C321F8421 for <rtcweb@ietf.org>; Mon, 2 Apr 2012 06:02:39 -0700 (PDT)
Received: from MAIL1.acmepacket.com (10.0.0.21) by etmail.acmepacket.com (216.41.24.6) with Microsoft SMTP Server (TLS) id 8.2.254.0; Mon, 2 Apr 2012 09:02:35 -0400
Received: from MAIL2.acmepacket.com ([169.254.2.219]) by Mail1.acmepacket.com ([169.254.1.130]) with mapi id 14.02.0283.003; Mon, 2 Apr 2012 09:02:34 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Thread-Topic: [rtcweb] Regarding cloning of PeerConnections when multiple answers are received
Thread-Index: AQHNENDeKuBUNLaVPkqTmaT4kSIuvg==
Date: Mon, 02 Apr 2012 13:02:33 +0000
Message-ID: <0E6A0E0D-BFDD-4974-87BE-B0DCD1ECE9D5@acmepacket.com>
References: <4F7415D5.80604@ericsson.com>
In-Reply-To: <4F7415D5.80604@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.0.0.30]
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <B7E8B2AE05494E43BDC6B5FBCCCEA75E@acmepacket.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAQAAAWE=
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Regarding cloning of PeerConnections when multiple answers are received
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Apr 2012 13:02:40 -0000

Hi,
I was thinking the tricky part is more about the local transport stuff getting cloned - i.e., imagine if you're using a TCP-based TURN connection.
But maybe it's a non-issue.

-hadriel


On Mar 29, 2012, at 3:57 AM, Magnus Westerlund wrote:

> WG, as individual
> 
> As just discussed in the meeting Justin and Hadriel didn't think that
> you could clone PeerConnections properly. I do believe it is possible.
> 
> If the API provides a method where you can clone a current
> peerConnection you can actually share the transport layer information at
> one end-point for multiple peer connections assuming that the other
> end-points transport addresses are different between the different
> peerConnections being cloned.
> 
> This works as the complete ICE username is the concatenation of both
> sides, as long as an secondary answer contains a different username and
> has candidates with different transport addresses (address+port). Then
> end-point A receiving the second answer can have the ICE stack accept
> both usernames and if connectivity checks works then you create
> different 5-tuple filter to divide any media streams to the right peer
> connections media handler.
> 
> When you clone a PC then must allocate the media decoding resources for
> each cloning. And that is something the cloning function may block on.
> 
> 
> Cheers
> 
> Magnus Westerlund
> 
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM
> ----------------------------------------------------------------------
> Ericsson AB                | Phone  +46 10 7148287
> Färögatan 6                | Mobile +46 73 0949079
> SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb