Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE

Justin Uberti <juberti@google.com> Wed, 27 January 2021 20:22 UTC

Return-Path: <juberti@google.com>
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 2E5BA3A0045 for <mmusic@ietfa.amsl.com>; Wed, 27 Jan 2021 12:22:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1937bTSxoDOp for <mmusic@ietfa.amsl.com>; Wed, 27 Jan 2021 12:21:58 -0800 (PST)
Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67CDA3A005F for <mmusic@ietf.org>; Wed, 27 Jan 2021 12:21:58 -0800 (PST)
Received: by mail-il1-x130.google.com with SMTP id l4so3109453ilo.11 for <mmusic@ietf.org>; Wed, 27 Jan 2021 12:21:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2glfVaE5AgoJRqA30qXxq4yraG3RHzgKS99Qg+OcCmo=; b=gn12WcEQSsAXh/4BcWgZE7PVJESVDawPrfj8dBfT5wqBiq31csDugz7x5HWc8cC722 WFBPTd113+FJTqS/MKXbxANl94I6XOCwbZ4ZBeU+qySgvgP3J/mxVAPZEP+1eY6WI/fs 1QpuCOada2GMtsyw5cy9hwZYnBgSA228Qszw/wyXRiaClrCNcsGWJCYKp8nV3b/NQgcF rxxO9R6ZrfdUladSA1MzAqRsOBftS1pROyXi7EUfQBOLVxrgfCcixvOzTMSmTx72KOnK OI/Q8mUSUqJ93QG5hiklCGdsrAurrhOhcfpsMasRsZbMva1zMpYPLTNkAiVn71jsZoup gOgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2glfVaE5AgoJRqA30qXxq4yraG3RHzgKS99Qg+OcCmo=; b=TMuKFM76OGQVESR68sWuewPSRuD0VzDfxaHW81XI+HR8DCiBTGMFhlCoIFny24f4gL 5jU4ytmX3y4KpnoyuYic/Vfq3cVV3FNmfEXFSyHCAbS5yovOAAFAfzBO6nxliDmfzzbD 1sQVgM7SE5yrqBUqLVGXI2Zg53aq/s2PvKYsal2opdF1cbrVL2lFgj8O5G93krmaXFqx zhFEuwEZxLqvrvcmj6afK6+LK69mfM4wwtmwu1QZnPQbQEa+TI5S5bsWqeALTkzLp1Yl YHwswXeJYQIOWEO7cEpaAUDapRO1PHZMpAcgIsyJMzq8RI6zCKqrBa7FaIjH0Mbo9L7G OYFQ==
X-Gm-Message-State: AOAM533co7Aa6AyBnwIxP5t6x65eNiYCPiLx4iCfQ3bs3w9OWmKY8Kir /Ku+7oXDrRrXmC69eR1u1Hw2WAalYUq13j4a9RVzqw==
X-Google-Smtp-Source: ABdhPJysxTCm1hE4Yma9OiilTzHJu2WePIQDC3w84ENClzzApLSeO8lhMXH0XM2yawFpsG5xkvf9DqI/VDbYJPo3e2Y=
X-Received: by 2002:a92:a80d:: with SMTP id o13mr9677700ilh.74.1611778917197; Wed, 27 Jan 2021 12:21:57 -0800 (PST)
MIME-Version: 1.0
References: <CAL0qLwYeg6_HdjVuLCdhPxtaNH4_vnE_r4Lr1p=s8uiTAu+hdQ@mail.gmail.com> <3259d26b0df271445895d17c73fdf60d94209c52.camel@ericsson.com> <61b30cc5-d56a-f83b-0faf-0df8b07aea0f@alvestrand.no> <f12469ff29408168c98124c46348804b5cbd86d2.camel@ericsson.com> <CAL0qLwakSYdoVm9fhMWuC9bM8tjUkLku4mM5Q4XgdGm2T9uevw@mail.gmail.com> <AM0PR07MB386064B544F18A38FD900EF593BC0@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAL0qLwbS+6sN3FQVbJ3xsp2qxTGiBTbunTUvHXrT-nq+yiEaHA@mail.gmail.com> <CAD5OKxvDdLF8LbeUTxscKkYu7XVE8eg5eRMqg_TCeX73sVAKGg@mail.gmail.com> <CAOJ7v-1Cspakz79MHX2dEH9q+YGuWokUtzHTR4p1v=hvQmDHrw@mail.gmail.com> <AM0PR07MB3860F7E33547BE613D1ED9BE93BB0@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAOJ7v-32i0xRuMVFmU4ioaVovh4JMyvXxy8a9MxUwMDz=ECwxQ@mail.gmail.com> <AM0PR07MB38603F2A77ABDE5BC4CEA4C493BB0@AM0PR07MB3860.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB38603F2A77ABDE5BC4CEA4C493BB0@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 27 Jan 2021 12:21:44 -0800
Message-ID: <CAOJ7v-3JPydV9SYkVxmari=hQ=TkFGn5_ox2w_oXb88RO_EXJQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Roman Shpount <roman@telurix.com>, "Murray S. Kucherawy" <superuser@gmail.com>, Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d18e6205b9e7855c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/Xb3fmCTTL1U3BaUsBcWEnPsNIf4>
Subject: Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 27 Jan 2021 20:22:00 -0000

On Wed, Jan 27, 2021 at 11:28 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi,
>
> ...
>
> >>>I think we need to split the problem into three parts:
> >>>a) what should JSEP endpoints put into initial offers, when in
> max-bundle mode?
> >>>b) what should JSEP endpoints put into initial offers, when in balanced
> mode?
> >>
> >> Whatever JSEP says they should. There is no specification bug or
> specification misalignment etc that would require us to change that.
> >
> > The current charter text points out the issue here, and I think it's
> important that that text be maintained. As I've said, we need to take into
> account what existing applications expect, or else we have specs that can't
> be implemented.
>
> So, every time libwebrtc decides to change their non-compliant behavior,
> without even consulting IETF about it, IETF should update and align their
> specs? I don't think that is how IETF works.
>
> The fact is that libwebrtc has chosen, for whatever reason, to implement
> non-compliant behavior. They were even aware of it, as a ticket regarding
> bundle-only support was raised at some point.
>

Look, I am as unhappy as anyone else that we have this issue to deal with.
But this isn't an issue about what libwebrtc did or didn't do; this is an
observation on the state of the WebRTC ecosystem in 2021. libwebrtc was
unable to implement the standard behavior 6 years ago because of
application (not in libwebrtc!) incompatibilities when receiving port zero,
and those incompatibilities have likely only multiplied over time. Ergo, we
have to consider this situation as part of the problem space and resultant
document update.

>
> In this particular case, what makes things even worse is that the
> suggested solution (initial INVITE with same port in each m- line) is not
> backward compatible with SDP. We have even seen proof that is causes errors.
>
> We decided at day one that BUNDLE has to be backward compatible with
> "legacy" SDP equipment. If we want to change that, I think we are talking
> about a bis - it is not part of a specification alignment task.
>

I think it's quite a stretch that any updates to JSEP's *non-default*
bundle policies require a bis version of BUNDLE. I'm hoping that a) and b)
can be resolved almost entirely in JSEP.


>
> …
>
> >>>c) may actually be the most significant decisioni, since it changes the
> behavior for just about every existing app (i.e., offerers will now start
> getting zero ports in their answers, regardless of mode). So I think we
> really
> >>>just have to decide if there is a technical reason to prefer the BUNDLE
> behavior over the JSEP behavior, given the risks of such a change.
> >>
> >> As I have said in off-list discussions, I am not religious regarding
> how we fix the JSEP/BUNDLE misalignment issue. As it covers a case when
> BUNDLE has been negotiated, we don’t need to consider backward
> compatibility with non-JSEP/BUNDLE endpoints.
> >
> > We certainly have to consider backward compatibility with JSEP endpoints
> that don't expect to receive port zero in answers.
>
> Yes. What I meant was that when solving  the specification misalignment
> issue we don't have to consider endpoints that don't support JSEP and/or
> BUNDLE to begin with.
>
> > If there's not a strong argument in favor of this new behavior, the
> simplest path would be to revert BUNDLE to the v40 (same as JSEP) behavior.
>
> It would be nice to get input from a few more people - especially from
> those that don't use libwebrtc in the implementations.
>
> If people don't care, at least indicate that :)
>
> Regards,
>
> Christer
>