Re: [AVTCORE] Registering AVP Profiles for RTP over QUIC

Roman Shpount <roman@telurix.com> Tue, 17 May 2022 05:24 UTC

Return-Path: <roman@telurix.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E877C18D833 for <avt@ietfa.amsl.com>; Mon, 16 May 2022 22:24:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, SPF_HELO_NONE=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=telurix.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 28m4fWzYTXdN for <avt@ietfa.amsl.com>; Mon, 16 May 2022 22:24:27 -0700 (PDT)
Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 C6B19C180A8D for <avt@ietf.org>; Mon, 16 May 2022 22:24:27 -0700 (PDT)
Received: by mail-qk1-x733.google.com with SMTP id v11so13861351qkf.1 for <avt@ietf.org>; Mon, 16 May 2022 22:24:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nD+psbyCRqHaLUKQsHLGHb0YnALBBqmrr/h10jLBaJI=; b=EOK2NuYCjdCk/4QB9jRXjd7d3sygefFcZR0m2B8t5m1D+K2t3yGXh203pCdOGk1Pkh 2eevCRXzcoHEtwU1CPlfHntsXVWtH+aijfQO5XX+NSNFDL/zjbOc83Nag9gXZUU/KPvq DTWU9lGABK8nUwiNPx0OHuvySMmBX4Iy+en7s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nD+psbyCRqHaLUKQsHLGHb0YnALBBqmrr/h10jLBaJI=; b=PPzuo1ZaNG1TCgWfvo/dRpUP1e1SFqWHRq5j5ZjGqoP03Hg1kh29ki14+CooND6fJH HEDZH+5ozJi2Ing3z23tLyAuP8cGtWjs9v78xZ8ar/1kiRJHUV6vpyYAvs3evMpQ453m QLJXykkNo1m59T7ifzh0BdCfc5162Qr2w1LSZcooEl3LYxN8W8tds2XyHCu+n9nnsMVa ic5c/q6ZXo+fOmerdJ88NRby/XD2WpSGK3Sjv+SDnDC3ni/24n3MKqYmGd2r/kqkQUFy 4DWM4KXLLFAQxb09UniLz4hab/dLvIHffn8AwxTqerX2pNX7i3yExZgxbfNpsEopmOul 7cww==
X-Gm-Message-State: AOAM530HEmlNAh6qi77GcGBzGJz91xbztM7DEKnbDlWWEgf/94mU9LFt dsZbVA7F/7WYvogo9IgHxfSs4mCVz4QagA==
X-Google-Smtp-Source: ABdhPJxxHIT2bpmh27JN1LYwvpAOk9f0iFB/jVFXprs6OpXGj2wNySgQlByb4xthbIbAj6AffwkPsw==
X-Received: by 2002:a05:620a:244b:b0:6a0:3b3e:93c7 with SMTP id h11-20020a05620a244b00b006a03b3e93c7mr15172742qkn.257.1652765066147; Mon, 16 May 2022 22:24:26 -0700 (PDT)
Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com. [209.85.219.175]) by smtp.gmail.com with ESMTPSA id a79-20020ae9e852000000b0069fc13ce257sm6878408qkg.136.2022.05.16.22.24.25 for <avt@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 22:24:25 -0700 (PDT)
Received: by mail-yb1-f175.google.com with SMTP id a3so11570819ybg.5 for <avt@ietf.org>; Mon, 16 May 2022 22:24:25 -0700 (PDT)
X-Received: by 2002:a25:9a85:0:b0:64d:bba4:bf62 with SMTP id s5-20020a259a85000000b0064dbba4bf62mr7398418ybo.356.1652765065497; Mon, 16 May 2022 22:24:25 -0700 (PDT)
MIME-Version: 1.0
References: <CAKKJt-dvotzuaK66T8WQd7YgNLNr_6vqa4W8-z=5FvujpGWA=A@mail.gmail.com> <CAD5OKxs66qObT3YY-FNuxNE_5cE6TwqWt-W4vzWKNCP=x70SWg@mail.gmail.com> <4BFD72D7-FC98-4A07-8408-5CE9CE7FD423@live555.com> <CAD5OKxsPmF48oTsm7X04CRb-OauyikaYKeYyrm5jpPHNc8GzFg@mail.gmail.com> <D4F90EF2-3CA1-4707-8A44-A8DE2A5BDB20@live555.com>
In-Reply-To: <D4F90EF2-3CA1-4707-8A44-A8DE2A5BDB20@live555.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 17 May 2022 01:24:14 -0400
X-Gmail-Original-Message-ID: <CAD5OKxvDvCEaiwQBPCcQ_N5H8OMqE7+Ejj9fjExcVqgT4MOFdw@mail.gmail.com>
Message-ID: <CAD5OKxvDvCEaiwQBPCcQ_N5H8OMqE7+Ejj9fjExcVqgT4MOFdw@mail.gmail.com>
To: Ross Finlayson <finlayson@live555.com>
Cc: IETF AVTCore WG <avt@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a0539d05df2e5a6d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/0O8_Ik51ovVmljSPKc8JqF_o_LE>
Subject: Re: [AVTCORE] Registering AVP Profiles for RTP over QUIC
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 May 2022 05:24:33 -0000

On Tue, May 17, 2022 at 12:56 AM Ross Finlayson <finlayson@live555.com>
wrote:

> > On May 16, 2022, at 9:48 PM, Roman Shpount <roman@telurix.com> wrote:
> >
> > > You would end up with this encoding when RTP over QUIC is used on top
> of TCP
> >
> > What does “QUIC on top of TCP" even mean, given that QUIC is a UDP-based
> protocol?
> >
> > RTP, DTLS, and SCTP are also UDP-based protocols. They all can run over
> TCP (see  RFC 4571) when the ICE-TCP (RFC 6544) candidate is used.
>
> Yes, one could imagine RTP being sent with RFC 4571 framing over ‘QUIC
> classic’ - i.e., over QUIC as a reliable, connection-oriented protocol.
> But it would seem to make a lot more sense for ‘RTP over QUIC’ to use
> QUIC-with-datagrams.  (How likely is it that a pair of endpoints will
> support ‘QUIC classic’ without the datagram extension, but will not be able
> to communicate via TCP?)
>

I am talking about RTP over regular QUIC-with-datagrams (QUIC over UDP),
which is used for peer-to-peer connections.  When ICE is used for the p2p
connection, and when ice-tcp candidates are present, QUIC packets can be
sent over UDP or TCP with RFC 4571 framing. The flow can change during the
nomination process, and if TCP-only connectivity is allowed, RTP with
QUIC-datagrams over TCP with RFC 4571 framing can be the protocol used as a
result.


> > In any case, it seems to me that this whole discussion is begging the
> question.  First, we should come to consensus as to what problem(s) we are
> trying to solve.  Then, and only then, we can decide whether 'RTP over
> QUIC’ is an appropriate way to solve these problem(s).
> >
> > It may well turn out that 'RTP over QUIC’ is a solution in search of a
> problem.
> >
> >
> > I can see a few problems that it can solve:
> >
> > 1. Run real-time media over WebTransport
>
> Maybe.  But would this use RTP?
>

What framing would you use for real-time media? As proposed, I would even
argue that RTP-over-QUIC is not precisely RTP. It is modified to utilize
QUIC mechanisms for multiplexing, packet loss feedback, and bandwidth
estimation. Essentially, this is a discussion of the suitable framing
mechanisms to be used when real-time media is sent over QUIC.

> 2. Get rid of SCTP for data channels in the WebRTC stack
>
> OK, but this has nothing to do with RTP
>

This has something to do with multiplexing data and real-time media over a
single connection.

> 3. Replace DTLS in secure RTP channel setup by using a more modern
> protocol with cleaner implementation and faster connection establishment
> > 4. Better NAT and firewall traversal with QUIC vs. plain SRTP
>
> OK, but it seems to me that doing these (and 2.) would require
> rechartering the IETF RTCWeb Working Group to develop a new version of
> WebRTC that uses QUIC.  Perhaps this is where we should be headed (as it
> would produce a product that’s superior to the existing WebRTC, for the
> reasons you state), but this would be a big undertaking.


We can get there at some point, but providing the same functionality as
WebRTC on top WebTransport might be a better option that would not require
bringing RtcWeb Working Group back. As long as there are standardized
components that can be composed using browser API, WebRTC can be replaced
with a better performing and more flexible solution.
______________
Roman Shpount