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

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 28 January 2021 09:26 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 7EFAA3A1445 for <mmusic@ietfa.amsl.com>; Thu, 28 Jan 2021 01:26:24 -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 wy0zGtyle_Zl for <mmusic@ietfa.amsl.com>; Thu, 28 Jan 2021 01:26:23 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.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 A97A63A1444 for <mmusic@ietf.org>; Thu, 28 Jan 2021 01:26:22 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cze76X6fQOQSSaKzGiBzUrBpL0jd+n9wCwTsNRgr6gOHKaU8RpFzM8j8fAIxVKaY64Dct+OSWSyrQKHSkTdRKeZ0XJLPiV8eInWCuplIfpKdOBvaEvm5oFf1Buy4YTxdIFK5AIHmhuU0O8WMQ0dQ7vUlvUOE5d6yXb/1i1xeAJGFKNSd5xE5kF2syyDMuh1Fh5mgfB6HeADKtic+bC6dVKvFlxBvqQLbpY98MVnkuLlxBJ1FImnR4slXskriGcwnO/wxIvBbnEvZ6KuEPWveKEvJGm2QYIkaozWfCYdYZgx3zMeC0KIfHKRKWExb3vYMEYJgFlAuWsA8eZim7mcOrQ==
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=9kVO3YGHpV9IFL3g9gM5bbQyFPxG6gyRoRCx8RRvGdc=; b=H5HoZAAhl45ggyGtYo63CIAcMgNRjIma4wrvifg0jAtU1IRAwBO607IezP7Dkn8CQc6Zz0QNLUSoTyxo0OXUXL+HfSrByBNol1yTJfAUGJ/EsD3uUOp6vvZlFDIDRSo973QXCMWDLBwSUI6Y0ltzF2JDN/Z80/svk3MdbDeyse0ozXoX53aC0suMM1lKveMyt7Fw9VY/mBBKtSvWdOjsJTaoxv5/l4rXhn4CV46N2xRzqqQXXUiz9IeIzIUtlgBGKlpq1580gCf53P91uwFzuDGbT0aRA0tKXKxMW0PCZnYJp0KHv+ZxIifEhYou26C4lVEeHaarb9O/H9PiQ4Iugg==
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=9kVO3YGHpV9IFL3g9gM5bbQyFPxG6gyRoRCx8RRvGdc=; b=U8AOzhpayRxHzitOt9PM8vYJbN05fjERALUdrsZ8MntQTCVttT24rNA1JVOPBsJCBjX+Y1THZITgKcpsAFWk4nQqYTjReQFsFaJFZg2pW/qqqLHRblMvqh+TT8t7MX5qJ6uMQwx4FSWaXnmVmx+K0NOg25OIrTA0DAbmTWsjzPw=
Received: from (2603:10a6:208:4c::18) by AM4PR07MB3476.eurprd07.prod.outlook.com (2603:10a6:205:b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.6; Thu, 28 Jan 2021 09:26:20 +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.014; Thu, 28 Jan 2021 09:26:20 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, Roman Shpount <roman@telurix.com>
CC: 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/jNCHbJVTdK9SFxwJbuGVg==
Date: Thu, 28 Jan 2021 09:26:20 +0000
Message-ID: <AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9@AM0PR07MB3860.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; 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: b7354e95-40bd-4fba-51ab-08d8c36ec5c5
x-ms-traffictypediagnostic: AM4PR07MB3476:
x-microsoft-antispam-prvs: <AM4PR07MB3476E6154A909FA9B8B0098D93BA9@AM4PR07MB3476.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: eiHq5DvbUma547uQCSiJmmQAvAeUoMWGbFIinw8kRb/nngj5iaB1+MG31SX+3KZwytf4u4wsAflxSTjqEFHT+nouEqRqenbBRZF6qwmHzVAy/UIbxN2Z3jz7eFuJQWZwblI13/Xme8HhXxJZCkEnA1fSwgVw1rIApwc/1jK35NrA/nVKMQP9ihJ/8wGbtB8xCaw3JluDxHwyanseO1ylcgXhlYxchXnxBrbjbpGNsfPPpg41VWrN4FbneXMFsz1jHQ+PvN8JXwsYvSbUTRAOpiDDZS698W+zKDOOwxBcaHZG7arNtIzcHc8EjbT8Q4Crc0bFP+NKDmKZO3/liSK/0vbDfeTiChumXxO1hcRrUtxwhmCIIK3Ro1KnWJn7ZmUymvMEQMT7a2CxaNX1cnlhbMF6x/shTGEGU7b+L80WVCS4S9jxpie3saK0QTRxwD7Tya/SS4+4nuPvcZyMENPYYeybYfjjOyrMdHNWOuxlTgX7OqvPpvMkzRBMaDcAqflSYKIHeJiPOKWgWGupxQ9SSQ==
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)(136003)(346002)(366004)(376002)(396003)(39860400002)(66946007)(6506007)(4326008)(5660300002)(66476007)(64756008)(8936002)(66446008)(66556008)(76116006)(7696005)(186003)(9686003)(71200400001)(55016002)(33656002)(316002)(44832011)(110136005)(54906003)(83380400001)(2906002)(478600001)(26005)(8676002)(52536014)(86362001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: M/Kqm82j9L2gRtlQWSNBB0nK3TwKxU7JoWYZ8fI85mVNyVTl/QZercXTg1DhFimuNudDT2Hp/WkTUyVNCjZbopuoyiOuigdqbpk6wll4cqDPP0zDP/bNvX1u14HOiYt8yTXL5U4kg4TjLxdTenAxJbbsOlUk4omxKQktxuFh4MSOgjh9Nt6O4jL64vcJKKzYYAv9/i+ZFPFiNS07kVp0Nsgb4fYUxkeVS5Vnr0cc4/DYTWIMETpvNBJXU8TtDjUoEkEmU998BcAbfLL3W/M5tG06PaxH0oEwpoXTrEmu2+7x5wieZ6sgh5q5iyXDXjhC5W6OJdfV0osDvdmk98xqCB69rJqK16uVquo4KN/T7aL9cxYp/1QIemebayk0C0RRfjhi/SUbpJUGtTcu/1TI2/ci1uiwaGSo7komu9xRnqEViT8NfFTVtKoJM1EYwX/gMHRS2hgPt5xq1G9KyPhiMHqd9B0uf99Ea03/jhXug8YLg3isp+jc3WE3kuaW7YrFhT+KoQ1dOyHV0QGNHt252/0WLFzfswJoJquJDupqLTQhTui8LGlO7RH8VOztnFuMGqCgcCA71TwMeClhk4+K19lFGAunbrEDIbf8kfoeFGq/hL9bk/nRl8EP5m7z93LFbXuBlaR3LBRIGUZ5xdBqq+BwYy0H20nJ/d1JFUcVbgDnaBruwTvKdu+BBxT2GCHfcBxUmcUNcR9m3WK6dF8DZir3rch6XXGiBSnj3NvsrlvKuRE7LCKbXAursXW6VTsKTzM/XwkGMi8s0RnjFbhJrVOc5v3jbOESf3KLn6S0DuuZW29WqQOQGZ5BACBzJYaBG+y/xQIjHnALEDuRrFFmTZkcGBsJZdArAGw1HP8DQjctFZG+NciqohCfP/qyxr0E9xXY7i+f2haJx4qXukXdy9RbhypIgcryLCc2aGnpuSHe/xWbESlWwzEiQvDc3Icn203Kz+/koY/VW8vocYDOpljMkYiSS9i8FSF0OG4CUysWwCT1cg8LwLijGLNK8+qRtNyitN1kNmVa1wXJx8Ssbe2Ghm0t7uz5W6JOWZlUo2IhHpaxneVhqJ2PhHcKk8Qq
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9AM0PR07MB3860eurp_"
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: b7354e95-40bd-4fba-51ab-08d8c36ec5c5
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2021 09:26:20.3407 (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: kbCDM/dGoqwCxitp28wVko0/pOhsgljxrShsXsrQPFgNtfjQj22fbGD069wnmQdSnzzqTPc5H4xUTiv/lOL/RQoFhaLFHcefGyOD5b2pMLc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3476
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/-eHTwl-xa8Idvs1dPF7dRwF9Qxw>
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: Thu, 28 Jan 2021 09:26:25 -0000

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> On Behalf Of Christer Holmberg
Sent: torstai 28. tammikuuta 2021 1.26
To: Roman Shpount <roman@telurix.com>
Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>; 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