Re: [Wish] New draft version draft-murillo-whip-01

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Fri, 28 May 2021 19:40 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 9FA343A3341 for <wish@ietfa.amsl.com>; Fri, 28 May 2021 12:40:25 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 x1GKZpGWRELa for <wish@ietfa.amsl.com>; Fri, 28 May 2021 12:40:21 -0700 (PDT)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 24E7A3A333D for <wish@ietf.org>; Fri, 28 May 2021 12:40:20 -0700 (PDT)
Received: by mail-wm1-x32c.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so2978853wmh.4 for <wish@ietf.org>; Fri, 28 May 2021 12:40:20 -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=D2ZCV05OwaDgVgElqG5oHE5rxTMo2Dt0A/psv1xIIRU=; b=RkqieZcEFzfDoyKaseD+1riOg47l+9UpGhy6rmBWb/cBeZ8BFMkLZSlk4wObKBrVKq OLltYqvAmFLINhrL0g0E8Y/XAC+XjebP7aWDD2DWJUL34QYTmblSNGI06ChWukxyvLr7 LiqaL5xZYuIVBhbQnN1fw+VRxiMcPQhpLqfo9yL7URY0PiQtL2Psuzeg/ENOVc4NejCH 8TwQ+82U3sP1NO6CShm4By3uH4Dh9jTZcpMEsevn/hewIsmNywW7GsVycx4ZsSz9zn0X jDnvJJ4U8rj0UFM1puyeOFAkFL7fkuuFWda6ynXXmajG6v7+M1wKzLqq3tG51kKWcn1+ 0moQ==
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=D2ZCV05OwaDgVgElqG5oHE5rxTMo2Dt0A/psv1xIIRU=; b=JzGOEOZfQknw+fvZm7QeSOMr1dkyy/MdpFRn8phaVEqkricZPe8ANRsfMvJ2/5x05d ZjBxD5bpKxjVTUw1V05roURTGyCX21sTvya9DDgXkU6Ifnq+cBql85FYWYxTCC81cdIy RiZ5Csq3VH/eOdOPJCmbzRwyjcvMU+mWBRimR3vmawphPaKATtkrlZOdpZzR3YJy7Lzg PDV1HhfqDVU23bqJvjpeojaQfIgjlfSOjMC8bP/ZxsMPR8XdJh5d+25USGXjuHXKnvwk woPGVXHqTzLRrI0i0U5C9yH1Tx/O/HbjVwpLwKXu0OOnsSJ4aLOyE6ctCHElIMIAfdyb E+SQ==
X-Gm-Message-State: AOAM533i0HedvbUIVMDrYcyFzMnPSnSzApcqTlOoXZ1k7HR8x9EpR4e5 15YJxkBtjL3XgTAa7xvTaqCcxZOoC05FZM03Krw=
X-Google-Smtp-Source: ABdhPJyVZ73IAlPRni4Sx0yCtlFqKs9/O6bNLNGZq0yi++4SBiDbZG3rtziNsqUf+gjBeW8qv/BX99NVNzL5u+hkQvE=
X-Received: by 2002:a1c:b646:: with SMTP id g67mr9767784wmf.117.1622230817845; Fri, 28 May 2021 12:40:17 -0700 (PDT)
MIME-Version: 1.0
References: <CA+ag07aArqZfdNEDLvm-T1+RN7Xf8PzU0yLoVXdjJbyAHCTZ-Q@mail.gmail.com> <87mtsfni5p.wl-jch@irif.fr> <CA+ag07axaTxz0hRkZfpMZUYMWmFeYmHrv7bb8z7JfxbXTpF46w@mail.gmail.com> <87bl8vndq8.wl-jch@irif.fr> <CA+ag07bfkvg1TNDGieN9=FbRZeWqbC0gWiC7DWGp84sP7-EkgA@mail.gmail.com> <877djiopo4.wl-jch@irif.fr>
In-Reply-To: <877djiopo4.wl-jch@irif.fr>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Fri, 28 May 2021 21:40:07 +0200
Message-ID: <CA+ag07Y-kYfMK4+0geW+ZSn3vLLiw4vyYeq6HO8Bs_0jQvgZ7w@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: wish@ietf.org
Content-Type: multipart/alternative; boundary="000000000000a4377605c3690be7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/VQWQPpR1WJPMg65FTZ7I7t_dEPg>
Subject: Re: [Wish] New draft version draft-murillo-whip-01
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: Fri, 28 May 2021 19:40:26 -0000

El vie, 28 may 2021 a las 17:15, Juliusz Chroboczek (<jch@irif.fr>)
escribió:

> > It is explicitly stated that the HTTP PATCH request with the sdp
> fragment body
> > containing the ICE candidates/restart info must be sent to the WHIP
> Resource
> > URI returned on the Location header of the 201 create response to the
> original
> > HTTP PUT request.
>
> It was not clear to me that there are two URLs, the "WHIP Endpoint URL"
> and the "WHIP Resource URL".  Everything is clear now.
>
> > How do you think it should be further explained?
>
> Perhaps the fact that there are two distinct URLs could be stated in
> Section 3?
>

I have opened a new issue for handling that:
https://github.com/murillo128/webrtc-http-ingest-protocol/issues/10


> >>>> On a related note, what happens if the client is on a restrictive
> >>>> network that doesn't allow UDP?  Are you assuming it has learned
> >>>> the address of a TURN server out of band, or are you relying on
> >>>> passive TCP candidates?  (Either would be fine, but it needs to
> >>>> be spelled out.)
>
> > When the client allocates a relay candidate on the TURN server to
> connect on a
> > restricted network, it will send a STUN request via it to the server host
> > candidates.
>
> How did the client acquire the TURN server's address and credentials in
> the first place?  You're assuming that this has happened out of band
> before the first WHIP interaction, by some means not specified by this
> protocol, right?
>
> If so, that's fine with me, I just think that it should be stated
> explicitly.
>

Initially my idea was to not include stun/turn configuration on WHIP/WISH
and let the end user configure it manually. However, I see the value of
trying to cover that part too.

Providing the ice servers urls on the WHIP request is not possible, as it
would have to already have created the peerconnection to retrieve the SDP
offer, so maybe it is time to bring back to live Justin's proposal:
https://datatracker.ietf.org/doc/html/draft-uberti-behave-turn-rest-00


>
> >     Sorry if I'm being obtuse.  Client does trickle, so it sends an SDP
> offer
> >     with incomplete candidates.  After contacting its STUN server, it
> attempts
> >     to PATCH its offer, and receives 405.
> >
> >     What should the client do in that situation?
> >
> > It is stated on the draft:
> >
> >    A WHIP client receiving a 405 response for an HTTP PATCH request
> >    SHALL not send further request for ICE trickle or restart.  If the
> >    WHIP client gathers additional candidates (via STUN/TURN) after the
> >    SDP offer is sent, it MUST send STUN request to the ICE candidates
> >    received from the media server as per [RFC8838] regardless if the
>
> Aha, I see.  You're assuming that either the server is accessible from the
> Internet, or it implements trickling of client candidates.
>

Yes.

Best regards
Sergio