Re: [dispatch] WHIP - WebRTC HTTP ingestion protocol

T H Panton <thp@westhawk.co.uk> Thu, 29 October 2020 11:07 UTC

Return-Path: <thp@westhawk.co.uk>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F77D3A03FB for <dispatch@ietfa.amsl.com>; Thu, 29 Oct 2020 04:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 Uu-Lq7o63mel for <dispatch@ietfa.amsl.com>; Thu, 29 Oct 2020 04:07:46 -0700 (PDT)
Received: from smtp002.apm-internet.net (smtp002.apm-internet.net [85.119.248.221]) (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 D700B3A03F3 for <dispatch@ietf.org>; Thu, 29 Oct 2020 04:07:45 -0700 (PDT)
Received: (qmail 99043 invoked from network); 29 Oct 2020 11:07:43 -0000
X-APM-Out-ID: 16039696639904
X-APM-Authkey: 255286/0(159927/0) 370
Received: from unknown (HELO zimbra003.verygoodemail.com) (85.119.248.218) by smtp002.apm-internet.net with SMTP; 29 Oct 2020 11:07:43 -0000
Received: from localhost (localhost [127.0.0.1]) by zimbra003.verygoodemail.com (Postfix) with ESMTP id 196FD80BBC; Thu, 29 Oct 2020 11:07:43 +0000 (GMT)
Received: from zimbra003.verygoodemail.com ([127.0.0.1]) by localhost (zimbra003.verygoodemail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pk60mZvxL68n; Thu, 29 Oct 2020 11:07:43 +0000 (GMT)
Received: from [192.67.4.33] (unknown [192.67.4.33]) by zimbra003.verygoodemail.com (Postfix) with ESMTPSA id D976980896; Thu, 29 Oct 2020 11:07:42 +0000 (GMT)
From: T H Panton <thp@westhawk.co.uk>
Message-Id: <566085E5-B555-4314-BCFE-9A03CD082C8E@westhawk.co.uk>
Content-Type: multipart/alternative; boundary="Apple-Mail=_FD4AE640-F901-491B-9201-5F951AC0E934"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
Date: Thu, 29 Oct 2020 11:07:41 +0000
In-Reply-To: <0E35658D-D768-4DF2-BF0F-95D6F5889B4F@nostrum.com>
Cc: "dispatch@ietf.org" <dispatch@ietf.org>, Alex Gouaillard <dralex@millicast.com>
To: Ben Campbell <ben@nostrum.com>
References: <085505e3-9899-f817-b6df-db8022d52e26@gmail.com> <0E35658D-D768-4DF2-BF0F-95D6F5889B4F@nostrum.com>
X-Mailer: Apple Mail (2.3445.9.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/0ejbmz7LNT9z86twpQNitV-x7l8>
Subject: Re: [dispatch] WHIP - WebRTC HTTP ingestion protocol
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2020 11:07:49 -0000

My feedback:

1) this is a good idea - we need something like this. Full webRTC O/A is too complex for simple ingestion usecases.
2) A URI is an excellent hook to hang this on.
3) I don't think it goes far enough.

Almost all of the offer/answer content is redundant, because most of it is _known_ by both sides already.
The ingestion services typically specify what codecs/bitrates/framerates they will accept.
They don't output any media.

I claim we can simplify the O/A to something that looks more like RTSP's SDP or even simpler.

- So I support this, but would want to discuss simplification.

Tim.

> On 28 Oct 2020, at 20:10, Ben Campbell <ben@nostrum.com> wrote:
> 
> Hi Everyone,
> 
> Did anyone have feedback or other thoughts on Sergio’s proposal?
> 
> Thanks!
> 
> Ben.
> 
>> On Sep 30, 2020, at 5:24 AM, Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com <mailto:sergio.garcia.murillo@gmail.com>> wrote:
>> 
>> Hi all!
>> 
>> 
>> While WebRTC has been very successful in a wide range of scenarios, its adaption in the broadcasting/streaming industry is lagging behind. Currently there is no standard protocol (like SIP or RTSP) designed for ingesting media in a streaming service, and content providers still rely heavily on protocols like RTMP for it.
>> 
>> These protocols are much older than WebRTC and lack by default some important security and resilience features provided by WebRTC with minimal delay.
>> 
>> The media codecs used in older protocols do not always match those being used in WebRTC, mandating transcoding on the ingest node, introducing delay and degrading media quality. This transcoding step is always present in traditional streaming to support e.g. ABR, and comes at no cost. However webrtc implements client-side ABR, by means of simulcast and SVC codecs, which otherwise alleviate the need for server-side transcoding. Content protection and Privacy Enhancement can be achieve with End-to-End Encryption, which preclude any server-side media processing.
>> 
>> We have been working on a proposal for a simple HTTP based protocol that will allow WebRTC endpoints to ingest content into streaming services and/or CDNs to fill this gap and facilitate deployment:
>> 
>> https://tools.ietf.org/html/draft-murillo-whip-00 <https://tools.ietf.org/html/draft-murillo-whip-00>
>> https://github.com/murillo128/webrtc-http-ingest-protocol/ <https://github.com/murillo128/webrtc-http-ingest-protocol/>
>> 
>> We have already implemented it on Janus and Medooze media servers:
>> 
>> https://www.meetecho.com/blog/whip-janus/ <https://www.meetecho.com/blog/whip-janus/>
>> https://medium.com/@medooze/whip-webrtc-meets-the-broadcasting-world-86772eba8ae7 <https://medium.com/@medooze/whip-webrtc-meets-the-broadcasting-world-86772eba8ae7>
>> 
>> And added support into a WebRTC version of OBS studio:
>> 
>> https://github.com/CoSMoSoftware/OBS-studio-webrtc/releases/tag/m84v23.2-RC2 <https://github.com/CoSMoSoftware/OBS-studio-webrtc/releases/tag/m84v23.2-RC2>
>> 
>> We also plan to have an interop session on the next IETF hackhaton, that will allow to check the interoperability between different WebRTC implementations.
>> 
>> What would be the best way of moving this forward? Obviously, any feedback will be very welcome.
>> 
>> Best regards
>> 
>> Sergio
>> 
>> 
>> _______________________________________________
>> dispatch mailing list
>> dispatch@ietf.org <mailto:dispatch@ietf.org>
>> https://www.ietf.org/mailman/listinfo/dispatch
> 
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch