Re: [Wish] WHIP enhancements
Adam Roach <adam@nostrum.com> Wed, 24 February 2021 23:39 UTC
Return-Path: <adam@nostrum.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 B07413A1D7E
for <wish@ietfa.amsl.com>; Wed, 24 Feb 2021 15:39:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.28
X-Spam-Level:
X-Spam-Status: No, score=-1.28 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
KHOP_HELO_FCRDNS=0.4, NICE_REPLY_A=-0.001, T_SPF_HELO_PERMERROR=0.01,
T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001]
autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key)
reason="fail (message has been altered)"
header.d=nostrum.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 UA1uu03SchR6 for <wish@ietfa.amsl.com>;
Wed, 24 Feb 2021 15:39:33 -0800 (PST)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1])
(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 54C4F3A1D7C
for <wish@ietf.org>; Wed, 24 Feb 2021 15:39:33 -0800 (PST)
Received: from Zephyrus.local (cpe-70-122-148-25.tx.res.rr.com [70.122.148.25])
(authenticated bits=0)
by nostrum.com (8.16.1/8.16.1) with ESMTPSA id 11ONdRw3055899
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO);
Wed, 24 Feb 2021 17:39:30 -0600 (CST)
(envelope-from adam@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com;
s=default; t=1614209971;
bh=h06foS96uYYsjj53LyvWLVDCQb8oD+jbUq2gU7E0Q0A=;
h=Subject:To:Cc:References:From:Date:In-Reply-To;
b=NwoEE+h/A1BXtnszT2QcsP+ekjltGvMKEKEg31ctnv+6Tev/aquNAar7jk+U/nMR5
ktlj2j4s5gwI/c0qHxRWN2F1n5gfREBDU4QK1aW+1/7EFXlQ+recnnfjyJptaBi9Z+
kFMKuToGnOHysLQ1vlnhzibPZHrhQOpoLhNy5uWI=
X-Authentication-Warning: raven.nostrum.com: Host
cpe-70-122-148-25.tx.res.rr.com [70.122.148.25] claimed to be Zephyrus.local
To: Lorenzo Miniero <lorenzo@meetecho.com>,
Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Cc: "wish@ietf.org" <wish@ietf.org>
References: <92fd1a3f-06a3-3197-dde0-18270b62410c@nostrum.com>
<CA+ag07Y0pZJ5YHtin1Y6X0bOGkYqGOanCaNiM42VFYwXYB6iSQ@mail.gmail.com>
<20210224094225.002aebad@lminiero>
From: Adam Roach <adam@nostrum.com>
Message-ID: <f7f71095-b32c-fec6-460c-d352f4074443@nostrum.com>
Date: Wed, 24 Feb 2021 17:39:21 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0)
Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <20210224094225.002aebad@lminiero>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/MBESRr136VAr3Q2tnsOw1w8voHY>
Subject: Re: [Wish] WHIP enhancements
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: Wed, 24 Feb 2021 23:39:35 -0000
Thanks for the review! Comments inline. On 2/24/21 02:42, Lorenzo Miniero wrote: > I was one of the proponents for the "terminate the session" option > Sergio mentioned, so I'm definitely up for that. I'm not against Adam's > proposal with respect to the JSON usage and the different URLs, as it > seems quite flexible to me: whether it's different addresses, or HTTP > headers, seems mostly semantics to me, so I'm fine either way (even > though a JSON syntax would definitely allow for easier extensibility in > the future). I'm fine with trickling as well, personally, and so see > some value in allowing ICE restarts to happen too. One of the things that I didn't point out (although the example does show it) is that the scheme I describe lets you easily split up the machines responsible for handling different operations. For example, under certain decomposition models, it makes sense to perform ICE operations directly towards a media node, while other session operations go towards a controller node. An operation-to-URL mapping makes this trivial and transparent to the broadcast client. > What I'm not sure about are Adam's suggestion to use heartbeats for > two-way communications. Adam, what kind of commands are you envisaging > in the server-to-client direction here? Are you mostly thinking about > asynchronous events of some nature, or something else too? Mostly session termination and ICE restarts. But I also want to make sure it's extensible. > With respect > to the approach, I understand the desire to avoid long polls, but > having some commands/events returned only in response to heartbeats > here may lead to implementations that will poll often and aggressively > to be sure they have timely information, and "forcing" implementations > to only send heartbears at less frequent intervals may on the other end > lead to suboptimal user experience (depending, again, on the nature of > the commands/events the server would mean to send back). Given a free hand, I actually prefer the long poll option. I included the description of both to demonstrate that, even if we don't want a long poll mechanism, we could still implement *something* that gives the server a means of telling the client to do things (like end a session). /a
- [Wish] WHIP enhancements Adam Roach
- Re: [Wish] WHIP enhancements Sergio Garcia Murillo
- Re: [Wish] WHIP enhancements Lorenzo Miniero
- Re: [Wish] WHIP enhancements Adam Roach
- Re: [Wish] WHIP enhancements Adam Roach
- Re: [Wish] WHIP enhancements Adam Roach
- Re: [Wish] WHIP enhancements Sergio Garcia Murillo
- Re: [Wish] WHIP enhancements Adam Roach