Re: [dispatch] WHIP - WebRTC HTTP ingestion protocol

Harald Alvestrand <harald@alvestrand.no> Thu, 29 October 2020 12:02 UTC

Return-Path: <harald@alvestrand.no>
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 A84CD3A0CA2 for <dispatch@ietfa.amsl.com>; Thu, 29 Oct 2020 05:02:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.143
X-Spam-Level:
X-Spam-Status: No, score=-2.143 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.247, 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 i2ycR1drfFPf for <dispatch@ietfa.amsl.com>; Thu, 29 Oct 2020 05:02:51 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC9B33A0CA0 for <dispatch@ietf.org>; Thu, 29 Oct 2020 05:02:50 -0700 (PDT)
Received: from [192.168.3.157] (unknown [188.113.93.42]) by mork.alvestrand.no (Postfix) with ESMTPSA id 026087C6156 for <dispatch@ietf.org>; Thu, 29 Oct 2020 13:02:49 +0100 (CET)
To: dispatch@ietf.org
References: <085505e3-9899-f817-b6df-db8022d52e26@gmail.com> <0E35658D-D768-4DF2-BF0F-95D6F5889B4F@nostrum.com>
From: Harald Alvestrand <harald@alvestrand.no>
Message-ID: <5bec29fb-1524-eced-e903-c57684b1c979@alvestrand.no>
Date: Thu, 29 Oct 2020 13:02:48 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0
MIME-Version: 1.0
In-Reply-To: <0E35658D-D768-4DF2-BF0F-95D6F5889B4F@nostrum.com>
Content-Type: multipart/alternative; boundary="------------8C62A8E713AD627A93985DDD"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/0qzQo9c0ON30Vd9CJ3zd_1I6QvU>
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 12:02:54 -0000

In addition to the use cases mentioned, having a simple standard 
"configure this connection" protocol would make setting up a server for 
testing (the parts that can't be done by a browser talking to itself) a 
lot simpler.

Harald

On 10/28/20 9:10 PM, Ben Campbell 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://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://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
>>
>>
>> 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