Re: [Wish] Initial comments on draft-murillo-whip-02

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Mon, 30 August 2021 18:53 UTC

Return-Path: <sergio.garcia.murillo@gmail.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 6B0EC3A1DE4 for <wish@ietfa.amsl.com>; Mon, 30 Aug 2021 11:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 HIeBqIXNnPhc for <wish@ietfa.amsl.com>; Mon, 30 Aug 2021 11:53:02 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 D846B3A1DE3 for <wish@ietf.org>; Mon, 30 Aug 2021 11:53:02 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id x16so7432613pll.2 for <wish@ietf.org>; Mon, 30 Aug 2021 11:53:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wRBWZu0XmEslb3N+3J3pZnxleluitMstrp5tW1HZzeQ=; b=UryvXSNMalLSixCwi1NO3llC5EhbDWbf+7+h36Zua9L7SajbeGwe5WZxynhl9VH6rp z43q+YZpaB9msI7RvjqiCMmXg2uB80O7uAX92eesYogShQvhR7hxInttiTgnEU4c8atW MKErYUmZwSC4YtZwIGnZnXfTpQas3CSXjheyixvftvEC9ZNCiCYthrBia6XGKGeFrkLy odRlIjjuvZ37ysKYUKBHXSr4GLGM7yogNTpb0HJ8rmZZJNgJWVavYpAlY2RdWoDu7nFQ w9N8b7kNl/7rFmqcKnf9gNtrQkkqFmcx33pbc3gxZDygqKTGa1fIGxdz0d25V4Zl8ova LJMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wRBWZu0XmEslb3N+3J3pZnxleluitMstrp5tW1HZzeQ=; b=I2a4Zc6fKidr0FbZ4vXdpIAWTtfq55hdZ3XR/go6DQb5Sc/09HtYauIi1jk0D8tbYv iPQUghUKhJwz6726kJyMMIQy7ZHdWDYt41lFpYxIRmzhu7gM2Oue93mzaECn1EYlT2Ks Q523JwJ42FOaQovIcCQn26nYtAprVw6W0xvKXij8AUT3NBwGIE9AhhvuGtWvtYQflige pntpZRCvdwL4AaKZNnNirA2r4Z/nDtvb/VXgJshZxnIUIY2jFstwHYh1k9LAe/fQExcJ Kvf9DAGzAFpAevJUl7VdivCurW1s0i/eyemQ/WYn/Xmqpb5LlZ33KfMn8K7HNqGCv4OP USqw==
X-Gm-Message-State: AOAM530kBSYWKB2vvqU2K2s+nUs45Cg0xd3uJyaJOadYHV8rpQBgIkbM t/FMM+InAyZOQg4I5zrJ2HAICjYo0T0oZ+9EC9NeR8kfOTA=
X-Google-Smtp-Source: ABdhPJytHwGHV/wbLtOZwKLiYpgprZZsLm8dyxQjuTI6klAaBbfTRxkynup3OXkImoFr3L9t+38QJpofHXBNRxgrIA4=
X-Received: by 2002:a17:902:a5c5:b029:12c:9108:d83 with SMTP id t5-20020a170902a5c5b029012c91080d83mr964297plq.33.1630349580995; Mon, 30 Aug 2021 11:53:00 -0700 (PDT)
MIME-Version: 1.0
References: <HE1PR07MB4441D8BE799E5344CD77BA7B93F09@HE1PR07MB4441.eurprd07.prod.outlook.com> <CA+ag07bt4kF3KhV_eoNDmYojdzudNbz4fsf_zrev-ym-PPUP4w@mail.gmail.com> <HE1PR07MB44418D5DBB0CF1976B36254293C69@HE1PR07MB4441.eurprd07.prod.outlook.com> <CA+ag07aZjhHJCWEUtkMXozDQNKAROA6XPqeXc5hqVzEubzkS7A@mail.gmail.com> <HE1PR07MB44411D43C99E521FFDA8C51993CB9@HE1PR07MB4441.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB44411D43C99E521FFDA8C51993CB9@HE1PR07MB4441.eurprd07.prod.outlook.com>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Mon, 30 Aug 2021 20:52:51 +0200
Message-ID: <CA+ag07aPMD_vwktLsYiC0dN7L+Fe+zLr1LSayKpvahTP2k4qGw@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: "wish@ietf.org" <wish@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a2916405cacb57be"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/HSlG2LWjaUA237MNUtFP_wBZbGU>
Subject: Re: [Wish] Initial comments on draft-murillo-whip-02
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: Mon, 30 Aug 2021 18:53:09 -0000

El lun, 30 ago 2021 a las 19:49, Christer Holmberg (<
christer.holmberg@ericsson.com>) escribió:

>
> > I would prefer to add as few optionalities to the protocol as possible.
> It would be trivial for the server
> > to just return the current URL and not to have to test each
> interoperability with each client for both
> > when the location header is present or not.
>
> I just think it is not a good idea to make changes to core HTTP, so in my
> opinion it is more about HTTP interoperability than WHIP interoperability.
>
> And, what if you are using an HTTP library that will remove the header if
> the endpoint isn't changed?
>
>
Can you point me to the HTTP spec that defines that behaviour of the Link
attribute?


>
> > In terms of features, the WHIP protocol matches the ones offered by RTMP
> which is still widely used
> > and offered on most profesional hardware encoders and main open source
> broadcasting software
> > (i.e. ffmpeg/OBS/vmixer/...). Not sure how that is not suited for
> "professional usages".
>
> RTMP supports PAUSE, RESUME etc commands, doesn't it? :)
>

Hard to know as AMF commands on top of RTMP are quite undocumented. If you
do some archeology on action script reference you can see that the
play/pause are commands send from the player to the media server when
reproducing a video, they are not intended to be used for the publish
command:

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#publish()


> Let me explain how the sport event ingestion software I am using works:
>
> First you establish the session, choose what sports event you are going to
> stream etc.
>
> After that, the media ingestion starts. But, the server does not start the
> broadcasting of the media yet. It only broadcasts the stream to the one
> doing the ingestion, so that he/she can check that everything works.
>
> After that, the user sends a command to the server to start the actual
> broadcasting.
>
> Etc.
>
> So, the user has explicit control of when the actual broadcasting begins,
> even if the media ingestion has began earlier.
>
> As I am not the implementer of the software I don't know all the protocol
> level details, other than it uses RTMP.
>
>
That workflow makes a lot of sense, but not sure how it maps the
pause/resume operation. Typically you will control it from a control panel
on the server side which is not at the encoder.



> > Regarding the metadata exchanged during the session, which could be done
> either by datachannel
> > or by a new whip protocol extension with another http url,
>
> I had a datachannel in mind, and that's why I asked about it earlier :)
>
> But, if commands are outside the scope of WHIP, I think it would be good
> to explcitly say it.
>
>
The way I see it, the problem again is defining and standardizing the
metadata, not about how to transport it. We can state that it is not
supported by this WHIP version.

Best regards
Sergio

>