Re: [rtcweb] Proposal for PeerConnection cloning
Harald Alvestrand <harald@alvestrand.no> Mon, 07 May 2012 21:24 UTC
Return-Path: <harald@alvestrand.no>
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 B3B5321F86F8 for <rtcweb@ietfa.amsl.com>; Mon, 7 May 2012 14:24:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level:
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 uI5cdxeNH1CS for <rtcweb@ietfa.amsl.com>; Mon, 7 May 2012 14:24:28 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id A2B1621F869D for <rtcweb@ietf.org>; Mon, 7 May 2012 14:24:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 90B7D39E1E2 for <rtcweb@ietf.org>; Mon, 7 May 2012 23:24:27 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cei62dXQY-3v for <rtcweb@ietf.org>; Mon, 7 May 2012 23:24:27 +0200 (CEST)
Received: from [172.28.93.74] (unknown [74.125.122.49]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id CE84F39E107 for <rtcweb@ietf.org>; Mon, 7 May 2012 23:24:26 +0200 (CEST)
Message-ID: <4FA83D86.1050605@alvestrand.no>
Date: Mon, 07 May 2012 23:24:22 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <6F428EFD2B8C2F49A2FB1317291A76C11364EC028C@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <7F2072F1E0DE894DA4B517B93C6A05852C44001342@ESESSCMS0356.eemea.ericsson.se> <6F428EFD2B8C2F49A2FB1317291A76C11364EC0293@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <4FA75E92.2050007@jesup.org> <7F2072F1E0DE894DA4B517B93C6A05852C4435E11F@ESESSCMS0356.eemea.ericsson.se> <4FA7715B.40505@jesup.org> <7F2072F1E0DE894DA4B517B93C6A05852C4435E180@ESESSCMS0356.eemea.ericsson.se> <4FA77B77.1020806@jesup.org> <7F2072F1E0DE894DA4B517B93C6A05852C4435E3D1@ESESSCMS0356.eemea.ericsson.se> <6F428EFD2B8C2F49A2FB1317291A76C11364EC0377@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <4FA7D1CC.3070004@jesup.org>
In-Reply-To: <4FA7D1CC.3070004@jesup.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [rtcweb] Proposal for PeerConnection cloning
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, 07 May 2012 21:24:29 -0000
On 05/07/2012 03:44 PM, Randell Jesup wrote: > On 5/7/2012 8:31 AM, Ejzak, Richard P (Richard) wrote: >> Hi Christer, >> As I mentioned in a previous response to you, you cannot mandate that >> clones be cleared out once a final ANSWER is applied since that >> prevents you from applying independent offer/answer sequences to each >> clone (as required in some SIP scenarios). The optional "cleanup" >> indicator you propose to associate with final ANSWER will not work in >> the case where a final ANSWER has already been applied to a clone to >> allow another offer/answer sequence on that clone before a final >> "winner" is selected. I would prefer to just clean up the "losers" >> manually or create a new method for this. > > It doesn't have to be via this mechanism, but we could have an onfinal > notification, or a manually polled jsepState checked (on all > PeerConnections the app has) after installing an answer on one. > (Unless the app knows that all it has are clones, in which case it > could just kill off the others). jsepState is probably all that is > needed (and probably needed even with onfinal, unless it gives a list > of all clones of a finalized PC). > It seems to me that for each Pc in ClonedConnections { if (Pc !== winner) Pc.close() } is simple enough to code that we should simply say that "the JS has to do cleanup when he decides he only wants one of the PeerConnection". Creating mechanisms for things to happen behind the scenes seems to me to make life for the programmer more complex, not less; "why did the voice of person 2 go silent? Oh - you applied an ANSWER instead of a PR-ANSWER to person 1"....
- Re: [rtcweb] Proposal for PeerConnection cloning Christer Holmberg
- Re: [rtcweb] Proposal for PeerConnection cloning Randell Jesup
- Re: [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning Stefan Hakansson LK
- [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning Christer Holmberg
- Re: [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning Martin Thomson
- Re: [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning Randell Jesup
- Re: [rtcweb] Proposal for PeerConnection cloning Christer Holmberg
- Re: [rtcweb] Proposal for PeerConnection cloning Randell Jesup
- Re: [rtcweb] Proposal for PeerConnection cloning Christer Holmberg
- Re: [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning IƱaki Baz Castillo
- Re: [rtcweb] Proposal for PeerConnection cloning Randell Jesup
- Re: [rtcweb] Proposal for PeerConnection cloning Roman Shpount
- Re: [rtcweb] Proposal for PeerConnection cloning Harald Alvestrand
- Re: [rtcweb] Proposal for PeerConnection cloning Harald Alvestrand
- Re: [rtcweb] Proposal for PeerConnection cloning Randell Jesup
- Re: [rtcweb] Proposal for PeerConnection cloning Ejzak, Richard P (Richard)
- Re: [rtcweb] Proposal for PeerConnection cloning Roman Shpount
- Re: [rtcweb] Proposal for PeerConnection cloning Roman Shpount
- Re: [rtcweb] Proposal for PeerConnection cloning Martin Thomson