Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines
Justin Uberti <juberti@google.com> Sat, 30 January 2021 22:31 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 372793A11F1
for <mmusic@ietfa.amsl.com>; Sat, 30 Jan 2021 14:31:26 -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 Z6ZrBXnuyTaz for <mmusic@ietfa.amsl.com>;
Sat, 30 Jan 2021 14:31:24 -0800 (PST)
Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com
[IPv6:2607:f8b0:4864:20::b33])
(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 A53C03A11EF
for <mmusic@ietf.org>; Sat, 30 Jan 2021 14:31:24 -0800 (PST)
Received: by mail-yb1-xb33.google.com with SMTP id s61so9576483ybi.4
for <mmusic@ietf.org>; Sat, 30 Jan 2021 14:31:24 -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=gi6s0NnloXZrHCd4kBehzsiH7SRmYZjYKaGrlJYidlo=;
b=Vlzq1CbbmGhwvNPh11LYp1icccbnOOapudb1YkI6Akix0PFN/Fdut5/DiUqP8EL6YL
3htuEGnC6Kd5Jia+RYBmuw+WS1M+Dc7u7RiLaCQozFF0TLDPeYgAmA/2MVsPyu2XyK/G
eQpSm5jThFOa/kSoXTtr6aLDCwSfQJTESkj2TNmqUmq4Z4oFSxapQL7bnaSV1ZpVr49Y
9S0GXPyfdDQNbzuGilJb7XlB/Au0YSd/L1oV0sxRFoddRCekXcjEeIha7qyd7fojGfJp
8GacPrTlB5FPaKB+wloAYFs+1IwJQDgHfbhZJpByS5ICmt/a/xdbl4xGZWC2IUPBOfA2
InKw==
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=gi6s0NnloXZrHCd4kBehzsiH7SRmYZjYKaGrlJYidlo=;
b=JGO3Ca6X8a+YSONfjoFZ58HI8d2n4e3Mg+0lndqIoSdX881dr6QsbgQMJqxM8r12/3
ch8hpCcA8rWRVm8J4Pm2dodKwE04stwqHg/4xdQFdFDS7aFAsA7J0igUS+CWyJuNjQT3
iPf9aOC6JNi6rZe5+6tLgeuuVR9QA8sR7Bk4WdbpckuRwseUONq1NlC4GL5SEWXo9y9y
GH5ttI7/bjpDGPuNti9oWMAMsRj1pJbnOAOjwq8NdpAxQbMoiKi3jln4+ppaKJka2Vgt
YgP05ebZ/BNr7RDUz0uJl8vBFPApp1vT2I71tQ4/Dj4U5P/CxsfUuU3p8pOG453lRdNd
vg3Q==
X-Gm-Message-State: AOAM532uWj0XAAz/kXMAiFtL6/SuZWKLPD5HsWecc0uRdkwoRVz1NbRz
++vG3l4ZwXCx0CAXKrYM4onlZROxvzG1yonj8SHVhg==
X-Google-Smtp-Source: ABdhPJzHTgcVAO8OFwOI56WFdu+v0oocazyOuzMx313PSfGrqWp7cwFKhbz+ESGvOZv149yIIdRaeY/KsOupcfSed9c=
X-Received: by 2002:a25:aaae:: with SMTP id t43mr15093950ybi.390.1612045883233;
Sat, 30 Jan 2021 14:31:23 -0800 (PST)
MIME-Version: 1.0
References: <AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9@AM0PR07MB3860.eurprd07.prod.outlook.com>
<CAD5OKxuvMzNGHnk2tGM9yjUBYz9EGdEj8kNO=a4d-SiBiA42jA@mail.gmail.com>
<AM0PR07MB38600ED79AA323A8C38098AB93B99@AM0PR07MB3860.eurprd07.prod.outlook.com>
<CAD5OKxsLL=+DLu-D2y-rOFGMDpKXgsWhVDFLiWS1k68LhwU8Dg@mail.gmail.com>
<AM0PR07MB3860D4EC744D231497EFA5F993B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
<CAOJ7v-0juBeH3g4MY6jSj+pRnk6+CBFt24p9jFQ+Fwd4qjp_nw@mail.gmail.com>
<AM0PR07MB38600147C590A3D84054036D93B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB38600147C590A3D84054036D93B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Justin Uberti <juberti@google.com>
Date: Sat, 30 Jan 2021 14:31:11 -0800
Message-ID: <CAOJ7v-2oL-YP=CGUkCZ8NuP5xPur0z+BK3qZZTdHCNxQZ16HqA@mail.gmail.com>
To: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>,
Roman Shpount <roman@telurix.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003bbff905ba25ae5a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/92jRGwovufdD-hIH8uTHCAcdJkU>
Subject: Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same
port in multiple m- lines
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: Sat, 30 Jan 2021 22:31:26 -0000
On Sat, Jan 30, 2021 at 11:21 AM Christer Holmberg <christer.holmberg= 40ericsson.com@dmarc.ietf.org> wrote: > Hi, > > >>> One other thing I would like to point out, that if you are dealing > with an end-point that does not support BUNDLE, for the m= lines where the > port is set to zero, you would often get something that will copy > >>> all the RTP attributes to the answer from the offer, including the > a=bundle-only attribute. Of course, you should not get the session-wide > "a=group:BUNDLE" and would be able to detect that the m= line was > >>> rejected that way. > >>> > >>> If the remote endpoint does not support the grouping framework, your > actual mileage with the "a=group:BUNDLE" line may wary. There was never an > explicit requirement that unsupported attributes must not be copied > >>> from the offer to the answer. RFC 4566 and RFC 8866 only say that the > parser must ignore such attributes. Because of this, some endpoints will > copy all unknown attributes to the answer, including a=group. Of course, > anything > >>> that supports RFC 5888 will not do this. > >> > >> Correct. > >> > >> However, endpoints copying SDP attributes they don't understand can in > general cause all kind of issues. It is not a problem unique to the > grouping framework, or to BUNDLE, or to m- lines with port zero. > >> > >> But, at least there is standardized semantics of the meaning of port > zero. > > > > Does the BUNDLE doc talk about what to do in this case, I.e., use of > bundle-only in m= sections that are not part of an a=group:BUNDLE group? I > think this is mostly separate from the issue at hand, but this seems like > something endpoints should be robust against. > > bundle-only outside a bundle group is unspecified. > > "The usage of the 'bundle-only' attribute is only defined for a > bundled "m=" section with a zero port value. Other usage is > unspecified." > > (Section 6 of BUNDLE) > Thank you for finding that section. If bundle-unaware entities do in fact copy attributes to the offer, I think it would be useful to amend this text to say that a=bundle-only must be ignored for any sections that are not in a bundle group, so that these sections can be properly rejected.
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Paul Kyzivat
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Paul Kyzivat
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg