Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines

Christer Holmberg <christer.holmberg@ericsson.com> Sat, 30 January 2021 11:03 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 2883F3A0D73 for <mmusic@ietfa.amsl.com>; Sat, 30 Jan 2021 03:03:42 -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=unavailable 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 qCvPBmASq3QR for <mmusic@ietfa.amsl.com>; Sat, 30 Jan 2021 03:03:40 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80084.outbound.protection.outlook.com [40.107.8.84]) (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 DCE0C3A0A3D for <mmusic@ietf.org>; Sat, 30 Jan 2021 03:03:39 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F7sAghgWo1CzU3eHFwRULBY03WnK6u8nDT10kUAC1wmDen4tKvMCmRtqakebTRPPZUGiv6PAP8iJ3RRCs7UgexyBwrHbMhMuJ6ZyDghHP5OE9SGgfqusXMXXWL+9B32rdVbLzjpHKTV78LUaNeJGwNIvrLdyGlhMMY/DmQXIyo2NuyLVfqAKDHQ1ehcOUUJOnmdrzKUDrKC5Q4Ivamx80pCxvxmmEJIKbC5dFJdcIf8b+mhyFrE8WMenW7Kb7X3FKVI3YKBulSPci+HPZYx3CBjjKpqGxy9xxuY1/90I04smZFUDpkvoEYeFYWSIKuylWS82/j77sT2R7Gm9X+lXYg==
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=aD5vvS5Xa15RgPViBiTg/ZdVvknJQX0iUFpmYwp4zE4=; b=TmADcnZWw4lv+EEwkzXDJWXp+fXMEaMda8SB4xIkkMom5Xk2uBKiyaXgJ+1/8GYAECyNjaZ+1cWKr+5TiUnREX376PMacJHjNvhUVIlEcDauU8uhYcjLEIcCz0f5/5RpaqWYnG2yxm3RyddClqWzWBVyBcWsHI8FC7UMGglCNVl8EMGZT/ZafKbrepkn5tYs2fTqwfoG8MPp576/B9S5ycbGOcfoweRIpZWOmom0ET4+66rxnzqTJVW+mkzPP3l4/o8SJkeSVaHF32McZObX6UzRmKoD4yeIMBNLRGV21oN60OSuIUhsFNQ2M7zFB6Hf5CM/qX0G9FZ4QoOPZWXBfw==
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=aD5vvS5Xa15RgPViBiTg/ZdVvknJQX0iUFpmYwp4zE4=; b=B1+ondGpeZzm7+lfKWVoJHe/hVHW9ArkE+e6fAM/KI6TwJZr5SmxSnGEqIvqz0e6lU58K5dNhUwlP74bUCAyNCuqZIBQL3tgAdMUkXCtoUqXY7UfWGIL/4XQ6oi3X7WZM1z4X8s3/Bx9mrWGNKYTRG2oZC/0DidS6b7q5K7zqPM=
Received: from (2603:10a6:208:4c::18) by AM8PR07MB7665.eurprd07.prod.outlook.com (2603:10a6:20b:247::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.6; Sat, 30 Jan 2021 11:03:35 +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.013; Sat, 30 Jan 2021 11:03:35 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>
CC: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "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/jNCHbJVTdK9SFxwJbuGVgAqwAcAABot92AAFvdiAAALnAsg
Date: Sat, 30 Jan 2021 11:03:34 +0000
Message-ID: <AM0PR07MB3860D4EC744D231497EFA5F993B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
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>
In-Reply-To: <CAD5OKxsLL=+DLu-D2y-rOFGMDpKXgsWhVDFLiWS1k68LhwU8Dg@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: e6ae66eb-092c-4fec-9629-08d8c50eb058
x-ms-traffictypediagnostic: AM8PR07MB7665:
x-microsoft-antispam-prvs: <AM8PR07MB76652355F02539C2F314F22F93B89@AM8PR07MB7665.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: thqPtuEGiyHY4KIsGaPBYEo352QRILcvoL69AZt9h5buflSTP1+n9gRVX8QKG930VroPoQxuZtxefjMZ/OShou4NceADuPg+mHgUlcF4w6ZKHbZecCplmxq7DnffjDbUv7371O82Aw+EbShfDUn9Vp3WLTW2e7GSXVctqr5e5cBo8wMDsh84w+A/baCE4JtwydJ+//bPW0fJYpA1GLeXkme8gFlXJswYQ0uV53iZTZx5SHrM2nQ4bCYidMffOTRMFPEaobwnw9EBMyEHG+XOX5YDiQdRpM1xDS+zQDAqFi5uucEyywwRsGKFDQhf8RYdIN440L/L2XZH7O1M4lnWkIOA52Ln6/BgELYF6eE8wPoxA0XKeOl8yIg/RuxViBAIMiI5pfitymHIQAqKv1PbIirJQkaFR0BLsmhwFlWFhLRunD6F7qcEO2zX+NX5tYXnof69biv+1Fxr5FC/22oQpxtHcZsz9JMf/nDVeLRW5I2rxrAf6LyTfd5DoArRW7pWk+/qJ7B42gxw1JvVl729UA==
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)(366004)(39860400002)(376002)(136003)(346002)(2906002)(86362001)(66476007)(66446008)(4326008)(71200400001)(52536014)(83380400001)(66946007)(55016002)(5660300002)(44832011)(76116006)(9686003)(478600001)(7696005)(6916009)(64756008)(26005)(6506007)(54906003)(316002)(186003)(33656002)(66556008)(8676002)(53546011)(8936002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?dFpLN0RNc1VtT0RJMTF5Mm9KZExtOThIV3pHRm8rVHErOUJRSCt0Q0J0MC82?= =?utf-8?B?aXJOZXVvRnVUZjlGVkdZeTVTa05vV3lDWldUbnNRVVdUdll2eGVHOGJQRlh6?= =?utf-8?B?WEtIU3d0UlpwaXlDWjdaam9yNjhsYUtESnJGTUlsaHBxcDNNczYrd1VVb1Nl?= =?utf-8?B?bzNKdEU2cS9Md0ZmelQ2V2dIa1FzcmU0YzZoN3N3SzBhb3NrL1lmZkdWRzFT?= =?utf-8?B?YzluRjQ1STdHSzFQODBCUU1PLzlPMGN0eUc0OFE5bEdvcVJpNTVYYTdCZm0v?= =?utf-8?B?QmJuY1dWTnZENk5zK2hoTzdoekUrS3A2SU1PTlhDSU82b0VxSTBYZk1wQmpm?= =?utf-8?B?NE9sYmI2cEhMSjdFNTgrV0Nzb1VQbW9hTnVGWW80dkxTNVZqbXBxREdscmJR?= =?utf-8?B?Ym9WR2Z2SHhJa1ZnWHltN1hrakdmd2dFTnRpZU1kYkNYQmRqenBjRXlGRExq?= =?utf-8?B?cnJFenBSd0tUci9zYjFsZ1VETWs4aERVRVFEd1VTK3pScmo0d0NjdWk1K3hG?= =?utf-8?B?R0cwOG5sZXBmdENSLzJ4M3NHZTN0Sjk2TGptRStsam1nN0l6bWlmVEhSR00x?= =?utf-8?B?dWdGdUE2Q0hQbnYzT09udjVhNVBaZlhKdmZWd2hkclBCNVNVa25qZ0tSaDRP?= =?utf-8?B?NmZFRW9aQ1JqbEVWYnNELzlaRkdtZHA4Lzg4WFlhYmlJcDVZaUpiZ0hTK2to?= =?utf-8?B?ek1MSUJNQnl4ZnRhb0JqdmlPMDJzdGgwZ1ErcEY4VmVtdDdXbzlnalQ1OG5D?= =?utf-8?B?a3B4bWhGaXMwMEJHaGpCT2JDblNMWWd0dm1mWFplSmJ5aTBPd1hsRnAwQlBo?= =?utf-8?B?Q1lUQzhMVjNmb3JMZ3p2OUovdGEybDIzNEdXRklSemF1ejRsdTBVV0hadnNl?= =?utf-8?B?T2VDay9hQ2MrbHRwKzhXSDZQUmRRZU84MmVwb3lvcWhIbFRDY0cvUmNEU0ZK?= =?utf-8?B?UDRLMGJ0Z0hFSlY0WXhKUzA1bFp4OVVGUHZyOGhQU09qUVBuZ0c4WXAvWjhI?= =?utf-8?B?ODViR1d5OTVZNzYrdXdEbGptQTd6UWUzRFlvTDErQkE0UWh5bTh6RUlTM3Q1?= =?utf-8?B?dEhUZXhvajJxVzlwOXNobzlqM0lvZ2Rhc2VOVFVycENYSVZ1REtwZVEvWERF?= =?utf-8?B?cGxEbitvalRxNXNNVFBnODJYTTBxVE9EamI4WG44M2hRRStWUE5wVU5Mdkg4?= =?utf-8?B?K21OMlJMTUwzZ1lxaXdHRExTMm5EckFVS2hvUXdEOHl2TllCZDJHMk1rVWZr?= =?utf-8?B?RzJzZFI4NzloaE1wTDEyQ3AwdzArMFo1S0lqU2hqbmpTajY1WVVycUtXZGZa?= =?utf-8?B?QXdNVVhuR0lRK2xRUWJSVTkwYisyK3RDTUVMZ2k5M3JjY2NDUFp4WXk2cnBp?= =?utf-8?B?MVM4MUZZNEs2Y21NdWJ0eE5vdVFEVkg0MEFkLzFiTVZCT1E4VndHd3d5ZVZQ?= =?utf-8?Q?McqXK2JM?=
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: e6ae66eb-092c-4fec-9629-08d8c50eb058
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2021 11:03:35.0775 (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: ZtHbNhgId0U5aV7ZoGdNQzTtJN4XOhCDaVEPqiv8rJLHDbyUHFcqajCdJFlW0LFiIIffQcepceVNoGpFHV/9Y72AVYRY4VES6L0S+uMZxKc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB7665
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/tPhEDdEJTKVQiqz4TkZgontw4j8>
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 11:03:42 -0000

Hi Roman,

>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.

Regards,

Christer



 
 
 
 
On Thu, Jan 28, 2021 at 4:26 AM Christer Holmberg <mailto:christer.holmberg@ericsson.com> wrote:
This is the test from Section 5.14 of RFC 4566:
 
      “The semantics of multiple "m=" lines using the same transport
      address are undefined.  This implies that, unlike limited past
      practice, there is no implicit grouping defined by such means and
      an explicit grouping framework (for example, [18]) should instead
      be used to express the intended semantics.”
 
([18] refers to the SDP grouping framework defined in RFC 5888)
 
 
This is the corresponding (slightly modified) text from Section 5.12 of RFC 8866:
 
     “This document gives no meaning to assigning the same media address
      to multiple media descriptions.  Doing so does not implicitly
      group those media descriptions in any way.  An explicit grouping
      framework (for example, [RFC5888]) should instead be used to
      express the intended semantics.  For instance, see [RFC8843].”
 
(RFC 8843 is BUNDLE)
 
 
So, again, it is ok to use the same port in multiple m- lines, if the semantics is defined, and if the participants support that semantics.
 
When you send an initial INVITE, from a standards viewpoint, you don’t know whether the participants in the path support that semantics.
 
Regards,
 
Christer
 
 
 
From: mmusic <mailto:mmusic-bounces@ietf.org> On Behalf Of Christer Holmberg
Sent: torstai 28. tammikuuta 2021 1.26
To: Roman Shpount <mailto:roman@telurix.com>
Cc: Magnus Westerlund <magnus.westerlund=mailto:40ericsson.com@dmarc.ietf.org>; mailto:mmusic@ietf.org
Subject: Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE
 
Hi,
 
>Can you or anyone else provide the reference to the document which prohibits using the same port in multiple m= lines?
 
It is not prohibited, but the SDP spec says that the semantics is undefined.
 
Now, in BUNDLE we can define semantics for usage of multiple m= lines, and BUNDLE endpoints would support that semantics.
 
The problem is if you send an initial INVITE that reaches a non-BUNDLE endpoint. There is no way to know how that endpoint will process the offer, and we have seen that the offer gets rejected (in different ways).
 
Regards,
 
Christer