Re: [rtcweb] SDP_PRANSWER followed by SDP_OFFER scenario in JSEP

Randell Jesup <randell-ietf@jesup.org> Thu, 03 May 2012 16:38 UTC

Return-Path: <randell-ietf@jesup.org>
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 D737B21F8652 for <rtcweb@ietfa.amsl.com>; Thu, 3 May 2012 09:38:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.325
X-Spam-Level:
X-Spam-Status: No, score=-2.325 tagged_above=-999 required=5 tests=[AWL=0.274, 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 t2be7uSxKaxz for <rtcweb@ietfa.amsl.com>; Thu, 3 May 2012 09:38:31 -0700 (PDT)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 32DAA21F8566 for <rtcweb@ietf.org>; Thu, 3 May 2012 09:38:31 -0700 (PDT)
Received: from pool-108-16-41-249.phlapa.fios.verizon.net ([108.16.41.249] helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1SPz30-0007eq-F4 for rtcweb@ietf.org; Thu, 03 May 2012 11:38:30 -0500
Message-ID: <4FA2B447.7010504@jesup.org>
Date: Thu, 03 May 2012 12:37:27 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120420 Thunderbird/12.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <387F9047F55E8C42850AD6B3A7A03C6C0E23B102@inba-mail01.sonusnet.com> <CAOJ7v-3K=NK6zCLr-E-aSHDKVv2hMqnUhZKroX0YoBTo6-nQ+Q@mail.gmail.com> <6F428EFD2B8C2F49A2FB1317291A76C1136029362A@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <4FA13816.6050003@alvestrand.no> <CAD5OKxsOAeTRdCgj2g4BY8maeG1n9nzCv29g8kaFPVZ4tf8C5w@mail.gmail.com> <4FA15898.1040204@alvestrand.no> <7F2072F1E0DE894DA4B517B93C6A05852C44001329@ESESSCMS0356.eemea.ericsson.se> <CAD5OKxsbTSpMPg30P4DSN6UasCx6na43tpZ5yT2ct6SLMpd9xQ@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C4400132C@ESESSCMS0356.eemea.ericsson.se> <6F428EFD2B8C2F49A2FB1317291A76C1136047B753@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <7F2072F1E0DE894DA4B517B93C6A05852C4400132F@ESESSCMS0356.eemea.ericsson.se> <CAD5OKxuy8_Ras3X-8tcY1qaLRTVJ-z-JuXQaf0NKaRwN_dU18Q@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C442AC0DA@ESESSCMS0356.eemea.ericsson.se> <CAD5OKxuv7T6YrEXEeVECKbGtRg4feoRYTgvC57yqWXTBK43ypg@mail.gmail.com>
In-Reply-To: <CAD5OKxuv7T6YrEXEeVECKbGtRg4feoRYTgvC57yqWXTBK43ypg@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
Subject: Re: [rtcweb] SDP_PRANSWER followed by SDP_OFFER scenario in JSEP
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: Thu, 03 May 2012 16:38:32 -0000

On 5/3/2012 11:01 AM, Roman Shpount wrote:
>
> On Thu, May 3, 2012 at 2:02 AM, Christer Holmberg
> <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com>>
> wrote:
>
>     You are absolutely right. I still question whether we need to
>     support parallel forking. If you say it occurs often, I can't argue
>     against you, even though my own experience is different :)
>
>
> You do end up with parallel forking when you allow registrations from
> multiple devices. This is a policy option, but once you enable this,
> parallel forking or B2BUA are the only options.

Correct; I brought this up multiple times last year, when we had one of 
the original discussions of cloning.

If I call scotty@gmail.com, and he has a phone, and a tablet, and a 
computer, and a star trek communicator all "attached" to google's JSEP 
signaling proxy, it's going to want to fork the offer to all of them. 
So I really believe parallel forking is needed for very basic use-cases. 
  And both Scotty (in the Away Team) and his assistant (sitting at the 
computer) might accept.  If his assistant accepts first, Scotty is out 
of luck unless some parallel forking is supported and PeerConnection 
cloning is done.  That doesn't mean you must render or encode data for 
all clones simultaneously, though that's a nice option and mirrors 
normal requirements for mesh conferencing.  You can send the same data 
to both (mesh), or possibly act as a conference bridge instead of a full 
mesh conference (ah-hoc bridged conference).

Another usecase I bandied about was "hanging" cloned offers being 
provided to new participants in a partial-mesh conference.  Think Second 
Life, or a virtual conference with positional locality (it doesn't have 
to be visual Virtual Reality ala Second Life; it can be abstract - but 
it's easiest to think of in a Second Life or MMORPG type of setting). 
I.e. the signaling server holds a cloned copy of your invite, and when 
someone new comes into hearing range of you it forwards your (cloned) 
OFFER to them (delayed parallel forking, if you will).  Otherwise, it 
would need a protocol to let the server tell you to generate a new offer 
that it could then forward, adding roughly 1 client-server-RTT to setup 
time, plus requiring extra application protocols and logic.

>     (Another option, if we want to support parallel forking, would of
>     course be to create a completely new PeerConnection, with a *new*
>     local IP address:port. But, you would of course then have to provide
>     that information to the remote peer.)
>
>
> This would probably do absolutely nothing to SIP interop. And if we do
> not need SIP interop we can live without forking (at the cost of being
> slightly less efficient in some call setup scenarios).

Ignoring SIP interop, this might work as an equivalent to cloning, but 
requiring an extra O/A exchange (and adding considerable chance of 
clipping on a second fork being activated).

>
>     I have no strong feeling on whether we want to do cloning, but do
>     people agree that, for a given PeerConnection, we only need to
>     support a single remote peer (which can be modified, though)?
>
>
> I think if we do cloning we will only need to support a single remote
> peer per PeerConnection. Strictly speaking even updates due to
> provisional responses would not be necessary, since you can always clone
> the connection and provide a new answer to it instead.

I believe that's correct.

-- 
Randell Jesup
randell-ietf@jesup.org