Re: [MMUSIC] [Technical Errata Reported] RFC8864 (7805)

Harald Alvestrand <harald@alvestrand.no> Thu, 04 April 2024 14:14 UTC

Return-Path: <harald@alvestrand.no>
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 9CE73C180B41 for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 07:14:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S7UQXunJu8pr for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 07:14:01 -0700 (PDT)
Received: from smtp.alvestrand.no (smtp.alvestrand.no [65.21.189.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D51FC180B61 for <mmusic@ietf.org>; Thu, 4 Apr 2024 07:13:59 -0700 (PDT)
Received: from [192.168.3.110] (unknown [185.71.208.122]) by smtp.alvestrand.no (Postfix) with ESMTPSA id 1C1E44ED2E; Thu, 4 Apr 2024 16:13:58 +0200 (CEST)
Message-ID: <37ba507a-7da7-4ca0-87d3-6c31f507de18@alvestrand.no>
Date: Thu, 04 Apr 2024 16:13:57 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Christer Holmberg <christer.holmberg@ericsson.com>, "mmusic@ietf.org" <mmusic@ietf.org>
References: <20240209080227.970F611821EC@rfcpa.amsl.com> <171bacd1-0316-46d2-a374-c89ee5d535e1@alum.mit.edu> <AS8PR07MB8069A3A536BA645144D8952493482@AS8PR07MB8069.eurprd07.prod.outlook.com> <ec0fa1c1-f60f-49fb-9c0f-1729e654bdc1@alum.mit.edu> <AS8PR07MB8069B7B98C0E04FDCAF86581934F2@AS8PR07MB8069.eurprd07.prod.outlook.com> <CAL0qLwa4-uzxsqLW5N3ApLzT4zjW7mvLN3Hsj+8XbSsCaxoOow@mail.gmail.com> <AS8PR07MB80697339B02C5C6B14EE910593342@AS8PR07MB8069.eurprd07.prod.outlook.com> <a7328bf8-0258-4dee-8a4c-c59f2c5cea63@alvestrand.no> <AS8PR07MB80693CCD7A91419F27B5DA33933C2@AS8PR07MB8069.eurprd07.prod.outlook.com> <20424435-9be6-4812-92b3-77fed7df0965@alvestrand.no> <AS8PR07MB80698306D249D3F59343F68D933C2@AS8PR07MB8069.eurprd07.prod.outlook.com>
From: Harald Alvestrand <harald@alvestrand.no>
Autocrypt: addr=harald@alvestrand.no; keydata= xsFNBF3b3UcBEADG/UxgR81/WWeCrH+wICS5D6Wx85iAIEUSmLaCRVJejO5My90JskUdZkmS rYriW3v2nms1gUrI0QZWweEQ/7LTszT4mvWOsbZOwo+gp+jO0RkPjtfPn+cyvo8VPI4D64w5 czTHv9kfXIrGCxSDC8x7j4dsrJv5VwKC/kRx+SB5nBhFSyGo5GRUfUPt7cBdXa3mDMWLd02N kcMew4DP5t0IMlO+ZaXM+IbmQ8bG1Fyccc/+Q+unniAcoYxL3goNOMtyQU0F7cm4ngz5yjqX I3FHwl3CfWJ6ofcyLbhQUK/x2p3BOfUqeb82KMAH9UTGgeo3Z54T71eu9cfYf8AcKDNcFtRK w4NytEQw4UkxdCFL58H/kKSOYjWA0zgQO0X7dNyTs2UMZVzYcHSU9GcYEM9mwjCvcRIEmX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KX90urc8Zx2xadZqwyhCktDYfrEKsw AU7lzbkXQV4Le5Z0gMVm6TQOUZcispceIMWhj1NdArpLx22BgF0/NHs1MZBQ64SFua7GtwXr oV74IZma9jFsDMxnXdtjsWfePVXD0e89DMapmvABFcY6LAS31k1aWuALAIWFILS5ZwYOXsm2 Y1lgGLBK7gq6VoipQR9PoT2wL5yulmXKVBranySieKnYXZkMQpVwEgIjbW+v20kLTQqqgMeh fyGt8DwhTyCRIAfEdx4VFy4dMZczlHwMYQkNq1Jt/JBUluQazmtklGKHsh3AWl7P4Ocuvt4C ifNE4N2DnyK7fO2FCJJtkKVFbhtfyb7O6tGbgANYqrfvyrYuDp+prCdHxheCG8hpoxskn2og qsgQHhZqwml0Fnn6p2v2dufbX1ZMhBsEkvKwTWR7KrOCaO6Bok0tI0S7F1d4LmuaUHu/Od55 p3o2fVs//BoTFQI=
In-Reply-To: <AS8PR07MB80698306D249D3F59343F68D933C2@AS8PR07MB8069.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/4mhlm-yHdw2CZ8CQ79wT39A2O8Y>
Subject: Re: [MMUSIC] [Technical Errata Reported] RFC8864 (7805)
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.39
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, 04 Apr 2024 14:14:05 -0000

On 4/4/24 15:58, Christer Holmberg wrote:
> Hi,
> 
>>> I am not sure what you mean be "pre-agreed data channels", but I was
>>> referring to applications that use both DCEP and SDP.
>>
>> I was specifically referring to datachannels created with the "negotiated"
>> flag
>> set to "true".
> 
> Gotcha.
> 
> So, you are saying there ARE applications that use both DCEP and SDP
> ("negotiated" flag set to "true") to negotiate data channels?

Yes. We've seen it used.

> 
>> WebRTC, as currently specified, will ignore all attempts to negotiate
>> datachannels using SDP, so those channels can only be created by the
>> application parsing the SDP, extracting the information, and calling
>> "createDataChannel" with "negotiated" set to true.
> 
> Correct.
> 
>>> Also, your claim that the DCEP odd/even restriction would not apply for
>>> certain cases is (AFAIK) not defined anywhere. Also, I don't understand why
>>> the odd/even restriction would not apply in the case where you have pre-
>>> agreed data channels.
>>
>> The WebRTC spec, at
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.gi
>> thub.io%2Fwebrtc-pc%2F%23dom-rtcdatachannelinit-
>> id&data=05%7C02%7Cchrister.holmberg%40ericsson.com%7C3bd0b5c63c86
>> 470f330f08dc54a2bc12%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0
>> %7C638478305114832628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
>> AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C
>> %7C&sdata=HbedMunDcF%2Fvy7YawmqPo%2FFBhqi7kjeflQWO185SXvQ%3
>> D&reserved=0, does not
>> mention the odd/even rule. For good reason; both ends have to call
>> createDataChannel with the same value for "id", so it *has* to "violate"
>> the odd/even rule.
> 
> Both endpoints obviously have to use the same "id", but one endpoint has to
> decide which "id" to use, and when using SDP the idea was to re-use the DCEP
> odd/even rule.

And that re-use is exactly the thing that we can't do.

> 
> I DO agree that the odd/even rule does not work in SDP actpass cases (where
> the id has to be set before the DTLS roles have been determined), and should
> be corrected, but I am not sure whether the correction suggested in the errata
> is the right way.

I'm happy to see alternate text suggested. My suggestion was only in 
order to have something specific to suggest in order to get rid of the 
inappropriate MUST.