Re: [Wish] WHIP should also allow *media* to be sent over the HTTPS connection

Ross Finlayson <finlayson@live555.com> Sun, 14 March 2021 15:32 UTC

Return-Path: <finlayson@live555.com>
X-Original-To: wish@ietfa.amsl.com
Delivered-To: wish@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B9703A1582 for <wish@ietfa.amsl.com>; Sun, 14 Mar 2021 08:32:17 -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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YUUnzRu1MEdG for <wish@ietfa.amsl.com>; Sun, 14 Mar 2021 08:32:14 -0700 (PDT)
Received: from us.live555.com (us.live555.com [52.8.240.222]) (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 B004A3A157F for <wish@ietf.org>; Sun, 14 Mar 2021 08:32:13 -0700 (PDT)
Received: from [127.0.0.1] (localhost.live555.com [IPv6:0:0:0:0:0:0:0:1]) by us.live555.com (8.15.2/8.15.2) with ESMTP id 12EFW9xS042810 for <wish@ietf.org>; Sun, 14 Mar 2021 08:32:11 -0700 (PDT) (envelope-from finlayson@live555.com)
From: Ross Finlayson <finlayson@live555.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Sun, 14 Mar 2021 08:32:08 -0700
References: <2EB890DF-0BA1-442D-9E6E-0F58CA4CB5DF@live555.com> <35AF83F2-C219-42E7-8A53-5292B8E748B8@pi.pe>
To: wish@ietf.org
In-Reply-To: <35AF83F2-C219-42E7-8A53-5292B8E748B8@pi.pe>
Message-Id: <8FFE3ECA-D56D-42B3-9D66-66E72A014433@live555.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/sJh2vX-uRQ671QBc1teDrkLyUYU>
Subject: Re: [Wish] WHIP should also allow *media* to be sent over the HTTPS connection
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: WebRTC Ingest Signaling over HTTPS <wish.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wish>, <mailto:wish-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wish/>
List-Post: <mailto:wish@ietf.org>
List-Help: <mailto:wish-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wish>, <mailto:wish-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2021 15:32:17 -0000


> On Mar 14, 2021, at 6:57 AM, Tim Panton <tim@pi.pe> wrote:
> 
> 
>> On 13 Mar 2021, at 03:59, Ross Finlayson <finlayson@live555.com> wrote:
>> 
>> I think you may be missing my point.  A WebRTC stream that happens to negotiate COMEDIA transport (with RFC 4571 framing of RTP/RTCP) is still, in my mind, a WebRTC stream.  It would be negotiated the same way as any other WebRTC stream (using JSEP, SDP, O/A).  But the stream itself wouldn’t use datagrams, and thus wouldn’t use ICE (because it wouldn’t need it).  That’s why I described this as being ‘WHIP-light’ - a subset of the WHIP protocol just for this simple class of streams.
>> 
>> Perhaps I have a more expansive view of WebRTC than everyone else, but I consider what I’m describing as being a WebRTC stream; albeit a special case.
> 
> 
> Would it run DTLS over comedia ?

No

> If not how would the SRTP keys be generated ?

If the streaming is over a HTTPS connection, then you wouldn’t need SRTP.  I.e., you’d need to negotiate "TCP/RTP/AVP” rather than “RTP/SAVP”.  Again, this is perhaps a more expansive view of WebRTC than everyone else :-)

> how would bandwidth estimation /congestion control work ?

You’d use the HTTPS connection’s congestion control.

> Without ice how does continuing consent work?

The HTTPS connection staying up implies consent.

> Unless I am mistaken it will take quite a lot of work to engineer this into the webRTC stack on a browser.

Yes - but who says that the media source has to be a browser :-)

	Ross.