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

Justin Uberti <justin@fixie.ai> Sat, 06 May 2023 00:30 UTC

Return-Path: <justin@fixie.ai>
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 4C157C151997 for <rtcweb@ietfa.amsl.com>; Fri, 5 May 2023 17:30:49 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 (2048-bit key) header.d=fixie-ai.20221208.gappssmtp.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 05mSfMY06bHD for <rtcweb@ietfa.amsl.com>; Fri, 5 May 2023 17:30:45 -0700 (PDT)
Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (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) by ietfa.amsl.com (Postfix) with ESMTPS id 916A9C151525 for <rtcweb@ietf.org>; Fri, 5 May 2023 17:30:45 -0700 (PDT)
Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-956ff2399c9so433424266b.3 for <rtcweb@ietf.org>; Fri, 05 May 2023 17:30:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fixie-ai.20221208.gappssmtp.com; s=20221208; t=1683333044; x=1685925044; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2dO4fyr/NJ9q2FW9ZweGF6U05CE13gypbnv2HFZMpp8=; b=MxV7KkQGd9jz8UXtHr/5gtkNwTuUH0k3FIbKGVeB7A7N4VkQIwub2s2rsx69RZs71N UvH3tatWP7s0GsDQ+KZMv52ywGSXfhwoDOx9LO4lkrMGHDOSigT+SgdHJQLgSJLR5hPS HY0M+1jL5yZzY3jXD1NaRLKtanj6tbMXMQVy3nsNW8Ku/PEjAhbI6X8JaxBy5iWRyVIz j1Di4TnC9x7V0D/+yYQ0oNpxRzEESsuifBSsICCVPkK54qbM1sUo8+KEr9UZdtWIgEff Wsgv+IP1vy5HX5gsa20pm1HK1lhG0/XvXmhlR5ya2e904AWd9ex/rALbaVOTi/7RJW2/ KoJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683333044; x=1685925044; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2dO4fyr/NJ9q2FW9ZweGF6U05CE13gypbnv2HFZMpp8=; b=Gk7DbvnET0qd3LgEi3+66YUakWdXQaD8G/1hduqS95dsxX134OaVRj7C7DBxc90nVF dkXrQ4Y5gYiHfL5I1WiJNG08ug4ayZujGXcgnHhfYrdjKrW1eioyeJNaMWaB4hTD7F6u h24X+fG2QdYm5XayKowYct8htkVZqByIxDLa01pRfYgb9aCuqqn52XrdUMYDpS8r6rEg 995+kyTHIVsFl/vaTBFigL8iVSWUzv0IKY7/RPBC3uoa4zBwS+OTy5dlraof5nAHY2pE tot8VZG/xKQII9rP3UcFErLkM3rnoJnNd09DLsndYfB+/5LhexYBIcceJmuf+Mr8Mmuf 41MA==
X-Gm-Message-State: AC+VfDwHK5HtyDEmKBx64k445b+FnaxoYir+hSUNF4/GW3fEk5Te1k7U jLWJERjynpFqQzpYGtwK5MOv7owH1yOpsKPTiKrVmBr/mtW2N5FB/e83xg==
X-Google-Smtp-Source: ACHHUZ4Vnr/bwNB3VZjEvP5+yCgUr6i0IWTTsTM3NU9NRBHZ5spglS8gu4mOF+94t6x/qdSVptxW36OhBq2v48YhmYA=
X-Received: by 2002:a17:907:9606:b0:932:7f5c:4bb2 with SMTP id gb6-20020a170907960600b009327f5c4bb2mr2829086ejc.75.1683333043672; Fri, 05 May 2023 17:30:43 -0700 (PDT)
MIME-Version: 1.0
From: Justin Uberti <justin@fixie.ai>
Date: Fri, 05 May 2023 17:30:33 -0700
Message-ID: <CAPn_nMPhh0x5-_BKa0xF595Y8LXo5oRQjJqFgxFLtcCf+-FpOw@mail.gmail.com>
To: rtcweb@ietf.org, "superuser@gmail.com" <superuser@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000001b6d1a05fafb8453"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/IQtTTn6L48jejirzQ3Hzcq7iFF4>
Subject: [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: Sat, 06 May 2023 00:31:29 -0000

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, 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