Re: [rtcweb] JSEP-24: canTrickleIceCandidiates question

Philipp Hancke <fippo@goodadvice.pages.de> Mon, 08 January 2018 12:13 UTC

Return-Path: <fippo@goodadvice.pages.de>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAFD412778E for <rtcweb@ietfa.amsl.com>; Mon, 8 Jan 2018 04:13:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-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 ZAdMQZDVYHgg for <rtcweb@ietfa.amsl.com>; Mon, 8 Jan 2018 04:13:07 -0800 (PST)
Received: from lo.psyced.org (lost.in.psyced.org [188.40.42.221]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14356124BAC for <rtcweb@ietf.org>; Mon, 8 Jan 2018 04:13:06 -0800 (PST)
Received: from [192.168.1.146] ([88.151.161.10]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-9.4) with ESMTP id w08CD6ro017696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <rtcweb@ietf.org>; Mon, 8 Jan 2018 13:13:08 +0100
To: rtcweb@ietf.org
References: <D6792771.286CB%christer.holmberg@ericsson.com>
From: Philipp Hancke <fippo@goodadvice.pages.de>
Message-ID: <8a4f9180-3de5-3ceb-5dae-156488e72910@goodadvice.pages.de>
Date: Mon, 08 Jan 2018 13:13:00 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <D6792771.286CB%christer.holmberg@ericsson.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/jxMrqjHPqiog8b6FOrCwUg7Yt8Y>
Subject: Re: [rtcweb] JSEP-24: canTrickleIceCandidiates question
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jan 2018 12:13:10 -0000

[...]

> QUESTION: Since the value will be NULL before completion of
> setRemoteDescription (before SDP has been received from the other side)
> how can the value be used by applications for initial offers?

https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/canTrickleIceCandidates
shows some of the thinking around this. The code *should* work for the 
offerer side as well and will create a half-trickle offer.