Re: [rtcweb] JSEPbis: Questions about send-only/recv-only codecs and Section 4.2.6

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 20 March 2024 09:46 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66063C14F689 for <rtcweb@ietfa.amsl.com>; Wed, 20 Mar 2024 02:46:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ericsson.com
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 UhnX4YdvKB7y for <rtcweb@ietfa.amsl.com>; Wed, 20 Mar 2024 02:46:31 -0700 (PDT)
Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2120.outbound.protection.outlook.com [40.107.104.120]) (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 C19AAC14F70A for <rtcweb@ietf.org>; Wed, 20 Mar 2024 02:46:29 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z5O11cTMEOivcHUwsr2dizlVHqNnhDp94Jh/0xJ/YSPMxzAqrTGB+hl581dZFskg+nJATvlWuK2WYiCHzmA69apl2a321eLxxo8RGhgezeezN97DTYqlmsQJ7B9Qmb2DaMCwEgCuTFlRkyBW2sILpImevpEvqrRrOKxjJl0m56mBvk+Lj68ynOdKdfp/XFi/ydLi2+fyAuAk4ODvmeZqWhJh2WEINUIaQblNLrBicF1X6N865eSEUfJx/N5JJf9fZxJzVVdOdFfmpeaFdqi13SSAuiNb2eS5ad+BkPKgeFbGsPKUV64nqQbfiT0/p/o19RB2Tcn4gK63yN1Pjps3sQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=24kjil9D4Yquusi3KJJvgxMxUcuya8CxDNHztGfgQuw=; b=heNl7X73v5BSFy5Z23HClVVGER0ESoePbD2q1oM+0/x2uAdICAuUlM/ju6hcv5vyVrcrUa+eWETSBSbKDyOV/loIw9j98YVbc295ZGbxL2kWX9OZBoHPqmVTko9nMr28HYuj010Dgr8Tg7iwBC5Hhbgg8ZOtLA0PG1i9Xn1TP+u9m31S98yKpWbzapVHAHH/WtwA54WCI/dlHAgApRdbUVe78kjWQVyEMjsDfcWipVYljJM4TO8ko70aKcw7Ng1NeXBkmRfowzR2zz6cB9KdtX2Vdgqip+q/mzYZwNHzHQBksUBWyyIW6RzmMXn0XYPbsl+w8ZKM5qFqjf1z65YwVQ==
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=24kjil9D4Yquusi3KJJvgxMxUcuya8CxDNHztGfgQuw=; b=Qcl8pzj9m8ITMDQB2G2H/wP8+6Ok50+6JtP/RvVItamcOp291rgREe855U61dSZQAWr6etP48arfJ5Xhc8nXDbh79Vv0sB/U7aajrQjo0Y5SkcQk3lHI5UyGlT2Sdt4u0yvjKoWYpuKDHshvlOOgbL7ciObKaq+1soCW38JHfb04+fvETyWpCVUSXTEgu6KJda5ghHKYNYVlPoba/0EHcgbQFtIOSEbrWIOtOq8/9RsTitoyL7+GytsE9aNVFx3wSf6PVwHO7HjWUo+4/AWOmlj3e/v00oig0SMJ13PCJREtDfq1fnkewqkjFLwZG/2XQcIKoqrkMP62gcR2Uu5jTQ==
Received: from AS8PR07MB8069.eurprd07.prod.outlook.com (2603:10a6:20b:358::7) by DU0PR07MB8420.eurprd07.prod.outlook.com (2603:10a6:10:354::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.29; Wed, 20 Mar 2024 09:46:26 +0000
Received: from AS8PR07MB8069.eurprd07.prod.outlook.com ([fe80::a9a7:2b0b:890d:2c95]) by AS8PR07MB8069.eurprd07.prod.outlook.com ([fe80::a9a7:2b0b:890d:2c95%3]) with mapi id 15.20.7386.025; Wed, 20 Mar 2024 09:46:26 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Justin Uberti <justin=40fixie.ai@dmarc.ietf.org>, "Murray S. Kucherawy" <superuser@gmail.com>
CC: Harald Alvestrand <hta@google.com>, RTCWeb IETF <rtcweb@ietf.org>, Henrik Boström <hbos@google.com>
Thread-Topic: [rtcweb] JSEPbis: Questions about send-only/recv-only codecs and Section 4.2.6
Thread-Index: AQHabD0BMOTRTyifNkOWzIIMkEDRi7EkYgUAgAA+ugCAAASsgIACc5mAgBctwACAAXtogIAAuHGQ
Date: Wed, 20 Mar 2024 09:46:26 +0000
Message-ID: <AS8PR07MB80698924869ABC57A85B741C93332@AS8PR07MB8069.eurprd07.prod.outlook.com>
References: <CAOW+2dud=K0TuQ5s-MKgmnuvxR-DebFFhquigUbsiKQB3RjdNw@mail.gmail.com> <CAOqqYVGhwsxxj1AnUU+Qk5A9DcqnaGCc5YGo9ntd-CvrY0v6Nw@mail.gmail.com> <CAOW+2duhtXRx6_kDgS6CvwnwgwGK8JH+QkODNEpa1=0r=TQDeA@mail.gmail.com> <CADxkKi+F-Zu6HQFTtAxUE_UsSiVpV5J_zpNYxK1b44Qg_5i0HA@mail.gmail.com> <CAPn_nMOMPDRCkDxk3qRqhz6xw79NTq8gqJdTMtsehwNtY2U8vQ@mail.gmail.com> <CAL0qLwa02W3DmhTabLh2avpxFKpSqXqcozCedbcSUiNbghrmOA@mail.gmail.com> <CAPn_nMNQyVY2G0dwKv0CNymZHrYzYXhzJkH2+8N4+AHMScG1UQ@mail.gmail.com>
In-Reply-To: <CAPn_nMNQyVY2G0dwKv0CNymZHrYzYXhzJkH2+8N4+AHMScG1UQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AS8PR07MB8069:EE_|DU0PR07MB8420:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: w9Zd03J/NhSqloLbMA1ndgPa1Vx8NiCIy/vVg1/7VXVG4zMVdNdoWLpQqjlp+KLCnaI27LlNSnsndziaGxMdRbSVkKlkKQ5eT8rh3ebxdqEeaWYVfvrLtb9NzeyERXJ/+im1BE2WBLMr94H1vJH56Xs3fdmBORfFWj2zUFK2TryLKo9sF19QA63YesqxMI9mOEs6VfQzL4T8Xo3G9aLx+Uue7xaj5uLA81DTI/8cu++hyXklUMJ3bZMcNHtVbhnRkFNMmfPocKTUrKOnhPxrvJvsmOmUrFQQv565V35/I68scUrKhpxsO58P8GwP6Zf6Vqhrt7E7DQd9ooQMwPpIfYyEhjzcEhQD1v1tvcWELC8KlDM+GpCgHbawEbgWEpFVo96jTDHgBgWRyD0OUDRiwGSstXQOgNIld9ZQYAQJ7uYTZi/xwsvKV4zHZ028D/Cg3NoG4jv2juYnypVrYQ+m9f/wk630+x79mhqEUMGB8KqiWFOHbQgLvn1eGmsUE24KfBHyeoQW1JVfQR/DLhrWgsRAixFaI4OSlxireittUqBg8onfWZyahnVfO36YtsC6B3viVbkdLDhNmk0I3Tg4qAwfSYdO848+U9yEvrhVZlI6VDkP8Bt/WIJOOT+5VtWEfxOJ8+fFK8XMhdaLw9EA5f5slWxpctADgQ0Umgi1VRI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR07MB8069.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: pz7TyXCcl9bIjhCkZbvbE8w6Q8T2Ys/3uh/aa+PXTlGZ0xbGRBVaYfOkIdfj+FYClLBBI5t2dIgwJHTJThiknX5V9C0q77l2rKX23GE5qwNg72dPwD4aWYBZt+O0jaNgQZ2KNv60hAqXi0AdbNyVkgHVrjA58ogtrfdQjXOkz9xWAHAG/XqFTYrNFZ2coM+gxEmNUNQwr4geBzct+jltqm9rp5oSquo7C9lLFc8WM6uwtGu/IhYpvC+RSMfwjecVA8FefXjHRd/Jtbbq1iFwLwzY95Bgpnq53YP/aFm+GnexLlN9Jw3i1+lSG7NrgHiUxqmuygFi1M0L5NhgS/oUq23ySd/pfbOGRIeEz2RUYHECoMYZ9hUruQbpXMYmiasLJTKGsArMc9jMfubFB/qEFxy8q9ldr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/TxARjCnsxKnkHdd9E0jV+KYKkZiz1jg2miM53SIzon7usJ9FjiAFfvviJpQX8jeQs+aJ5DNfaRm9FkfN4VThbml9VR8IEyCjSCTNSZlLH68kY73vUIze2TD1bh0KSXKVw==
Content-Type: multipart/signed; micalg="SHA1"; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_026B_01DA7ABC.3D5C4B30"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS8PR07MB8069.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ec5b09c2-2397-4f8c-72a0-08dc48c29c85
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2024 09:46:26.6182 (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: HQNEY5GlTe1fEnXEyvrK3CFh6x5Gr8GX1+PTw4C5SpyvmqM/HZoNI4mSnLZGjCoKrYTD+Kpa2E0gZ8gBEoH3Z33p2N6assJRMPkeDfyiKE4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB8420
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/bGy7AnZwlC6VO5-jItOJivLHxX0>
Subject: Re: [rtcweb] JSEPbis: Questions about send-only/recv-only codecs and Section 4.2.6
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2024 09:46:35 -0000

Hi,

 

In general, I don’t think the spec should say whether something affects an implementation or not. How do we know what affects what in an implementation?

 

If we want to clarify something, we could say something like “sCP is not used to indicate which codec an implementation shall send”.

 

Also, maybe the statement that sCP only affects what an implementation wants to receive should be in the first sentence of the section? Now the sentence only talks about “codec preference”, which I assume can cause confusion.

 

Finally, if there is text somewhere that DOES define how the implementation shall decide what codec to send, there could be a reference.

 

Regards,

 

Christer

 

From: rtcweb <rtcweb-bounces@ietf.org> On Behalf Of Justin Uberti
Sent: Wednesday, 20 March 2024 0.32
To: Murray S. Kucherawy <superuser@gmail.com>
Cc: Harald Alvestrand <hta@google.com>; RTCWeb IETF <rtcweb@ietf.org>; Henrik Boström <hbos@google.com>
Subject: Re: [rtcweb] JSEPbis: Questions about send-only/recv-only codecs and Section 4.2.6

 

	
Some people who received this message don't often get email from justin=40fixie.ai@dmarc.ietf.org <mailto:justin=40fixie.ai@dmarc.ietf.org> . Learn why this is important <https://aka.ms/LearnAboutSenderIdentification> 

	

I don't think any changes are needed in RFC8829bis, I believe the text in S 4.2.6 is sufficient.  

 

If necessary though we could expound on the sentence in 4.2.6 that says "Note that setCodecPreferences does not directly affect
   which codec the implementation decides to send" to make the intent clearer.

 

On Mon, Mar 18, 2024 at 4:54 PM Murray S. Kucherawy <superuser@gmail.com <mailto:superuser@gmail.com> > wrote:

On Mon, Mar 4, 2024 at 3:57 PM Justin Uberti <justin=40fixie.ai@dmarc.ietf.org <mailto:40fixie.ai@dmarc.ietf.org> > wrote:

The idea behind the text in red is an explicit callout to the fact that the implementation may decide to use other mechanisms (e.g., RtcRtpSender.setParameters, CPU or bandwidth limitations, etc) to decide exactly what should be sent over the wire. 

 

Also, this API is intended to directly influence signaling, i.e., the set of codecs that are offered. It is not intended to directly control RtpSender settings.

 

I agree with the point that the operation here may seem a bit weird for a sendonly m= line. That said, I think it is entirely consistent with RFC 3264 S 5.1, where a) what is offered is primarily intended as a guide for what the answerer will actually send and b) the answerer may choose to send whatever it wants as long as it uses a format from the offer.

 

I think keeping sCP focused on what goes into the actual offer will make it easier to reason about this API.

 

Are there any required changes to RFC8829bis, which is in AUTH48?

 

-MSK