Re: [AVTCORE] Comments on draft-aboba-avtcore-quic-multiplexing

Bernard Aboba <bernard.aboba@gmail.com> Wed, 08 November 2017 21:12 UTC

Return-Path: <bernard.aboba@gmail.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 98D08126579 for <avt@ietfa.amsl.com>; Wed, 8 Nov 2017 13:12:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bcEA5-wVT1ZQ for <avt@ietfa.amsl.com>; Wed, 8 Nov 2017 13:12:35 -0800 (PST)
Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAEB6124B0A for <avt@ietf.org>; Wed, 8 Nov 2017 13:12:35 -0800 (PST)
Received: by mail-pg0-x22b.google.com with SMTP id s75so2901868pgs.0 for <avt@ietf.org>; Wed, 08 Nov 2017 13:12:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UlBFDuMRatO0f2eFG8KyfmkIhaLNRcFTr4uHclQrK0I=; b=UNAMFiP/gXZj/UOqZZTZzZ+K+uaGFzstEbjNxDlmGoXIXDbrxhQl0/XiD7NpVUVDO7 TsrBjqsqheqztZlTqdjrlxrt6tK5qZq+tXiWvIzILWOyjPQoeS0dwtAzy/EruqLwzK/5 i2g+qrOHM6ExdVVW5kI0g9CjYZCI58qUKrjhYZSsHBSURPaEd8AVXp29B3TTIl8f7LDr y8yllOwdeVSDEDfB3i+TYaDGUwbIuxXafanqQovbKI9AUj9Th4gR3Rd/lTNd0+ObhEW0 5fIYxENA/SpCU2kWpUmhwzaZyeGxE2n4Y8aP4qQ/FlLMybRrxOSHmozfMIzWh93kkmNQ DLqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UlBFDuMRatO0f2eFG8KyfmkIhaLNRcFTr4uHclQrK0I=; b=ukaTv+CD/DEpm+S1rrwU5qCKAJX2pmR5sw80gfhkG6a+IC2CXpnVeuXcMn0ZZALiAb a/onfhsWrklWnF+Y7Oh9pXDKtcIR203uoC8dXj4Hrnx6ADEcSDiPjZ0fFhaGiYb667Yz 33U7vhib2VNyUQR9173b1yo1BL3eAB1KYRGwVYOF4uJkNuLAlqECHWAFiMI/uUMw12rv 2Rkv2Fjxuw4L149b4/B3mgEB+RsEdMNfh8lh1E+ssD25puuqnUomR3lqi8cVB0Z+r0Dv ZxMiwQiYNu9VSfakebbNtm5fgVqjHYXqJdY1Qm7sMlFxoU4p9QIvVq43btTu9VSbJyGb tjyg==
X-Gm-Message-State: AJaThX6sT5E1tmZBfddnBC7uoOrN3kUuEXUvw04jwYF0/ILRy1gafYEw +9lrq31drJtXohDn3X7VuaLhjdt8
X-Google-Smtp-Source: ABhQp+RllZrWozaklQ9J3YZkqbEJ3VGrv9g1OybnbIr3uBnI+FZCaTtHt4vpQtK8QfsXQY1qFx6hrQ==
X-Received: by 10.98.245.21 with SMTP id n21mr1826990pfh.68.1510175554844; Wed, 08 Nov 2017 13:12:34 -0800 (PST)
Received: from [192.168.1.116] (c-24-17-217-136.hsd1.wa.comcast.net. [24.17.217.136]) by smtp.gmail.com with ESMTPSA id w9sm9726099pfk.16.2017.11.08.13.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Nov 2017 13:12:34 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Bernard Aboba <bernard.aboba@gmail.com>
X-Mailer: iPad Mail (15B93)
In-Reply-To: <CABkgnnUBNqiku5Gcna6Enxvy28OgS5aw7UQHB1YRLgV_19MrTg@mail.gmail.com>
Date: Wed, 08 Nov 2017 13:12:33 -0800
Cc: "avt@ietf.org" <avt@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1B579316-3280-4256-84EE-F948EFAD4B91@gmail.com>
References: <CABkgnnU4C5bPje1nFGm5Z7YD5H5OrfcXJtiu_SyOouJaKCTd0w@mail.gmail.com> <CAOW+2dvXAUFS39vk0yXR7yixZ9EifUQr8OZNcFRpqV4Ze+=w1Q@mail.gmail.com> <CABkgnnUBNqiku5Gcna6Enxvy28OgS5aw7UQHB1YRLgV_19MrTg@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/xZvzmGKlkYUClIzyITAYI3uoRws>
Subject: Re: [AVTCORE] Comments on draft-aboba-avtcore-quic-multiplexing
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 08 Nov 2017 21:12:37 -0000

On Nov 8, 2017, at 12:49, Martin Thomson <martin.thomson@gmail.com> wrote:
> 
> You need to be really crisp about your assumed deployment model here.
> 
> Let's say that you want to do data channels over QUIC.  

[BA] That might come later, but would require additional standards work to define the protocol for support of data channels run over QUIC.

So for now, the goal is to support the use of peer-to-peer QUIC streams, as described in the QUIC transport document. 

> That seems the
> most plausible model, mainly to drive down the number of round trips
> between session signaling and session use.  I can imagine a very
> simple mapping of the data channel protocol would work nicely.

[BA] Since there are applications that can make use of QUIC streams, the immediate goal is to provide JS access to that.  Support for RTCDataChannels can be built on top of this in a JavaScript library once RTCDataChannel over QUIC protocol is worked out. 

> In that case, as I suggested, keying SRTP using QUIC is feasible, even
> trivial.  No DTLS.

[BA] Indeed, this might be a good idea, particularly in scenarios where only QUIC is used and not the SCTP/DTLS/UDP data channel.  However, we’re not there yet - I’m not clear that QUIC as defined in the QUIC transport document can substitute for the SCTP/DTLS/UDP data channel in every conceivable scenario.  Also, existing implementations use DTLS/SRTP.  So we don’t want to rule out multiplexing of QUIC and DTLS, even if that might not be necessary long-term. 

> Or, as you explore in the rtpfolks draft, you want to do RTP over
> QUIC.  That seems far less of a short term goal, but I'll humor you.

[BA] Definitely not a short term goal because that kind of a change would appear to require significant discussion and standards development, as well as a much bigger change to implementations than merely using QUIC for peer-to-peer data exchange.
> 
> There's a draft about that:
> https://datatracker.ietf.org/doc/draft-tiesel-quic-unreliable-streams/.
> It turns out to be possible, even if we might quibble about some of
> the details in that draft.  A mapping should be straightforward.

[BA] It doesn’t look complicated, but I’m not aware of any implementations and it has been ruled out of scope for the QUIC WG, so we don’t want support for peer-to-peer QUIC data exchange to depend on it.  

> I'd prefer to work on QUIC-SRTP and datachannels-over-quic than worry
> about these contingencies.  That way you have a much smaller pool of
> protocols to mash together.

[BA] You are most welcome to work on those things.  But as noted above, the potential need to utilize QUIC and SCTP data channels simultaneously means that you still need to multiplex QUIC and DTLS, at least in the short term.  Also, since RTCDataChannel can be built on top of the QUIC stream API, work on that protocol isn’t a gating factor either.