Re: [Wish] Issue: WISH and TURN servers

Tim Panton <tim@pi.pe> Sat, 31 July 2021 08:53 UTC

Return-Path: <tim@pi.pe>
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 2B9433A1DCC for <wish@ietfa.amsl.com>; Sat, 31 Jul 2021 01:53:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 MaOBC1hWqTyG for <wish@ietfa.amsl.com>; Sat, 31 Jul 2021 01:52:54 -0700 (PDT)
Received: from smtp002.apm-internet.net (smtp002.apm-internet.net [85.119.248.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 490AA3A1DC4 for <wish@ietf.org>; Sat, 31 Jul 2021 01:52:53 -0700 (PDT)
Received: (qmail 48584 invoked from network); 31 Jul 2021 08:52:51 -0000
X-APM-Out-ID: 16277215714858
X-APM-Authkey: 255286/0(253943/0) 47
Received: from unknown (HELO zimbra003.verygoodemail.com) (85.119.248.218) by smtp002.apm-internet.net with SMTP; 31 Jul 2021 08:52:51 -0000
Received: from localhost (localhost [127.0.0.1]) by zimbra003.verygoodemail.com (Postfix) with ESMTP id 3979480F89; Sat, 31 Jul 2021 09:52:51 +0100 (BST)
Received: from zimbra003.verygoodemail.com ([127.0.0.1]) by localhost (zimbra003.verygoodemail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RPDcGMIVB71z; Sat, 31 Jul 2021 09:52:51 +0100 (BST)
Received: from smtpclient.apple (p548c927d.dip0.t-ipconnect.de [84.140.146.125]) by zimbra003.verygoodemail.com (Postfix) with ESMTPSA id 1972880E0E; Sat, 31 Jul 2021 09:52:51 +0100 (BST)
Content-Type: multipart/alternative; boundary=Apple-Mail-0727AA93-BA35-4212-A46A-F8CD77AE20B1
Content-Transfer-Encoding: 7bit
From: Tim Panton <tim@pi.pe>
Mime-Version: 1.0 (1.0)
Date: Sat, 31 Jul 2021 10:52:49 +0200
Message-Id: <68350AD8-4A91-460C-8D18-1A0E3DA95F4C@pi.pe>
References: <CA+ag07b0xRweZLKwZhC2H-vbs8TAPxBQzAZdq=kW8xEO=12udA@mail.gmail.com>
Cc: Adam Roach <adam@nostrum.com>, WISH List <wish@ietf.org>
In-Reply-To: <CA+ag07b0xRweZLKwZhC2H-vbs8TAPxBQzAZdq=kW8xEO=12udA@mail.gmail.com>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
X-Mailer: iPad Mail (18F72)
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/pLQcW7hu_EZeNusLLnsqFYZ8LOw>
Subject: Re: [Wish] Issue: WISH and TURN servers
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: Sat, 31 Jul 2021 08:53:00 -0000

One thing I have done elsewhere, is to flip the relationship around, the client sends an essentially empty get request, and the server sends an offer -and- turn credentials. The client sends a post with the answer based on the offer+turn. 

I should say that I think we should probably not do this here, but I mention it for completeness.  

Tim

Sent from my iPad

> On 31 Jul 2021, at 10:20, Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> wrote:
> 
> 
> 
> 
> El sáb., 31 jul. 2021 1:11, Adam Roach <adam@nostrum.com>  
>> 
>> 
>> There was also a short discussion of sending the TURN Location header 
>> field back in the response to the offer PUT. I missed the exact nature 
>> of the objection for doing so, although it seemed to be based on 
>> information that we needed to have available to create the offer. I'm 
>> trying to work out whether this is true: I /think/ all of the 
>> information relating to the TURN server can be sent in a trickle ICE 
>> candidate. So you'd have something that looks like this:
> 
> 
> "this" part of the message seems to be missing.
> 
>> 
>> Unless I've overlooked something that makes this infeasible, I think I 
>> like this approach the best, since it allows ICE checks to start on 
>> non-relayed candidates with the same amount of latency as without this 
>> mechanism.
> 
> 
> If we get the URL of the turn server config in the response of the sdp offer, it means that we need to update the configuration of the PC to set them, which would trigger an ice restart. 
> 
> I think we should avoid that,  so the turn servers have to be retrievable before the http post with the sdp o/a.
> 
> Best regards 
> Sergio 
> 
> 
> 
> <Screenshot_20210731-101756_Chrome.jpg>
> -- 
> Wish mailing list
> Wish@ietf.org
> https://www.ietf.org/mailman/listinfo/wish