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

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 29 January 2021 18:16 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 773B33A11EA for <mmusic@ietfa.amsl.com>; Fri, 29 Jan 2021 10:16:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.35
X-Spam-Level:
X-Spam-Status: No, score=-2.35 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, HTML_MESSAGE=0.001, 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 xow6XLUuFnYe for <mmusic@ietfa.amsl.com>; Fri, 29 Jan 2021 10:16:06 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20048.outbound.protection.outlook.com [40.107.2.48]) (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 4CA593A11E6 for <mmusic@ietf.org>; Fri, 29 Jan 2021 10:16:06 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ktGt79enlmPYnGWOg8pS2jTiBohk1xHHoSIi3lTTJLLYa8zENVfr9blDflgwgVo6iXY0r6YmYyQYxDfltg8Y078sZzzb3X9783lHkD1WKLqEd5cbo6jqEt9EUSN7h7GAiD6pUgf2cy91EQcQbDCOL22+h6RfP+rvUVx4Xh1bstb2TikXfAh6wlVNagspD8mO2B0j4ztk8ciHRsAYMuuiuvDDDjF2pF8TeIet1QGMB2VBcu5fJGj156zJ87sPKRF7gXvIys/OZLYSsTZ4EaA9Px4l7uvnevvOF09nWdZ5CK5XdbPTycKXMq0NF+a7MQtjFkgsdo5PdCxptRed/esFHA==
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=O2Xa0c4mvAc9e5E4Ttl00a9NvYnJ1EidqpWWtaWZsFU=; b=a+Onmyw/jmTGgTEudmlMJl8fmEN8z/P0/MbK28cqmycH/Ul0oCQBj3z1Pyk6cKPaiCUeHqMHnT7qCUj6RVMMIDy2JmU0nD8KL3y6OJWibu4HZlIkVZw2BJWObvX9GTdOcTSRpjnrUgrnSYHIYXGWRcXVo0cbPK2wx/TSEofRstpyTqIMAgPlRZ+j5uEejV2ty2P64vlNkw43oMsjkFBrHgBhEb7+acLVj12g8KvgBZC49rwWAE3qIlytMPMtnlqdYYgwX6UgHkKuDjx73VPfwN9gJkRkickYaHILDh917fCnsgo7NY+0+F8q7E4XINpCUcSPkpFSuBY4m927gRP2WA==
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=O2Xa0c4mvAc9e5E4Ttl00a9NvYnJ1EidqpWWtaWZsFU=; b=IgA3Np2hr5SSMkQfWIfxf5Y0Gcxx/OaMjFcqOk/8WehwHPXsY/q4ZhXaHZTh9/PxCx4dmtC04zKgjaDbY36wZNsrQAaLEiIWhkNGnyLT+4YV/1LKTjE+CqreYr5c9NAvRENd6JCueIg5uPhaIPnidg/mV+eVWctc+OApX7MyBes=
Received: from (2603:10a6:208:4c::18) by AM0PR07MB5826.eurprd07.prod.outlook.com (2603:10a6:208:114::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.8; Fri, 29 Jan 2021 18:16:03 +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.3805.019; Fri, 29 Jan 2021 18:16:03 +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/jNCHbJVTdK9SFxwJbuGVgAqwAcAABot92A=
Date: Fri, 29 Jan 2021 18:16:02 +0000
Message-ID: <AM0PR07MB38600ED79AA323A8C38098AB93B99@AM0PR07MB3860.eurprd07.prod.outlook.com>
References: <AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAD5OKxuvMzNGHnk2tGM9yjUBYz9EGdEj8kNO=a4d-SiBiA42jA@mail.gmail.com>
In-Reply-To: <CAD5OKxuvMzNGHnk2tGM9yjUBYz9EGdEj8kNO=a4d-SiBiA42jA@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: 81523094-6ce2-4147-7f9b-08d8c481f072
x-ms-traffictypediagnostic: AM0PR07MB5826:
x-microsoft-antispam-prvs: <AM0PR07MB5826D0D97963BCDE73C83BE693B99@AM0PR07MB5826.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: RX90+4xMF8kMhLj4e12QsAQ3nPao67tc3Ut+agljQ3qImW3da2/E5DQR8cXv+HHcPcBCfNJAYNtBUQkN1Oq2G8eeOGRFcebN9HgY0+UDKixdYabRm+OPxaVTu6PNlQayUHJoRFqEFAfdO7c2Oeu/CMErwjPHqwiAPHNBMq3wRtdwTlLvw0KKRfBdPFo/Ahh7sr3CEHHj1w9W+9CLPgps/UK5VweVcP5zg74SCYAUQc0AIh3EULewHm5gfhvuNwwHdQR+zLexW96qDJOXbC6pGsfo4yKI5CvFET0c8jx+VxtyIUtjojjlWTRCepd7gAIEIfZr7AjIhFtzJbS/RdlPacRus7g3XOwNQTDzMury8P7fpXfnxcb6kmLZ+3v4yTLDNHUMX4k/W/FEVJ1cLyK+4XdD0cdtHKqTJCJWOJxNa/FlDHTVsjqxtltSA2L5nyXoDEPxUYTtMFf198gTNJjwzATcAZn4iFZxqTnrZZRDtoi69lYy8XpiTRHcsV2gHouOYPpGyLUhC22LojiBJa8Huw==
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)(366004)(376002)(396003)(136003)(39860400002)(346002)(54906003)(316002)(8936002)(83380400001)(8676002)(55016002)(9686003)(71200400001)(33656002)(76116006)(6916009)(4326008)(5660300002)(44832011)(52536014)(186003)(6506007)(478600001)(26005)(66946007)(64756008)(66446008)(66476007)(86362001)(7696005)(66556008)(2906002)(53546011); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?L2xIK3djWlBuMmhTbE1jeWx5ek1TaFZ2eEpkTGM0R0paNjdGR0p6OGt3ZXhE?= =?utf-8?B?RUg2YnNoK25WSUNkaDJxdi9xZTN1VUF1bnFjRXlDY1lDODYzL0N3Q0xieXpa?= =?utf-8?B?dEFjb0hpalVrTGtramxsQWU5MS91aVc2emFHNjVmRUZBNGNLNWpleEpHTTVQ?= =?utf-8?B?bk5jZGNnQ2czeFlKVHBlM3V2OHIvSmpYUEdiWVgyNHc0SlBsb09hT0dORnY0?= =?utf-8?B?eEFGYWxmT3dXTDcrdUQ3bStlNmRPY2E3WUNySXQzc3Y4N3ZCMlEydzJtMUs0?= =?utf-8?B?WmJkeVl0OEplS2U5T0hWQ2FIN1NnSXpDYWRjVkhmZ1FWMnpxNW9hUFhjKy9B?= =?utf-8?B?MHRXWlJVM3ZPYzJKaDFIcFUwMEkvTm1zWkdvbjBnQWlDeTZTZTA5amp2bDZ5?= =?utf-8?B?L0xqYUdUSTU2WDVvWmpaNFFXYUcxTnR4bHpzd1BZeExSSk9Xa3dpaFB6S1FG?= =?utf-8?B?dTNTVUplWnpqRTNMYnhLUUxkdE93OFJXTmpxUXJRME9GTkVaTXc3Y3kwT1lO?= =?utf-8?B?SW1vTE11bm1tZnNhWTZmVXJSa1h0V01NS1FHc2hham9nWkpSekRtVW5yd05N?= =?utf-8?B?bmUwM05IdDZZUno3THVwZUwxSm4wUmVEenF6MU9EalBxWkJmc2ZmakJ1ZjVl?= =?utf-8?B?bjB4MW8xeWdxeUR0SUFoRVZHeDZ3TWhSa3V0RWhobzM1ay8yRFo0Rnh6MlI5?= =?utf-8?B?cjFIcXg4OVRJc3pzOVg5K2sxWmFINzFwZzdrUStnVjQzUjlkMkFQT3NmMUx4?= =?utf-8?B?eVFKMTNEcEdpVjFqd1U1MnhSMThtTlJvNWRZRVMzSzdoUVFlLzQ1STNUdE1w?= =?utf-8?B?WjEvK0dxMGdLdkhVeUNuNlhycHVySkJ0L3ZpWUcrelUxbEtGaVhqY1BWdXdq?= =?utf-8?B?Z0ZBOVlMdVJsQkpwU3IwemNIZzV4bkY1bGhFbFhTdk8yYmdJK3dWUFNUYmJL?= =?utf-8?B?OVpjRzJTbWNQeFhETUR5SThHRjB6YUJ5aHZKT3BWVHdJVGlRemwycFVhQ1NG?= =?utf-8?B?d09rc1Y4UVRqVDZxSTYrN2dHaThBeVZQT055YktJNXM5Q3VLZ1BTaG9xbFN4?= =?utf-8?B?Q2pQNCsxQkk5ek41UjFmT0dGOHhDUnRiS080bzAxS25QajVyTmFBRGxyVDJ0?= =?utf-8?B?OGF3Qm9xZ0l3bVZlaWZkZmwrT201dis5TmVOaVd6WjUyYnFFSEFZdjhnTVFq?= =?utf-8?B?eFkwQUtCKzVuM2poVFJLMVZkQjNtd1NxOTI1ZE1VdFRkcmFqSTUyRC9kNExC?= =?utf-8?B?UUgwNHdQNkhRUExXK2cwbWZOQStJTVU5dUs3c2sxRlNDb0xuazJocVNMenFQ?= =?utf-8?B?cjhubGFwWDRML1RRV25nem85SG80Q2NPZSs1K1IzbndpMC9Oby9VZSsrQ25S?= =?utf-8?B?Y2NvVnVnbzJTZk1qMlpuTWk1MEVDT0dYazQ1MkpoN2dTVWFOdy85L1dBbjVz?= =?utf-8?Q?nFfDGhHq?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB38600ED79AA323A8C38098AB93B99AM0PR07MB3860eurp_"
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: 81523094-6ce2-4147-7f9b-08d8c481f072
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2021 18:16:03.0419 (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: EUSpcWJ92HFr0in32fXtqmEWKGFNfCU8zTMiYYFFSEPIyCft3V1XVKflDlIodt16++V4GdD8lcAKnUhgXArWu+O/k9iDGU2AtgtkJNGtFkU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5826
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/ccce4uqsEz9ckZfn2h9N4Mcqpx4>
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: Fri, 29 Jan 2021 18:16:09 -0000

Hi,

> This is exactly the language I have remembered. So, it is not explicitly prohibited but the behavior is undefined.

...which is why you cannot make any assumptions regarding how the receiver will process such SDP - unless you have prior knowledge about the capabilities of the receiver.

Regards,

Christer




On Thu, Jan 28, 2021 at 4:26 AM Christer Holmberg <christer.holmberg@ericsson.com<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 <mmusic-bounces@ietf.org<mailto:mmusic-bounces@ietf.org>> On Behalf Of Christer Holmberg
Sent: torstai 28. tammikuuta 2021 1.26
To: Roman Shpount <roman@telurix.com<mailto:roman@telurix.com>>
Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>; mmusic@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