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

Gunnar Hellström <gunnar.hellstrom@ghaccess.se> Fri, 05 April 2024 12:26 UTC

Return-Path: <gunnar.hellstrom@ghaccess.se>
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 AE10FC14F693 for <mmusic@ietfa.amsl.com>; Fri, 5 Apr 2024 05:26:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.43
X-Spam-Level:
X-Spam-Status: No, score=-1.43 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ghaccess.se
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 OJWWXSjri-gq for <mmusic@ietfa.amsl.com>; Fri, 5 Apr 2024 05:26:32 -0700 (PDT)
Received: from smtp.egensajt.se (smtp.egensajt.se [194.68.80.251]) (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 7EA1DC14F5F6 for <mmusic@ietf.org>; Fri, 5 Apr 2024 05:26:29 -0700 (PDT)
Received: from [192.168.1.82] (78-67-177-96-no2814.tbcn.telia.com [78.67.177.96]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gunnar.hellstrom@ghaccess.se) by smtp.egensajt.se (Postfix) with ESMTPSA id CE72A406FF for <mmusic@ietf.org>; Fri, 5 Apr 2024 14:26:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghaccess.se; s=dkim; t=1712319986; bh=uye/tYdmLxztMTI8S79RBYaQeCJl4u1PT/pEEwlB67I=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Xngo9WxwZJNpGCmaDgDBQvOxFDH7ikj8E6ggt9/S3ubPzAdCINeYjW16+il4INcxI UdfB3KJ1FaPYfZWDK9KPQdDZeZnzUr4IY+Jkc+Wy7q+nWiY4JZ+V3grjBvTPqjyOqg YGgUXQ8hVznDVjeu6rF9Q+UwjVRMc8GtfEyKsv4o=
Message-ID: <6214e088-8177-4503-b179-e62316a9eed1@ghaccess.se>
Date: Fri, 05 Apr 2024 14:26:25 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: 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> <37ba507a-7da7-4ca0-87d3-6c31f507de18@alvestrand.no> <AS8PR07MB80696A9C5B68B85BC4246DCA93032@AS8PR07MB8069.eurprd07.prod.outlook.com>
Content-Language: sv, en-GB
From: Gunnar Hellström <gunnar.hellstrom@ghaccess.se>
In-Reply-To: <AS8PR07MB80696A9C5B68B85BC4246DCA93032@AS8PR07MB8069.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/Hk5799yFiVbFjslD9ibhZhE6-XI>
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: Fri, 05 Apr 2024 12:26:37 -0000

Hi,

Den 2024-04-05 kl. 11:32, skrev Christer Holmberg:
> 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.
> Ok, that is useful input.
>
> Do you know WHY those applications use both mechanisms?
I can see the case when implementing RFC 8865 for RTT, that there may be 
an interest to negotiate in a standardised way the extra channel 
parameters about language and modality preference and increase the 
default characters per second. The reason to do it in a standardised way 
may be because a gateway may be involved in the communication and it can 
be good to have that implemented in a generally accepted way.
Once the channel characteristics is negotiated it is of interest to 
handle the creation of the channel and the communication in it by code 
in a web page and calls to the WebRTC API for ease of development and use.

I am not sure that it will be a popular method. Maybe it will be more 
popular to go straight on to use DCEP and the API.

>
>>>>> 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 <removed link> 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 agree.
>
>>> 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.
> The problem with simply removing the MUST is that it will introduce risk for
> id collision - especially if there are applications that use both DCEP and
> SDP.
>
> We can either try to solve that some other way, or simply document the
> collision risk, but in either case we should document it.

The risk is discussed in the Appendix A of RFC 8864, but I do not see it 
getting closer to a solution.

Regards

Gunnar

>
> Regards,
>
> Christer
>
>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic

-- 
------------------------------------------------------------
Gunnar Hellström
GHAccess
Gunnar.hellstrom@ghaccess.se
Tel: +46 70 820 42 88