Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines
Christer Holmberg <christer.holmberg@ericsson.com> Tue, 02 February 2021 09:59 UTC
Return-Path: <christer.holmberg@ericsson.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 B37743A18F5
for <mmusic@ietfa.amsl.com>; Tue, 2 Feb 2021 01:59:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level:
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=ericsson.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 wSnDc85Ynzd7 for <mmusic@ietfa.amsl.com>;
Tue, 2 Feb 2021 01:59:44 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com
(mail-eopbgr60068.outbound.protection.outlook.com [40.107.6.68])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 0647A3A18E7
for <mmusic@ietf.org>; Tue, 2 Feb 2021 01:59:43 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=eQQdqfgIv2HqiBM9HXZqu8XJzrF4Sr4IBBmvUnPMmpYItNwxBcE+zvxB+Q2yw6Ie7wkxCXZ/W1bYeke6tNXsds/Y9Mx6XRcWiSI7g/kxImEwzTY0Ud1tj9OeCxubpwYLy5UI9K7X36YR/WgV3Y72oYf32OCgjDxyFf2DFZLB393Tg7ZHJLsYPrg1aPVQ3wn68ZKv2FggybU/iEQjYkXsSER5glU0xn2V6OmBJLj5grYDL74OoHkcf0PXZBSs9/WVJVJKMy/eg4KZ78JEQxtMEiHKWzDzbiOdMP5oH6dQxu+8oXQrK/MJQh79S2p7gcRE5QghA46kFkzHTltGqAwBnw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=cYLWbQUjU/s/ob0xoJW0BXTXLjPTYOfG+siJDIHCdlI=;
b=jk9LcRd/b5wg+fkgBbDFvdDiWf8WXXdoufz8JXZfVNrtaX7YdCqsHJ3l/97iSqIh2guY7icpmqxRVIOxZ6EIDgIV6m/cDBnCE1N2tVdVT6rP84HHsaBpsAp/gv6Mhh/CVhCYrNvuEnSiaAYgYyxebVHDv0JbSXSWGoOVSNEh+6ntoE3Uz2Y6OG705K4vsJIsNJJqkvM6cnIpg1+R18obBqVbLyZkhxOPoC+2E3K8AM7KkVikqpdcko3h67dS6m/IJvoeph5ppkPbBivKvl3ht8mzgbLrP1KtF+/HjSTMN6H/xrbZskOeELBdfOwfEiltN38l6PF+cuhmVmkzX6aTyg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com;
dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com;
s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=cYLWbQUjU/s/ob0xoJW0BXTXLjPTYOfG+siJDIHCdlI=;
b=BusPG3pDCTmut6LBHBQzilEGDIe6WKfbIWgdioP7VIen9QWFjFsLPaB6dCP1HYb+EDrX+muukvHV/J/XJKCuyZ6RN/bdSph7sVGuyS7ZPvpmfZsn880BkBoeQugkVv1g6dQbDMjmsu/luPMIPHhWDnzFeRaiUr6buudtRHWbJ18=
Received: from (2603:10a6:208:4c::18) by
AM0PR07MB5540.eurprd07.prod.outlook.com (2603:10a6:208:ff::29) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.3825.8; Tue, 2 Feb 2021 09:59:40 +0000
Received: from AM0PR07MB3860.eurprd07.prod.outlook.com
([fe80::e0b4:28dd:684:daf6]) by AM0PR07MB3860.eurprd07.prod.outlook.com
([fe80::e0b4:28dd:684:daf6%7]) with mapi id 15.20.3825.017; Tue, 2 Feb 2021
09:59:40 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>
CC: "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same
port in multiple m- lines
Thread-Index: Adb1Vs/x/jNCHbJVTdK9SFxwJbuGVgAqwAcAABot92AAFvdiAAALnAsgABBkTwAAAYWJ4AAGx9KAACiWwfAAGFs3AAAFovVAABH/NgAAAUipoAAAqjsAAAv6EQAACNB7gAAMhwAg
Date: Tue, 2 Feb 2021 09:59:40 +0000
Message-ID: <AM0PR07MB38600A42232DF40F9DFE094693B59@AM0PR07MB3860.eurprd07.prod.outlook.com>
References: <AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9@AM0PR07MB3860.eurprd07.prod.outlook.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>
<CAOJ7v-2oL-YP=CGUkCZ8NuP5xPur0z+BK3qZZTdHCNxQZ16HqA@mail.gmail.com>
<AM0PR07MB38609424137713FAA193CAE193B79@AM0PR07MB3860.eurprd07.prod.outlook.com>
<CAD5OKxshWvy69fs5tgrME9CT6YV6eaqR3K5w8mOQEnm0CcyMpw@mail.gmail.com>
<AM0PR07MB3860F88FFE187446FBDB786193B69@AM0PR07MB3860.eurprd07.prod.outlook.com>
<49cd0938-1f48-8a00-69b0-8063b99282b3@alum.mit.edu>
<AM0PR07MB3860F7CF9926F51856AD5FED93B69@AM0PR07MB3860.eurprd07.prod.outlook.com>
<CAD5OKxv728xY42iv39wA1EW3XUw-LPRDKAG=6-Jr67mA=sBfhw@mail.gmail.com>
<76e438f4-e8b3-f805-e213-d7b52d36481d@alum.mit.edu>
<CAD5OKxu_rmWOgMDdgp8rdvorkodBRyUi1aDgDx9+UQmARufL-g@mail.gmail.com>
In-Reply-To: <CAD5OKxu_rmWOgMDdgp8rdvorkodBRyUi1aDgDx9+UQmARufL-g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: telurix.com; dkim=none (message not signed)
header.d=none;telurix.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [80.248.247.159]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: efc5fc27-f63d-4122-c5a9-08d8c7614217
x-ms-traffictypediagnostic: AM0PR07MB5540:
x-microsoft-antispam-prvs: <AM0PR07MB5540C0A74FDDFD0635A920F793B59@AM0PR07MB5540.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: A2XUWoR3IB6qeYoJjJa9ECotlLTEC/E0lA1WogS3Jb0QuCcP9HhUsaT4RW4aDArr2iYI7pwOr2WQluLpS4MIPDYwh2AaIsz7f+brx5SUapnoHcm0BTIknyoNZL1RkmEUqxTpslAtSZhDxbCXRokSzo7ppqHarFARnecWJVNrjzPlewYP9jEOCF5FDMsR0r1J9HPpxyIDAl++OdK4HX0hKuI0NoDIQzukYJjl8Ivyn1nkFarGmNx8r4EkR9muwgY8aXZtKuFkHpnxz3tmptJxuq/AlM6yCQlOuCsk2okdghkIyRuWZGLqVSfqvO2TyshVbAmvHvxmRBSryPx7ils4CnLjpyyjZuMSdLYeE183Z8T429+WLC/Kf8c57Cc++RaPlH9jmlOKKg6X1XHYOEIq9nsl1b1uW7KX7IV77ROH6EYi6vctl6/5Oeemhr3vAGPXHQ4bsDjWJncsHhRRa+m24BbjqvofO0OQkVMLR1ninK5carr8cA8wACG6C0tOK+mjKJQYQWElghI72hYObDcmQQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM;
H:AM0PR07MB3860.eurprd07.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(396003)(376002)(346002)(39860400002)(366004)(136003)(110136005)(86362001)(71200400001)(76116006)(66946007)(52536014)(33656002)(4326008)(316002)(2906002)(55016002)(9686003)(186003)(66476007)(5660300002)(64756008)(66556008)(26005)(66446008)(8676002)(44832011)(7696005)(478600001)(8936002)(6506007);
DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?eWVjcVZhUytRb0MwVFd3R1BULzNiVjgrTFFEZ29lK205UUxTb0tQWGxFZHJP?=
=?utf-8?B?N2VNM295QzV1SWlnZjQwSUUvcFJ4NUQvSmZQN2ZINFFuY0xCYm9sdzk5NTJO?=
=?utf-8?B?Qyt5WHRPNlBvS1l1TEJzU215WStCYnJUZzZxd1M2SW1VMWYxYjVZQ0dl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NZGErY2FJQkRaNkJZeWlzMERqc1hrUXVpVW10?=
=?utf-8?B?V3VkK3ZGMmpUT2NUTjNkUHVtZTA1QkVOWldlTVQzKy9hWHo0TENQTVpSYUZl?=
=?utf-8?B?T1BpTGgxOU5yTk9TOU0zMjNCVGlQUWFyZFVBM2tZWW93eHpGVE5mci9mbWd6?=
=?utf-8?B?dXgwTUF3RHJZMTRVU2w4bXlaY01aT1oxdEdhL2t0aThjZE5Wenc1TzRGM2VZ?=
=?utf-8?B?YWRLZDZiWHB2bzdGYWNiR1dXejBiSEtiVmgxWkQxeDRSUm1rV1c5RGorQ3Iw?=
=?utf-8?B?b3JNc0drNWFNeGJJVWVJQ284YklvalpUZFN4Q2pPTU9mR2lEVS9udngydUlh?=
=?utf-8?B?OXFYZ0RiVDBqdk1HQlhSOXgxV3A5bjFYcDlncmlTNlRrYUxGaGVNSnRWSklD?=
=?utf-8?Q?VK2twHm2?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB3860.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: efc5fc27-f63d-4122-c5a9-08d8c7614217
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2021 09:59:40.6824 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: u6tE/bv4GgeDxKw35LnJ4mZVk+xrTAChsIwX3zsR/pc1paWh+h574nN1v42uK1BV9mlgr7jTO1ix7aYOzsbmmdxtDc+pJ/CPdNHuXJb9jJ4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5540
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/xts5tCDGabU1uzeI_DQEWP9C5SM>
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: Tue, 02 Feb 2021 09:59:46 -0000
Hi, ... >>> The issue is how does an endpoint generate an m= line to refuse >>> something that the endpoint does not understand. For instance, the >>> endpoint gets an application webrtc-datachannel m= line but has no idea >>> what any of the SDP attributes mean and which ones are required to form >>> a valid m= line. The simplest way is to refuse such an m= line was to >>> copy the entire m= line in the answer and set the m= line port to 0. As >>> far as the endpoint is concerned, there is no difference between >>> a=sctp-port or a=bundle-only, if neither are supported. >>> >>> If this is an invalid procedure to refuse an m= line, please point out >>> where it says this is invalid and let me know where the correct >>> procedure is described. >> >> I will grant you that the guidance on what do do in this situation is lacking. >> >> BUT, it cannot be assumed that attributes are symmetric in their use in >> offers and answers. While that is true of some, it is definitely not >> true of others. So it is unreasonable to assume you should copy >> un-understood attributes from offer to answer. The only thing it is >> reasonably safe to do is what Christer says. > > What does Christer say, exactly? Copy just an m= line from the offer and set the port to zero, or copy the entire m= section with attributes from the offer and set the port to zero? Christer says copy just the m= line and set the port to zero. > RFC 3264 Section 6 Says: > > An offered stream MAY be rejected in the answer for any reason. If a stream is rejected, the offerer and answerer MUST NOT generate media (or RTCP packets) for that stream. To reject an > offered stream, the port number in the corresponding stream in the answer MUST be set to zero. Any media formats listed are ignored. At least one MUST be present, as specified by SDP. > > So, it implies that an m= line must be valid and include at least one media format. > What if all the payloads are dynamic? Should it include the corresponding a=rtpmap attribute? What if this payload format requires other attributes to be valid? > > What if the m= line refers to an application type stream and the receiving endpoint does not support it and does not know how to generate the valid m= line or section in response. What should be done then? > What if this is an m= line with an unknown proto? In this case, media formats are just a list of unspecified tokens. The only reason one media format is needed is because it is required by the ABNF. It doesn't really mean anything, as the m- line is rejected. Yes, that could probably have been clarified too. >> Session level attributes are different since this is something that is >> negotiated, it would be logical not to include them if the endpoint does >> not support them. >> >> I don't see it as much different. In both cases, your answer should only >> contain stuff you understand and support. The only exception is for >> m-lines themselves, where you can copy the rejected m-line except for >> replacing the port with zero. > > As I have mentioned earlier, an m= line might not be valid without the corresponding attributes. Since these attributes per RFC 3264 MUST be ignored if the m= line port is zero, > they were often included. > > BUNDLE RFC changes this, so it should specify what happens in this case, which used to be legal before. BUNDLE says that bundle-only does not have any semantics if it's not part of a bundle group. So, unless the answerer also copies the group:bundle attribute, the m- line will not be part of a bundle group. >Perhaps we should have instead specified a placeholder <media>, <proto>, >and <fmt> to use in rejected m-lines. But that is water over the dam. > >We should have just specified that none of the fmt or attributes MUST be included, but this is, indeed, water under the dam. We did discuss the fmt. But, again, it's there for backward compatibility, as the ABNF requires it. Regards, Christer
- 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