Re: [MMUSIC] BUNDLE goes UP: Do we need port zero for bundle-only m- lines?

"Parthasarathi R" <partha@parthasarathi.co.in> Thu, 15 August 2013 17:13 UTC

Return-Path: <partha@parthasarathi.co.in>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D5FC11E81E9 for <mmusic@ietfa.amsl.com>; Thu, 15 Aug 2013 10:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.264
X-Spam-Level:
X-Spam-Status: No, score=-2.264 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334]
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 CSrnRR9rKwq0 for <mmusic@ietfa.amsl.com>; Thu, 15 Aug 2013 10:13:43 -0700 (PDT)
Received: from smtp.mailhostbox.com (outbound-us1.mailhostbox.com [69.93.141.228]) by ietfa.amsl.com (Postfix) with ESMTP id 9D91711E81DB for <mmusic@ietf.org>; Thu, 15 Aug 2013 10:13:43 -0700 (PDT)
Received: from userPC (unknown [122.172.186.109]) (Authenticated sender: partha@parthasarathi.co.in) by smtp.mailhostbox.com (Postfix) with ESMTPA id 685A0190824B; Thu, 15 Aug 2013 17:13:35 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parthasarathi.co.in; s=20120823; t=1376586821; bh=NPJW0DpoEN+2mo6Ucu2qDxXF0t7R+0GVw9DQW56kYWw=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=i836jAbNYEYj8sG8OiY1f6Iw/60Dm3T75qwFVtifnBJLAnDBcpIWcj8zky/ET9wc4 VMlVbs/yZ06Z6gw6CJ5FYQD3q61u6dmKN8o1PARfbo9ktaAKm8it4Rlc7GTXuQmol4 XQLLt6rnqasLTVpV2Z9QnfjPkVLOanRAzi7Q05ts=
From: Parthasarathi R <partha@parthasarathi.co.in>
To: 'Eric Rescorla' <ekr@rtfm.com>, 'Christer Holmberg' <christer.holmberg@ericsson.com>
References: <7594FB04B1934943A5C02806D1A2204B1C421C80@ESESSMB209.ericsson.se> <9AA75667-A597-4EB1-87B4-FA79A2F35C3C@oracle.com> <5203D7E7.4070207@nostrum.com> <7594FB04B1934943A5C02806D1A2204B1C422522@ESESSMB209.ericsson.se> <1687A002-7B01-4468-85DD-FF19BDFDAE14@oracle.com> <5203EB64.70605@nostrum.com> <65BCA443-98E1-4843-9522-248DD5B4ED68@oracle.com> <5203F37A.8030204@nostrum.com> <33EF0E51-D7E2-42BC-98AA-1A96E2E3CB4D@oracle.com> <5203F4D8.9040904@nostrum.com> <9BB1DB2F-32DB-453E-BAEF-3E600EAD3413@oracle.com> <5204075B.1080108@nostrum.com> <A2E26DB5-CF47-44DF-8779-D470280977B6@oracle.com> <7594FB04B1934943A5C02806D1A2204B1C422D7D@ESESSMB209.ericsson.se> <52051D0C.2070106@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C42339E@ESESSMB209.ericsson.se> <CAOJ7v-2LpF6HGApc5V-AA-D=D=EOtFmErmPSrRPKVdM8kQYHtw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C427679@ESESSMB208.ericsson.se> <CAOJ7v-3Az7skFCy7KbNDWoMRUP+MPrVMK9Fj8uVAT_Z-dExJ2w@mail.gmail.com> <7594FB04B1934943A5C02806 D1A2204B1C43BA02@ESESS MB209.ericsson.se> <CABcZeBP0VZM2MLvQevQs8q0PcutD3jwQ+zWA73qBZ=6RRZeLhg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C43DBA9@ESESSMB209.ericsson.se> <CABcZeBNvVp9hPw5KxN_HCckyMD1xOB0qh-Nbsenz1hek9qyqgg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1C440F3B@ESESSMB209.ericsson.se> <CABcZeBMFRtVcJktoaH+9VFbE6XqDUow-Jar-cYhewSo8Zz6dpw@mail.gmail.com>
In-Reply-To: <CABcZeBMFRtVcJktoaH+9VFbE6XqDUow-Jar-cYhewSo8Zz6dpw@mail.gmail.com>
Date: Thu, 15 Aug 2013 22:43:26 +0530
Message-ID: <002301ce99da$c5d56560$51803020$@co.in>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0024_01CE9A08.DF8DA160"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac6WoycXRkr58VNlT5eGbrBy0UAVRwDNj3jA
Content-Language: en-us
X-CTCH-RefID: str=0001.0A0C0204.520D0C44.0149, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules:
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CTCH-SenderID: partha@parthasarathi.co.in
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-TotalSpam: 0
X-CTCH-SenderID-TotalSuspected: 0
X-CTCH-SenderID-TotalBulk: 0
X-CTCH-SenderID-TotalConfirmed: 0
X-CTCH-SenderID-TotalRecipients: 0
X-CTCH-SenderID-TotalVirus: 0
X-CTCH-SenderID-BlueWhiteFlag: 0
X-Scanned-By: MIMEDefang 2.72 on 70.87.28.138
Cc: "'mmusic_ietf.org'" <mmusic@ietf.org>, 'Paul Kyzivat' <pkyzivat@alum.mit.edu>
Subject: Re: [MMUSIC] BUNDLE goes UP: Do we need port zero for bundle-only m- lines?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Aug 2013 17:13:48 -0000

Eric,

 

<snip>

> For instance, Neither Firefox nor Chrome current does a second O/A
> transaction and yet media flows just fine in most cases, since they are
operating
> in an unmediated environment.

<snip>

 

Till now, my understanding is that Firefox & Chrome provides the running
code which is not fully compliant with all WebRTC specification. In fact, I
had come across the scenario wherein it is not clear in the signaling which
candidate pair is selected by the browser for media. Please correct me in
case the specification is not mandated to perform second O/A to confirm the
port selected for the media.

 

Thanks

Partha

 

From: mmusic-bounces@ietf.org [mailto:mmusic-bounces@ietf.org] On Behalf Of
Eric Rescorla
Sent: Sunday, August 11, 2013 8:21 PM
To: Christer Holmberg
Cc: mmusic_ietf.org; Paul Kyzivat
Subject: Re: [MMUSIC] BUNDLE goes UP: Do we need port zero for bundle-only
m- lines?

 

 

 

On Sun, Aug 11, 2013 at 6:11 AM, Christer Holmberg
<christer.holmberg@ericsson.com> wrote:

Hi,

>> I think making sure all entities have the correct port numbers is
critical in making sure the media will flow.
>
> There is a difference between "making sure the media will flow" and
"before media can
> flow at all".
> For instance, Neither Firefox nor Chrome current does a second O/A
> transaction and yet media flows just fine in most cases, since they are
operating
> in an unmediated environment. Obviously, this is a best-case scenario, but
similarly
> there are going to be mediated environments which are perfectly happy with
a second
> O/A exchange with non-zero ports.

There are also environements where a single offer, with identical port
numbers, work just fine, because the receiver will be able to handle it even
if it doesn't support BUNDLE.

However, we are defining a generic mechanism, supposed to work in different
environments.

 

"different environments" != "arbitrary lossage by any middlebox in the
universe"

 

Again, you need to distinguish between *endpoints* and filtering
middleboxes.

 

 

But, sure, if the community thinks that we shall define different options,
depending on environments etc, we can do that...

 

Which is not what I said.

 

-Ekr

 

Regards,

Christer





-----Original Message-----
From: Eric Rescorla [ekr@rtfm.com]
To: Christer Holmberg [christer.holmberg@ericsson.com]

CC: Justin Uberti [juberti@google.com]; mmusic@ietf.org [mmusic@ietf.org];
Paul Kyzivat [pkyzivat@alum.mit.edu]
Subject: Re: [MMUSIC] BUNDLE goes UP: Do we need port zero for bundle-only
m- lines?





On Sat, Aug 10, 2013 at 3:08 PM, Christer Holmberg
<christer.holmberg@ericsson.com> wrote:

Hi,


>>> Requiring a second offer to add the bundle-only m-lines defeats the
purpose of bundle-only.
>> We already require a second offer. I know that some people, including
yourself, want to change that, but that is nothing we have agreed on.
>>
>>> a) The delay to do an O/A will often exceed the time to allocate
candidates, for small numbers of streams; bundle-only was meant to avoid
this candidate latency.
>> You do not have to allocate ports for the bundle-only m- lines.
>>
>>> b) Once you have the initial answer, you know whether the other side
supports BUNDLE, so you can take the appropriate action (and so there is no
need for bundle-only).
>>>
>>> If SIP can't deal with the bundle-only concept, then WebRTC apps that
care about latency will have to decide whether they are running in
WebRTC-only mode or compatibility mode. In WebRTC-only mode, streams will be
bundled in the initial offer; in compatibility mode, 2 offer-answers will be
needed.
>> There are no "modes" in BUNDLE today :)
>>
> Of course there are. The handling in a reinvite case is distinct from the
initial offer, so that is modal behavior.


Sure, but you were talking about "WebRTC-only mode" and "compatibility
mode", and my point is that currently the procedures for initial offers,
subsequent offers etc are the same.


>>> This would be a somewhat unfortunate outcome, so I'd like to see
bundle-only (or something like it) work.
>> I don't think the second offer is going to cause any latency. Also, keep
in mind that you only need the 2nd Offer/Answer during the session
establishment. As agreed in Berlin, in mid-session changes you do NOT need 2
offer/answers.
>
> Please provide support for this statement. It seems clear that a 2nd offer
adds _at least_ 1 RTT latency.


Sure, but I don't think that is going to be a practical problem.



Well, I'd like to see a more convincing argument than "some middleboxes are
sad" when you
do that.




First, there are deployed legacy SIP systems that use even more O/A
transactions during session establishment. And, in your case I assume you
are even going to use something more "lightweight" than SIP to carry your
Offer/Answers.

Second, as WebRTC mandates usage of ICE, you are often going to need a
subsequent O/A anyway.



It's important to distinguish between round-trips that are in the critical
path for media
flowing and those which are not.


-Ekr