Re: [rtcweb] JSEP-bis and WebRTC-Extensions Section 5.2

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 07 May 2023 19:50 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 D5940C15152D for <rtcweb@ietfa.amsl.com>; Sun, 7 May 2023 12:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 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, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zkIF9yq5WKyS for <rtcweb@ietfa.amsl.com>; Sun, 7 May 2023 12:50:52 -0700 (PDT)
Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2061e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe12::61e]) (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 57F6EC151525 for <rtcweb@ietf.org>; Sun, 7 May 2023 12:50:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LkJIlyHoDFEAbEJPE8S1KaxhQvvIlDtdco0yEOMEdfWRr6u3wiLwOOwtB7m6MbBB++jKfBJNB8PMyzHC2Yw5H7SQGysgVqRORiBQ2jzf2Hn3Ia2TvkSYfFkIIgqwAlG9uxo7lioD7iBr9C5r4wsgyJf9nyo+skUAuqb6DYOiwDnwE7JgtACCYLJu8nm/vaOgolwV9AfF+5pS/xZCjwGuLLR5RN0b8Hr2PJFP51M54oifKK4srtH2QD+l2U3X34PuuHNALyzownMNyoY2ktEU22lCJJRnix7ZboDVGf8GequUd3/tYX98AdyOtDs6Ct98xcoLLaGnm3Izbk2h204lpQ==
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=wkBNDSJx+tD0Bz8lPpyxIbJYY5+Eul76PDYUeswBwhw=; b=IwusvqR4PxhubtDu+ozsvJSU7heTFjUCPFOCz9J575S6aA+BwM9YMqGWiLIE05GiOJczfCDEGcAzeJWdAJwUFK/QgYzRHELbHAUYD/B2dHYswD54leA8UNziHWBAKpBAf/1yICzYIn/MJuSftqEfmyBfTxH1nZPiz71KkaYOJI1GYbf/6sbjVOlzudEsHpg2JzGSuON3W9fj96Oyp846XSUEAofmxWzv7PiWpsunkxGNEamvYQwUK5jZjAVf0AY69alsxV+/LsQ5nVnt3v7ZsVjy8mAWODvzCX5DdMDeHU28+FPEO+K/v6LE/lggG1JdxGmyuMecQ2qlsgYkKOTujg==
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=wkBNDSJx+tD0Bz8lPpyxIbJYY5+Eul76PDYUeswBwhw=; b=VqNlCiSiTW/zP55mD1ARUpr+I3wqIP74XVP20UPguT/ocOZPhCl68w8AWnJBXvyEcyq/VgXI4jkRaQ+0L1RvZgcr9pG3TuZTSYobqVLsK/DtiAjanNeArxZYM5KJh5MfW1KbmVGjQY8upuCW2PhjYzNYXQf4bdl0jQhQKfdb40M=
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com (2603:10a6:7:9f::27) by AS5PR07MB10032.eurprd07.prod.outlook.com (2603:10a6:20b:651::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.26; Sun, 7 May 2023 19:50:47 +0000
Received: from HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::8542:2a28:6718:b1b4]) by HE1PR07MB4441.eurprd07.prod.outlook.com ([fe80::8542:2a28:6718:b1b4%6]) with mapi id 15.20.6363.032; Sun, 7 May 2023 19:50:46 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Tim Panton <thp@westhawk.co.uk>
CC: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] JSEP-bis and WebRTC-Extensions Section 5.2
Thread-Index: AQHZf7JJZNe2DcDmDEWZ0j8JTBi8Cq9OlyL/gAADcICAAB9nTIAAFd2AgABiLig=
Date: Sun, 07 May 2023 19:50:45 +0000
Message-ID: <HE1PR07MB4441C0C4B70C1DD980EAE23393709@HE1PR07MB4441.eurprd07.prod.outlook.com>
References: <CAPn_nMPhh0x5-_BKa0xF595Y8LXo5oRQjJqFgxFLtcCf+-FpOw@mail.gmail.com> <HE1PR07MB44416F5D6CCD8940D5974E3193709@HE1PR07MB4441.eurprd07.prod.outlook.com> <61AC7C19-2806-483F-9526-637DB5D46104@westhawk.co.uk> <HE1PR07MB444193373683D3D0E2F0735F93709@HE1PR07MB4441.eurprd07.prod.outlook.com> <8A7B8A70-7E37-4B0F-917D-C2FF62B84768@westhawk.co.uk>
In-Reply-To: <8A7B8A70-7E37-4B0F-917D-C2FF62B84768@westhawk.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: HE1PR07MB4441:EE_|AS5PR07MB10032:EE_
x-ms-office365-filtering-correlation-id: c01dfd7c-1f57-47ed-fd12-08db4f3458ea
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: w7bNNp9JdCMa61o3ZoXrmgFAPnqElHux6gUQJSOso45r6CdJ4OuwHDuyhTRBhgqqsChcLdIT9W0pqU7+rbtsXwZwsn+xjXNfOVoN1FTKonaLdIAlWlT23wNf088L2Tlq3/MlOzEpn0UTN37cBnoTecdHqL0r4a5hd/65GGxhWSlH/BEnOS46uAjdszzLoEI/hRjZKK8D/b3yK/Bj6o6KrXo9fXGpOd6WqVMfhzYcMYiGrP/K8qgiaA1ONmIgOgnJfeG7yEL47GYTv8TJ5jHW9lsmP6qrRmOrUz+Bxwpyn5sLuZ25W+LR98K/t1H0qzxKF8VKfKxxl3TrwRz5b1c1QMAy8SIyGJGTcMYIKnuK+LAtp1R7rYKywFw7+2WAKAdn9ZwdfaNLeTnD5wn2+dg0qonQROKYfiBv65Rw+HRm9yr+j3doZ4i1h5DvB5nnSt5Cw4qqIm3V69ZJp8t46U/houhL6ZnpyFAQrBcIliiKHfmYAL0Dh3qfngYfG8pfrf4NFJRe9VN7EajcU3rF/3YSg4viSJd2b/Ftb0Am6uQvhLHvyXDZTkcYvdVHdxUSQ2i44gfmUBj14KSuuIZMdHXL5u+hzmEmVAuEzXIOEbYb7RNOPXUqQJHNZKcu8NETDo5UmosYfAbTRZIAxfDlKNcOug==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR07MB4441.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(366004)(136003)(346002)(396003)(39860400002)(451199021)(2906002)(186003)(316002)(19627405001)(33656002)(41300700001)(71200400001)(53546011)(26005)(83380400001)(4326008)(6506007)(9686003)(6916009)(76116006)(64756008)(66446008)(66476007)(91956017)(66946007)(86362001)(66556008)(7696005)(45080400002)(54906003)(66899021)(38070700005)(478600001)(44832011)(166002)(52536014)(5660300002)(8676002)(8936002)(122000001)(82960400001)(966005)(55016003)(38100700002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ySYQqqgmfpnjR3DIzXtV7AhBVUzieCcp2aVNmpr4yV2cjMM8hWqx8uzpXETq57EpxVki46U+O18G68qoxURPZkT4cz86DchQFsQHwyHCFDuQlQhnWNO9VW8ysA1qamAaJJr6a/itPSDlNPB6mAO/Kmc8RL9mqO102PB4wN3Ro6ot5dwlZVMArn69bIuioD6tRxAfyhj0LwsUqSSXx6vOTbpnjrE9UnUdUeXOYbkhp93pYCfKl0XpTJXpG9XohV1EkPgbMrPbMS91LTXd6ttew/sqbp1G1IDt4tiRcVoHNKEMGqxBJ1C+qQdexdBjoGnhDHx5pghHRDt5Y5sPW3NYHqIvz5aFvOgyehgFbr7bIYvcBGSsPVJiAVR0sln+o8E/MjGcl+WLL8OIbOmUVyePyBbZ3n4WwXhzPBRGvOBkTILCH7u7dw2gD+CKJRgDXdnvDUfIFrjdKfHSwQ/NkZB236ro1x2pZoHrNN4oWq25JWi/f3h8KEwM3afFDxV7PjXD6/dS6rLl+Imq9hk16celJ0WGIYE1Xa8ypwxetiEwbRmpzLAMM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MB4441C0C4B70C1DD980EAE23393709HE1PR07MB4441eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB4441.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c01dfd7c-1f57-47ed-fd12-08db4f3458ea
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2023 19:50:45.1484 (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: NtAyf87Ha6GAARo6ujl2RdIxMuUcUcXoswrvtVRSvLxpHgr4Zi59chtec/veTLREGjORW1tlOXHO5MowSsrJQKBNEdzMIMRh+uR27j06l8k=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR07MB10032
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/NcVNNbfthcQQSH05Fcf2siDmct4>
Subject: Re: [rtcweb] JSEP-bis and WebRTC-Extensions Section 5.2
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: Sun, 07 May 2023 19:50:56 -0000

Hi,

>> Are there actually some real implementation issues behind the proposed change, or is it only
>> about W3C and IETF using different terminology?
>
> It’s an API layer thing. At present there are no ways for a javascript application to manage which RTP
> header extensions are present in an offer*. So the current behaviour is to offer _everything_ the
> library/stack is capable of. The W3C is creating an API point that allows the javascript application to
> decide which extensions (of all the ones supported by the stack) are useful/relevant/safe for the application.
>
> If both side’s webRTC implementations support a lot of RTP header extensions, the current wording will have
> them _all_ offered and all accepted in an answer, even if none of them add any value to the application - bloating
> the packet size needlessly.  Specifically: ’supported’ is taken to mean supported by the user agent - rather than
> supported by the application as a whole.
>
> (This is my understanding of the issue at least)

Wouldn't it be better to have a generic statement, saying that for some features there are APIs that, for some features,
allow the JS application to control what options are offered. That would also be future proof, and we would not have
to update the JSEP spec every time there is a new API that allows the JS application to control what options are offered
for a certain feature.

Regards,

Christer



Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: rtcweb <rtcweb-bounces@ietf.org> on behalf of Tim Panton <thp@westhawk.co.uk>
Sent: Sunday, May 7, 2023 1:16:27 PM
To: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
Cc: rtcweb@ietf.org <rtcweb@ietf.org>
Subject: Re: [rtcweb] JSEP-bis and WebRTC-Extensions Section 5.2

I was also thinking about this too - and I somewhat agree.

We could replace ‘supported' with 'supported by the current application’ since at a high level what this change does is to differentiate between extensions that the library (libwebrtc etc) can support vs extensions the current application wants to support.

It also makes it clearer that this is an editorial change.

T.

On 7 May 2023, at 11:10, Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org> wrote:

Hi,

I have issues with the proposed change.

First, AFAIK, "enabled" is not used in any other O/A specification.

Second, my reading of "supported" is that it is something that the endpoint is actually willing to/capable of using within the session.

Third, within the JSEP O/A procedures, "supported" is used for other features (e.g., FEC mechanisms). Using other terminology for one feature will only confuse the reader, in my opinion.

Fourth, if it is unclear what "supported" really means we should rather clarify that.

Regards,

Christer

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: rtcweb <rtcweb-bounces@ietf.org> on behalf of Justin Uberti <justin@fixie.ai>
Sent: Saturday, May 6, 2023 3:30:33 AM
To: rtcweb@ietf.org <rtcweb@ietf.org>; superuser@gmail.com <superuser@gmail.com>
Subject: [rtcweb] JSEP-bis and WebRTC-Extensions Section 5.2

The WebRTC W3C WG is working on an extension spec<https://w3c.github.io/webrtc-extensions/#rtp-header-extension-control-modifications> that suggests behavior for RTP header extension O/A that conflicts slightly with the current version of JSEP. Rather than have this sort of ad-hoc extensions extension to JSEP in the W3C spec, it was suggested that we could apply a tiny patch to JSEP before JSEP-bis is finalized (it's currently in the RFC Editor state). Murray was supportive of this but wanted to make sure the WG was fully behind this change first.

For context, Section 5.2 in the W3C extension spec basically says that WebRTC endpoints can control the extensions that are in use, and as a result O/A negotiation should a) use only the extensions that are enabled by the endpoint, and b) always reoffer all extensions, rather than the previously negotiated set.

I've made a PR that captures this request at https://github.com/rtcweb-wg/jsep/pull/1033/files<https://protect2.fireeye.com/v1/url?k=31323334-501d5122-313273af-454445555731-45f3175ddedc0fdc&q=1&e=d500064c-f63a-47ed-b1ec-2ff879fda6f4&u=https%3A%2F%2Fgithub.com%2Frtcweb-wg%2Fjsep%2Fpull%2F1033%2Ffiles>, and it basically makes two surgical changes:
1) replaces the use of "supported RTP header extensions" with "enabled RTP header extensions"
2) changes the text around "extensions... present in the most recent answer" to instead say "extensions... enabled on the associated transceiver" (similar to how codecs are handled in JSEP).

Please let me know if this sounds reasonable to you or you have concerns.

Thanks,
Justin

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb