Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines
Paul Kyzivat <pkyzivat@alum.mit.edu> Mon, 01 February 2021 23:26 UTC
Return-Path: <pkyzivat@alum.mit.edu>
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 207853A1590
for <mmusic@ietfa.amsl.com>; Mon, 1 Feb 2021 15:26:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, NICE_REPLY_A=-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=alum.mit.edu
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 PRShOu5mbM5g for <mmusic@ietfa.amsl.com>;
Mon, 1 Feb 2021 15:26:17 -0800 (PST)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com
(mail-bn8nam12on2050.outbound.protection.outlook.com [40.107.237.50])
(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 360533A158D
for <mmusic@ietf.org>; Mon, 1 Feb 2021 15:26:16 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=hMC+k/JvWDgVUbBBh670CL99DMDyP7pGyBUGq7z177iMSs3c7ghDs45hAKJXTCU0tf2eex57DraUB5ZcCuOE8oK6x5751xJPAnVsJ9YCBMO2IZa1DbSFHPLX/YNwtpg0GC3ioLLuIPmRO7JYfOsN+UQ/2XaMq5wYKsBI1PLPXVUDs7+MTCTNBi8hZLw/KVSl70X3wgJ3YLfsHb5rYyyqbrQ6zpQ+uBhKjNuSbb2A24OsEMi/wbbWK1dBUlXn5VO5DhiMsoQIjNlr9gDMc0QO6NopzEcsDVuQcRpUF0j1RQnUdUfvAycsLzzCIkXO2YJ9wA22ENhlNiUxNNJD9iEaPw==
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=oJE9HctXtCAxg30LjLBBYnLScBTFZReSOcGTKEwpVeU=;
b=AOKSF1qFcqXXxwkbPCh5069aZypdoaPp6L92Lt62mAlB0JjiDXFTvaRz+wEJ8I8lANuHBFlDT7ashE+ajY/Vq9/E+/ZtuxgN+vZDqIzMP7u1m9HLPCkrCnMCAcpVpcMBkQ+DaxSsRUlm0jS3FaRHj5vhr33Pzqrn7zYFrCgti4jw5KYNAI/ptzADWG3+ixr9bAmebRW/64i9Euaw8UTUDWv7H9eQpkMFBWG8qvx0g05Wo5oOwKUzdPdrnOTOHyUeGYU4YF2OSHgSUXENHUuvGfznzGXyvrLj/FAfdr6Dn/nZqznzvB2gN4AikZJUZQDnPxWb1RB+lQgeNrGlcC06qQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is
18.7.68.33) smtp.rcpttodomain=telurix.com smtp.mailfrom=alum.mit.edu;
dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message
not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu;
s=selector2;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=oJE9HctXtCAxg30LjLBBYnLScBTFZReSOcGTKEwpVeU=;
b=gr1yFkXTpaNclspGPiy6ObHOLCIm4HAF1urli73HGxQN3m4MI7ueH8LGb0kkRSb6XJRdZFefsHCk7Hr0oj5UP/WW7MKYy+UnBWARZsEyQqE+uVPrLSG8A7i+NpmqVpMjhV8KO9OrUx1es2YtLkDn8Uo6QlLY+adeuzBm2K8W7iQ=
Received: from BLAPR03CA0055.namprd03.prod.outlook.com (2603:10b6:208:32d::30)
by CY4PR1201MB0119.namprd12.prod.outlook.com (2603:10b6:910:1e::19)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Mon, 1 Feb
2021 23:26:15 +0000
Received: from BL2NAM02FT050.eop-nam02.prod.protection.outlook.com
(2603:10b6:208:32d:cafe::c8) by BLAPR03CA0055.outlook.office365.com
(2603:10b6:208:32d::30) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.18 via Frontend
Transport; Mon, 1 Feb 2021 23:26:15 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33)
smtp.mailfrom=alum.mit.edu; telurix.com; dkim=none (message not signed)
header.d=none;telurix.com; dmarc=bestguesspass action=none
header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates
18.7.68.33 as permitted sender) receiver=protection.outlook.com;
client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
Received: from outgoing-alum.mit.edu (18.7.68.33) by
BL2NAM02FT050.mail.protection.outlook.com (10.152.77.101) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.3784.12 via Frontend Transport; Mon, 1 Feb 2021 23:26:14 +0000
Received: from MacBook-Air.localdomain (c-24-62-227-142.hsd1.ma.comcast.net
[24.62.227.142]) (authenticated bits=0)
(User authenticated as pkyzivat@ALUM.MIT.EDU)
by outgoing-alum.mit.edu (8.14.7/8.12.4) with ESMTP id 111NQCaK006583
(version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT);
Mon, 1 Feb 2021 18:26:14 -0500
To: Roman Shpount <roman@telurix.com>,
Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
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>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <76e438f4-e8b3-f805-e213-d7b52d36481d@alum.mit.edu>
Date: Mon, 1 Feb 2021 18:26:12 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0)
Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <CAD5OKxv728xY42iv39wA1EW3XUw-LPRDKAG=6-Jr67mA=sBfhw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 40a243c6-1d81-4501-b0e3-08d8c708c4e5
X-MS-TrafficTypeDiagnostic: CY4PR1201MB0119:
X-Microsoft-Antispam-PRVS: <CY4PR1201MB0119879EBBCEC469B8E3AB15F9B69@CY4PR1201MB0119.namprd12.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: P1G8DUSBGoKHqaFHcv0rdQCsZoQmZfHp6rWO/V8ZVuCTDvi2YBb9IjYHX4mDGVAFL13igs8k3guWvDF+9dVyuVd2XrRG54/Acq68WwmOJC0V5RHL1ACDbqwuWq6V53uhQkhT0Z553ku+UPIFfiA2TvZE3iuMnbnDKT5EX/SA5geeYHuE+h6MFEXwvfNAZgvr4Hqkn4f1eQVBWWnVbHcspEkAZkmxwpLR4cpg1AWg4FNqUAp28CW6697VolGReaa6WwgVxBBqODzvWWpuFrQyr++FG5dGWxt8hP9qokcQ8EIB3ZI2YrdWlIuwADCti0wPWajXowIVSvpse1AuEV0VnyjF82e6sYHA4I1NW30vzTgN57ujWKwiuf81B7rRZI6m4ljSkGJcU+NkAvSD80fmgRbt2hqukXNs4cbyGIlOiv/oB1CF8rc4uIcQlhxbNVLyml6jSNfBZ6JbBCEXv8WTvg4Du38tnOrrAxuqDWmPbzwubMPE2y4WB72OPkGbKYkv+kNSyLCdxject4w1OTfX7jsUWnTGPG87r7spxRCQjEfdLlYnU/Vo2P3lvkdPaxFOR4X3+sR9Quq5SmD0ttuvO6sKB69HqVKtxc8HfGaNwEasXcsgBvSyXIGuZBXc3qAc6PkzCkayWoosY+5r3eL2PUsnBmJi84Vsj28ZC1Y0mZF40Rw5lv5wpi7pF6k3tpEM
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:;
IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu;
CAT:NONE;
SFS:(376002)(346002)(39860400002)(136003)(396003)(36840700001)(46966006)(786003)(53546011)(7596003)(336012)(70586007)(316002)(36906005)(31696002)(26005)(86362001)(75432002)(2906002)(186003)(82740400003)(356005)(36860700001)(110136005)(5660300002)(47076005)(478600001)(70206006)(31686004)(82310400003)(2616005)(956004)(8676002)(8936002)(4326008)(43740500002);
DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 23:26:14.9088 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 40a243c6-1d81-4501-b0e3-08d8c708c4e5
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33];
Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: BL2NAM02FT050.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0119
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/DUpD7xwmcuhsgqabrJ8GMHgetQQ>
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: Mon, 01 Feb 2021 23:26:19 -0000
On 2/1/21 12:43 PM, Roman Shpount wrote: > On Mon, Feb 1, 2021 at 12:27 PM Christer Holmberg > <christer.holmberg=40ericsson.com@dmarc.ietf.org > <mailto:40ericsson.com@dmarc.ietf.org>> wrote: > > >>>> Sure, we could have done that. However, as has been discussed > that in the past (in MMUSIC, SIPCORE etc), we typically don't > describe situations that can occur when endpoints behave strangely, > because it would easily become a slippery slope. > >>>> Also note that, in addition to bundle-only there can also be > other attributes that have been copy/pasted by the remote endpoint. > >>> > >>> This is not "endpoints behaving strangely". This is the > expected behavior of an endpoint that does not support bundle. > >> > >> I don't think copy/pasting attributes you don't understand is > expected behavior. That in general can cause lots of problems. > >> > >> But, I do buy the argument that some endpoints do that, and that > it is not (as far as I remember) explicitly forbidden. > > > > Shooting yourself in the head isn't AFAIK explicitly forbidden. > But unless you understand and desire the consequences it is > generally an unwise thing to do. > > > > I don't think an IETF document is obligated to protect against > people doing either. > > > > Also, if we have an implementation that doesn't support bundle > that is copying an a=bundle-only it doesn't understand, won't it > also likely be copying a=group:bundle and a=mid??? > > My understanding was that it only affected media-level attributes. > > But, sure, in theory an endpoint could copy ANYTHING it doesn't > understand... > > > 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. > 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. 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. Thanks, Paul
- 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