[rtcweb] API options for supporting fork with ROAP (Re: SDP Offer/Answer draft-jennings-rtcweb-signaling)

Harald Alvestrand <harald@alvestrand.no> Tue, 18 October 2011 09:16 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 4176B21F8A4E for <rtcweb@ietfa.amsl.com>; Tue, 18 Oct 2011 02:16:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level:
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 QPmRPijuqQjx for <rtcweb@ietfa.amsl.com>; Tue, 18 Oct 2011 02:16:04 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 4567821F8A35 for <rtcweb@ietf.org>; Tue, 18 Oct 2011 02:16:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 33CD539E0CD; Tue, 18 Oct 2011 11:16:03 +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 0fe0zqbE4yvQ; Tue, 18 Oct 2011 11:16:01 +0200 (CEST)
Received: from [192.168.0.2] (c213-89-141-213.bredband.comhem.se [213.89.141.213]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 8516839E082; Tue, 18 Oct 2011 11:16:01 +0200 (CEST)
Message-ID: <4E9D43D2.9010804@alvestrand.no>
Date: Tue, 18 Oct 2011 11:16:02 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15
MIME-Version: 1.0
To: Roman Shpount <roman@telurix.com>
References: <15B0E3AD-3086-499A-8E79-7AE58B3376C4@cisco.com> <CAD5OKxvE77Fia1hVRhdmqnfsOExpdJq=J2VMwtsfB_7ztEYtLA@mail.gmail.com>
In-Reply-To: <CAD5OKxvE77Fia1hVRhdmqnfsOExpdJq=J2VMwtsfB_7ztEYtLA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030601090504020304010703"
Cc: Jonathan Rosenberg <jonathan.rosenberg@skype.net>, rtcweb@ietf.org, public-webrtc@w3.org
Subject: [rtcweb] API options for supporting fork with ROAP (Re: SDP Offer/Answer draft-jennings-rtcweb-signaling)
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: Tue, 18 Oct 2011 09:16:05 -0000

On 10/18/2011 02:58 AM, Roman Shpount wrote:
> Cullen,
>
> Did we decide to explicitly not support forking which generates 
> multiple final answers? If this is not the case, how is this supposed 
> to be implemented using your model?

I and some people from Ericsson had a discussion about forking the other 
day (the ability to send out one request and have it generate multiple 
PeerConnections on the response).

Options include:

- Sending a request with no content for which state must be kept, 
creating new PeerConnection objects on answer that can handle an answer 
without generating an offer first, and then renegotiating stuff that 
needs state subsequently
- Creating a new "PeerConnectionFactoryWithOffer" object that holds the 
state of the request, but has the ability to mint several 
PeerConnections on responses
- Throwing away the initial PeerConnection, munge the incoming Answer to 
look like an Offer, create a PeerConnection from it, and throw away the 
resulting Answer
- Create the ability to create a PeerConnection from an Offer + an 
Answer, together with the ability to create an Offer without creating a 
PeerConnection (this is a variant of the Factory method)
- Do something different.....

Of course there's always the option of not supporting forking, leading 
it to be a problem that only concerns those who write gateways into 
systems where it is required; SIP systems that don't support forking are 
in the same boat.

It's not impossible, but it does have an overhead cost.

> _____________
> Roman Shpount
>
>
> On Fri, Oct 14, 2011 at 11:09 PM, Cullen Jennings <fluffy@cisco.com 
> <mailto:fluffy@cisco.com>> wrote:
>
>
>     Jonathan and I submitted a new draft on setting up media based on
>     the SDP Offer/Answer model. The ASCII flows are a bit hard to read
>     so until I update them, I recommend reading the PDF version at
>
>     http://tools.ietf.org/pdf/draft-jennings-rtcweb-signaling-00.pdf
>
>     Clearly the draft is an early stage but we plan to revise it
>     before the deadline for the IETF 82. Love to get input -
>     particularly on if this looks like generally the right direction
>     to go.
>
>
>     _______________________________________________
>     rtcweb mailing list
>     rtcweb@ietf.org <mailto:rtcweb@ietf.org>
>     https://www.ietf.org/mailman/listinfo/rtcweb
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb