Re: [rtcweb] Question about JSEP createOffer

Roman Shpount <roman@telurix.com> Thu, 10 May 2012 16:54 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 6785321F8709 for <rtcweb@ietfa.amsl.com>; Thu, 10 May 2012 09:54:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.892
X-Spam-Level:
X-Spam-Status: No, score=-2.892 tagged_above=-999 required=5 tests=[AWL=0.084, 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 CL7W2cIuNWmm for <rtcweb@ietfa.amsl.com>; Thu, 10 May 2012 09:54:01 -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 B125F21F8512 for <rtcweb@ietf.org>; Thu, 10 May 2012 09:54:01 -0700 (PDT)
Received: by yhq56 with SMTP id 56so2068240yhq.31 for <rtcweb@ietf.org>; Thu, 10 May 2012 09:54:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=FvSa+QYF60dAokD2kXwGtJkeSEU/m9oaJQjTAOoJbq0=; b=o0Igq6pPndLTysj0weLRsvixwGDkHb/7OYpX3uEBTFfVTrTFdv3YeqlYc4433Xl4wk dQXnH8M3EjTSqHhiZIAVXDANvL3QCF+Nif6N0qvzz/renWkGSanle/qQ1ArD3DcDsC2Z L1HX+ItTZdHGvcfu+10PpJVf/wMThWEQ0eG91RuvYJGl+jkBW8CSnuj7l4TDWWPAzMNF 0cXy1EHn+LmnBddAQUfs0p1tYOOJl/a/04HmuGAvRqrklcUJuvAXgqQpLDgy8+qLP1pj 36/sLsqQKNRk0Vt06njuEBkn+Kc2QJTis8zAAlFYqANiriFnEXT+7PNNvYWCbtcVlYpv +caQ==
Received: by 10.68.212.133 with SMTP id nk5mr1504379pbc.130.1336668840912; Thu, 10 May 2012 09:54:00 -0700 (PDT)
Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by mx.google.com with ESMTPS id ov3sm10002792pbb.35.2012.05.10.09.53.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 May 2012 09:53:59 -0700 (PDT)
Received: by pbcwy7 with SMTP id wy7so2246888pbc.31 for <rtcweb@ietf.org>; Thu, 10 May 2012 09:53:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.192.74 with SMTP id he10mr2067975pbc.69.1336668838925; Thu, 10 May 2012 09:53:58 -0700 (PDT)
Received: by 10.68.129.161 with HTTP; Thu, 10 May 2012 09:53:58 -0700 (PDT)
In-Reply-To: <CAOJ7v-1J+GLRea=3r4Ees5SadQ60grogACEbofoZ0Jh5VrpY6g@mail.gmail.com>
References: <6F428EFD2B8C2F49A2FB1317291A76C11364EC0288@USNAVSXCHMBSA1.ndc.alcatel-lucent.com> <CAOJ7v-041Lhp1EkEsH--pWhpikf74Luq-iyasVdpP5mN-4TskA@mail.gmail.com> <CAD5OKxtKkhO5KU_mcWp7ahM+8ochiaL3yUXCW5kuP0RWeB8y_w@mail.gmail.com> <387F9047F55E8C42850AD6B3A7A03C6C160337BF@inba-mail01.sonusnet.com> <CAOJ7v-14=rSFiN=EKsWj=KX6YytcpjYDJtd4Ljao8L6cyiquYQ@mail.gmail.com> <387F9047F55E8C42850AD6B3A7A03C6C16033CC2@inba-mail01.sonusnet.com> <CAOJ7v-1J+GLRea=3r4Ees5SadQ60grogACEbofoZ0Jh5VrpY6g@mail.gmail.com>
Date: Thu, 10 May 2012 12:53:58 -0400
Message-ID: <CAD5OKxtmZ9-WnxBc33fJqr7oUfSQ6+u3+7zerjCaoB1bWo2Lpg@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Justin Uberti <juberti@google.com>
Content-Type: multipart/alternative; boundary="e89a8ff24e1153975a04bfb177fb"
X-Gm-Message-State: ALoCoQk0rN6MqiJ4wScekta7U09j9dM6ikYj8d4PF6OQt1Uga2ElyM7JSwMP5BWrupItS8QYrFMD
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Question about JSEP createOffer
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, 10 May 2012 16:54:02 -0000

On Thu, May 10, 2012 at 9:48 AM, Justin Uberti <juberti@google.com> wrote:

>
> ****
>>
>> ** **
>>
>> I agree Roman's case of a B2BUA seems like it would need a full offer,
>> although the idea of connecting an existing call to a new destination seems
>> like an uncommon case; the application could simply start a new call (i.e.
>> create a new PeerConnection), right?****
>>
>> ** **
>>
>> If we decide we need to support this, the simplest way of handling this
>> would be to simply extend the |hints| parameter in createOffer to have some
>> sort of "complete" flag.****
>>
>> <partha> your API proposal looks good  as it is possible to re-use the
>> existing or offer full based on the application needs. But the application
>> developer  MUST aware of the implication as it calls for interop issue in
>> case of federation scenario if the full offer is not sent across. </partha>
>>
>
> The application developer only needs to do this if supporting these edge
> cases is relevant to their application.
>
>> ****
>>
>>
If you inter-operate with anything SIP, you need to do a full new offer
every time you get a re-INVITE without a body. The reason for this is you
are working with an external system. Thus you cannot guess if this
re-INVITE was generated by an existing call or some sort of third party
call control application which will need a full offer. This is not
something that is specific to SIP only. Every time you will implement any
type of interconnect between disjoint systems you will deal with a similar
problem.
_____________
Roman Shpount