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

Ross Finlayson <finlayson@live555.com> Sat, 13 March 2021 01:40 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 98B333A10AA for <wish@ietfa.amsl.com>; Fri, 12 Mar 2021 17:40:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.898
X-Spam-Level:
X-Spam-Status: No, score=-6.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_NONE=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 JUb1E6kS7Roh for <wish@ietfa.amsl.com>; Fri, 12 Mar 2021 17:40:47 -0800 (PST)
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 239253A10AC for <wish@ietf.org>; Fri, 12 Mar 2021 17:40:47 -0800 (PST)
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 12D1eiCk040951 for <wish@ietf.org>; Fri, 12 Mar 2021 17:40:46 -0800 (PST) (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\))
Message-Id: <EA0DDB88-D685-4646-8BC8-D694EA2274D7@live555.com>
Date: Fri, 12 Mar 2021 17:40:44 -0800
To: wish@ietf.org
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/u2p9pVc6hYdU8UMvYhaeUYxaGfw>
Subject: [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: Sat, 13 Mar 2021 01:40:50 -0000

One of the promises of WISH is that it might provide a way for relatively simple media sources (e.g. things like network cameras and real-time text (e.g., telemetry) feeds) to be more easily used within WebRTC applications.

During the WISH meeting earlier this week, a few speakers expressed concern about complexities of the proposed ‘injestion’ protocol (WHIP), in particular, the need to implement ICE.  While Cullen (for example) correctly pointed out that if the web server has a public IP address (as it usually will), then then relatively little ICE is required, this seemed to only partially alleviate the concerns.

Fortunately, for very simple media source endpoints, there is an easy solution already available to us: Have the media source negotiate COMEDIA transport (RFC 4145) with RTP/RTCP packets framed as defined in RFC 4571.  The media source (i.e., offerer) can ask for a "TCP/RTP/AVP”[*] stream, with "a=connection:existing”.  If the media server accepts this, then the media source can proceed to send its media over the existing HTTPS connection (that was used for negotiation), without requiring any ICE or STUN or TURN or DTLS, or any wrestling with NAT.  Nothing new needs to be standardized for this to work.

Needless to say, streaming RTP/RTCP over a reliable stream isn’t ideal, but it’s an easy solution, and perhaps appropriate for some simple, relatively low-bitrate media streams.

The WHIP document should, IMHO, explicitly note this possibility, by describing a 'WHIP-light’ subset of the protocol that very simple media sources might want to use (with caveats).

Of course, a media server should not be required to support WHIP-light (just as it should not be required to support any particular codec(s)), but having this possibility will likely cause WHIP to get more adoption.

	Ross.

[*] Yes, having “TCP” in the transport description might be a bit of an anachronism if the HTTPS stream ends up being sent over QUIC, but the meaning remains clear.