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

Justin Uberti <justin@fixie.ai> Tue, 19 March 2024 22:32 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 0BB74C151082 for <rtcweb@ietfa.amsl.com>; Tue, 19 Mar 2024 15:32:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, HTML_MESSAGE=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_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
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 KIWKvaOrjN8Q for <rtcweb@ietfa.amsl.com>; Tue, 19 Mar 2024 15:32:41 -0700 (PDT)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 2F18AC14F5FE for <rtcweb@ietf.org>; Tue, 19 Mar 2024 15:32:40 -0700 (PDT)
Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-dd02fb9a31cso5265037276.3 for <rtcweb@ietf.org>; Tue, 19 Mar 2024 15:32:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fixie.ai; s=google; t=1710887560; x=1711492360; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5vlWlv4lxWA9ttxELgB53blFso/6ZrSuvT9qmjTWUDU=; b=GoEshUWCQ3tEuVs5A3Ng/Nc9+gpTBfyejDpzFh6GqiV6ssjFxMk0BddmiX8XJvCf30 7gZjBmoCCvsm9NqetVW2CqBnnfYqMvSWx5uxmqvz7tQxQam6lX9tzt00T+qkvZNl/G9D btpwXmza3TlTf9HW/wVE2S1oDQ5vgdWZSGb/Nvr1EcM8kvKctl2FED6e9rpJKw6c1jku Zblhn7IiaI7YztMkwA56xehmQ8Ff9GaDnYTXM9Tc+4KCBflpBdqgfrzTuEifgQSNWVyC NodHvfP85rVgnSxFTCh8YEUdB10yTfVzZcZE6trmgJ3timInlcVJAbtDeAFPda9bMPYo /qTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710887560; x=1711492360; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5vlWlv4lxWA9ttxELgB53blFso/6ZrSuvT9qmjTWUDU=; b=j8FUbBLmNrqc+f4JKJoV0LG2sQe1/0NOdTzKfI0WMSZCmxtRMMtE2VG5Y1smTVG3Hp /KPRr7Rq/69zzQEWrf/pkrjYvaGE1VI0asxAxSG6OcLUU7lVyskYIyfrHQ2gvbl/S67H JIqjzBEh7v6RK+rGxhMwK2HD6UFDJtENCGQd0MEc7tXYSwZGBlSCmwQS7h5paxkpd+IY OLlYZ4BGSy2MXctB5qgLVomXk9t1QUS9AQNWTlC1DRH9wnCzqWWRIEIPf2Nz9zS5zZQw p8QMf2cqYYFnrsowMbXCvl7fL+3kXCXrNlxZZ7UpbRVcmFuMw8qz1zPNiy1U+PznL5gZ +tsw==
X-Forwarded-Encrypted: i=1; AJvYcCWTAQhnIzD+7YZcI9gg3dkcTsu0sAR8Y4G8x/ZHx7kdFMQi9e2CafIv4eRfKrTRiqvVRFHadhzgmY2Zzceg/rA=
X-Gm-Message-State: AOJu0Ywrd1jbpH9kPmgFzrVTfXvBcO3KsjeyiLdjZASVZn8sfYX+NHAn wJmgKQvRNfyzlGIVh+dTOa04TLUqT2ZftHpf0F2Syf12s8Z7p1nW12FuWVYd7RSOQRWQJ/Wl0qi b9cxX0p2NJibhdyvf7y+2T7g2EcxtVaLauRKQFQ==
X-Google-Smtp-Source: AGHT+IGHyPrisfTvPUqj2dQ6C7lTECBNkbRaYKYFUjuKEb0gWZZMD5EBl2LV23lrpVoq9rDn7EDkoz9osQ0dOxy9ZUQ=
X-Received: by 2002:a5b:8c6:0:b0:dd0:c866:ec3a with SMTP id w6-20020a5b08c6000000b00dd0c866ec3amr11082372ybq.22.1710887559913; Tue, 19 Mar 2024 15:32:39 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <CAL0qLwa02W3DmhTabLh2avpxFKpSqXqcozCedbcSUiNbghrmOA@mail.gmail.com>
From: Justin Uberti <justin@fixie.ai>
Date: Tue, 19 Mar 2024 15:32:29 -0700
Message-ID: <CAPn_nMNQyVY2G0dwKv0CNymZHrYzYXhzJkH2+8N4+AHMScG1UQ@mail.gmail.com>
To: "Murray S. Kucherawy" <superuser@gmail.com>
Cc: Philipp Hancke <philipp.hancke@googlemail.com>, Harald Alvestrand <hta@google.com>, Henrik Boström <hbos@google.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000427cd706140b0d3d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/DDAIkRE1BgUgPWoihVXoJMh8jHc>
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: Tue, 19 Mar 2024 22:32:45 -0000

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>
wrote:

> On Mon, Mar 4, 2024 at 3:57 PM Justin Uberti <justin=
> 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
>