Re: [Wish] Proposal: Triggering ICE Restart

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Fri, 30 July 2021 22: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 284533A143B for <wish@ietfa.amsl.com>; Fri, 30 Jul 2021 15:40:58 -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 qOVX1EvuG4I6 for <wish@ietfa.amsl.com>; Fri, 30 Jul 2021 15:40:53 -0700 (PDT)
Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 227693A1439 for <wish@ietf.org>; Fri, 30 Jul 2021 15:40:52 -0700 (PDT)
Received: by mail-pl1-x632.google.com with SMTP id e5so12783739pld.6 for <wish@ietf.org>; Fri, 30 Jul 2021 15:40:52 -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=3zDaj4aIs+T0m4dO+Cxio2WOyd8ti+IAC7mRXQ/VuPQ=; b=O4hDqHVFpLISSMB/86R+rmiJpiPQOrLBTOb4JmXh59Wf4e0YHEkKtgSXAPgTSRA1sN ypP6MZtDPo0PPrrwTFzIJ2Rd/t8UlYfAoPDg4g6CRtc+BT6wvf3mhhISep9QPx6XeDUz /6cC24Bn6Pq5Lud1eY4UAQtbEsgp2G2eYEEDCFf7hZcosRhj6qKBg+q7YCSUqJYwToJs F4ytxX5x20s6+oespJg3FwffuP6zb3HwJLlmlITUkSICPtNHQbxSE4dkFP0MHjZna/H1 /EeGvZ+9cl57G9Q+bWHRt86EUZEZwC5G9UTE13R2j+RwM5UL4z9M7SpY9SlKeL9D7WBT iOIQ==
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=3zDaj4aIs+T0m4dO+Cxio2WOyd8ti+IAC7mRXQ/VuPQ=; b=WdfxWH1wAMRjjvxX9POC7PHLFZWf1dH54xZQalMhVD5EDRRf5yK3y8rtjFHlCPRwpL HutfNsucEXG2yr8FyPtTuJwtXKAWIJes7Y1bkgKY+79p8uApl2ewxU1JZC8HrDKNUjA3 Gr9WxdGkVvJ/0E6jQ4oASR+KDE4g30kprOtq7c1GBtL4NRcja4OQuQKHIyW81ENcP6U3 bkk5ksxIZCkZpbltDqUhGIObu8Z+Xv2sUVwkT9d+ohqrA+89GhZRHT0usCcPQxUyNQpq C5YF10I5wNDk4A15WMpFlzM9iYm5L9qC6P9c0H4BzfdnelhgiDPV4OxEVZrYYhFqyAhR M5eQ==
X-Gm-Message-State: AOAM533BdFNS8R4842QuzciZd8y2YUtdCS0nakxtvnNbcewh7GeO0akR y5fbQl5fkYfkoEBjHdroE3zRGZOeQb7qo7i6GFnOaNf8HfI=
X-Google-Smtp-Source: ABdhPJyMheWJsQXNbhU4qWazSd4PGCF/dahmBYg3aP1pcIdnXu8KAF5by/okk6jS5MK9EWFitqNV7A17tmVGb/jbHX8=
X-Received: by 2002:a17:90a:8c01:: with SMTP id a1mr5227715pjo.42.1627684851810; Fri, 30 Jul 2021 15:40:51 -0700 (PDT)
MIME-Version: 1.0
References: <bd38b2af-a7a7-e992-ab46-a9fe4f06b305@nostrum.com>
In-Reply-To: <bd38b2af-a7a7-e992-ab46-a9fe4f06b305@nostrum.com>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Sat, 31 Jul 2021 00:40:41 +0200
Message-ID: <CA+ag07Zy-CGzfWMHQ9kL6j3hS1JhB3P02FJRvMd8Fb7D9HCXKA@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>
Cc: WISH List <wish@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000066041105c85ee9fb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/HmeIwWZEVeg0CP_-PY90ZmD_GRY>
Subject: Re: [Wish] Proposal: Triggering ICE Restart
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, 30 Jul 2021 22:40:58 -0000

I am not sure if I agree with the idea of mapping the operations with jsep.
Sure we will make life a bit easier for clients integrating libwebrtc but
we may make it much harder to get it implemented in others (like ffmpeg for
example).

What i dislike about the idea of generating a new SDP O/A  for ICE restart
is that we force the clients/servers to parse the whole sdp for changes
that are not just the ice parameters.

Best regards
Sergio

El sáb., 31 jul. 2021 0:05, Adam Roach <adam@nostrum.com> escribió:

> During today's meeting, Jonathan raised a question about whether the
> currently proposed PATCH mechanism is sufficient for triggering ICE
> restarts. The issue is that ICE restarts result in a new generation of
> ICE candidates, which necessitates new ufrags and passwords on both sides.
>
> Looking at RFC 5789, it's pretty clear that PATCH is intended as an
> optimization of PUT rather than its own independent operation (e.g. look
> closely at the final paragraph of section 2). So one semantically
> consistent approach to ice restart would be for WHIP clients to send a
> PUT with a new offer rather than simply PATCHing in new candidates.
>
> This approach has a lot of appeal for me because it lines up well with
> the model that Jonathan was describing (where we're basically mapping
> WISH operations pretty directly to JSEP operations): in JSEP, ICE
> restarts result in the generation of a whole new offer rather than
> simply a set of candidates.
>
> So how would we feel about using PUT with a full SDP offer on the WHIP
> resource URL for ICE restarts? (Alternatively, we could use POST on that
> URL for an offer/answer exchange, to keep it consistent with session
> initiation -- I see minor pros/cons each way, but nothing decisive)
>
> /a
>
> --
> Wish mailing list
> Wish@ietf.org
> https://www.ietf.org/mailman/listinfo/wish
>