Re: [rtcweb] RTCWeb Forking usecase [was RE: draft-kaplan-rtcweb-sip-interworking-requirements-00]

Roman Shpount <roman@telurix.com> Fri, 28 October 2011 23:00 UTC

Return-Path: <roman@telurix.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 EF10E1F0C43 for <rtcweb@ietfa.amsl.com>; Fri, 28 Oct 2011 16:00:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.898
X-Spam-Level:
X-Spam-Status: No, score=-2.898 tagged_above=-999 required=5 tests=[AWL=0.078, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 wmcj7Ui6tQPr for <rtcweb@ietfa.amsl.com>; Fri, 28 Oct 2011 16:00:45 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 574C31F0C34 for <rtcweb@ietf.org>; Fri, 28 Oct 2011 16:00:45 -0700 (PDT)
Received: by ywt2 with SMTP id 2so4821457ywt.31 for <rtcweb@ietf.org>; Fri, 28 Oct 2011 16:00:45 -0700 (PDT)
Received: by 10.236.175.4 with SMTP id y4mr6562374yhl.128.1319842844950; Fri, 28 Oct 2011 16:00:44 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by mx.google.com with ESMTPS id z28sm14652017yhl.4.2011.10.28.16.00.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 16:00:39 -0700 (PDT)
Received: by gyh20 with SMTP id 20so4843523gyh.31 for <rtcweb@ietf.org>; Fri, 28 Oct 2011 16:00:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.33.101 with SMTP id q5mr6302065pbi.121.1319842838012; Fri, 28 Oct 2011 16:00:38 -0700 (PDT)
Received: by 10.68.62.170 with HTTP; Fri, 28 Oct 2011 16:00:37 -0700 (PDT)
In-Reply-To: <4EAB2657.7090609@jesup.org>
References: <20111024224257.28459.65554.idtracker@ietfa.amsl.com> <6EB8679A-13D5-4AD7-97F2-BC35FC0966F0@acmepacket.com> <2E239D6FCD033C4BAF15F386A979BF51159C32@sonusinmail02.sonusnet.com> <CALiegfnVaZjh1K+brd180Z9Ufheau3v6OJe6Ejv8P7wzw6ROQw@mail.gmail.com> <2E239D6FCD033C4BAF15F386A979BF51159D7A@sonusinmail02.sonusnet.com> <4EAAF413.8030501@alvestrand.no> <2E239D6FCD033C4BAF15F386A979BF51159D7B@sonusinmail02.sonusnet.com> <247FFE2C-DB2C-4280-A219-BE1503662F92@acmepacket.com> <4EAB2657.7090609@jesup.org>
Date: Fri, 28 Oct 2011 19:00:37 -0400
Message-ID: <CAD5OKxu=3FvnUDV5m1TW8n+7D+B6ihp_g7TXKtJVaVW3gtiySQ@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Randell Jesup <randell-ietf@jesup.org>
Content-Type: multipart/alternative; boundary="bcaec520ef9184e18e04b063db3d"
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] RTCWeb Forking usecase [was RE: draft-kaplan-rtcweb-sip-interworking-requirements-00]
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: Fri, 28 Oct 2011 23:00:46 -0000

On Fri, Oct 28, 2011 at 6:01 PM, Randell Jesup <randell-ietf@jesup.org>wrote:

>
> As discussed, given that users will be "logged into" a service from
> multiple devices, and that we don't know what the application desired
> behavior will be, we need to support multiple ANSWER responses to a OFFER,
> and support allowing multiple of those answers to become active.  (For
> example, OFFER sent to "my Team", answered by 3 members of the team.)  As
> for implementation: probably by cloning the PeerConnection or a Factory
> (this has been discussed before and I haven't gone over the messages to see
> where it ended up).
>

I agree with this completely.

I think the most encouraging response I got before on this list was that the
API should always produce the same list of ICE candidates for a given Web
browser session. Because of this, all the offers from the WebRTC client
would be the same and simultaneous forking can be implemented by creating a
new peer connection for each answer, generating and discarding the offer
(since it is the same as the offer from the original peer connection in this
session) and feeding a new answer to it. I am not sure this behavior is
defined anywhere, but this could definitely work and would allow to
implement all forking scenarios without cloning or factory API calls. I
would feel a bit more comfortable if the API would actually reflect this
usage (i.e. have one method that always returns an offer for this web
session and peer connection only processing answers or responses to remote
offers).
_____________
Roman Shpount