[rtcweb] JSEP-24: canTrickleIceCandidiates question

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 08 January 2018 11:39 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 196F11273E2 for <rtcweb@ietfa.amsl.com>; Mon, 8 Jan 2018 03:39:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 SJLR7L0lO_ag for <rtcweb@ietfa.amsl.com>; Mon, 8 Jan 2018 03:39:08 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 717831204DA for <rtcweb@ietf.org>; Mon, 8 Jan 2018 03:39:07 -0800 (PST)
X-AuditID: c1b4fb25-859119c00000341b-cf-5a53585a5dfb
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id E0.6A.13339.A58535A5; Mon, 8 Jan 2018 12:39:06 +0100 (CET)
Received: from ESESSMB109.ericsson.se ([169.254.9.206]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0352.000; Mon, 8 Jan 2018 12:39:05 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: JSEP-24: canTrickleIceCandidiates question
Thread-Index: AQHTiHVJfsza7oN7hkaBd7kzQH4cEg==
Date: Mon, 08 Jan 2018 11:39:05 +0000
Message-ID: <D6792771.286CB%christer.holmberg@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.7.170905
x-originating-ip: [153.88.183.20]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <8999B41A63BC2B46BA15A6007343EDF6@ericsson.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsUyM2K7qG5URHCUQV+TuMXaf+3sDoweS5b8 ZApgjOKySUnNySxLLdK3S+DKWH1hKXvBG96KORveszUw3ufqYuTgkBAwkeiaE9nFyMUhJHCY UeLJrkesEM5iRolnPz8xgRSxCVhIdP/T7mLk5BARUJe4/PACO0hYWMBY4tU/LYiwhcSZyz9Z IWw9iR+3ToDZLAIqEtfPnWQEsXkFrCU2TVjBBGIzCohJfD+1BsxmFhCXuPVkPpgtISAgsWTP eWYIW1Ti5eN/YHNEgWZuOHGbHSKuKHF1+nKoXgOJ9+fmM0PY1hJPWrawQNjaEssWvmaG2Cso cXLmE5YJjCKzkKybhaR9FpL2WUjaZyFpX8DIuopRtDi1OCk33chYL7UoM7m4OD9PLy+1ZBMj MB4ObvmtuoPx8hvHQ4wCHIxKPLzHQoOjhFgTy4orcw8xSnAwK4nw/vEBCvGmJFZWpRblxxeV 5qQWH2KU5mBREuc96ckbJSSQnliSmp2aWpBaBJNl4uCUamDsUl+X05jr6XfpN/8X+X/39v8R fnmsa/d+29cC5uHPs5k0Y7WuVB582B+WteLsba2tN4K1X/9TbhfsPC5lNiW6ryu1r37n0eX/ yteECJ+fyzIvUF0+d/6VZ1tiMhI7Vtuof/pxy+PjLqlpOt/PmDP9qv7KtSB3Qr3MO3vXwDlp Ko1vvBdkblqsxFKckWioxVxUnAgAbwF/0oMCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/-G2VdPHuNqfkr1arM6Hzw3WsVsU>
Subject: [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 11:39:12 -0000

Hi,

The W3C WebRTC spec says:

       "The canTrickleIceCandidates attribute indicates whether the remote
peer is able to accept trickled ICE candidates [TRICKLE-ICE
<https://www.w3.org/TR/webrtc/#bib-TRICKLE-ICE>]. The
        value is determined based on whether a remote description
indicates support for trickle ICE, as defined in [JSEP
<https://www.w3.org/TR/webrtc/#bib-JSEP>] (section 4.1.15.
        
<https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-20#section-4.1.15>).
Prior to the completion of setRemoteDescription
<https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-setremotedescription>,
 
        this value is null.²

JSEP-24 says:

        "null:  No SDP has been received from the other side, so it is not
         known if it can handle trickle.  This is the initial value before
         setRemoteDescription() is called.²

         (Basically repeating the W3C text)

         Šand:


        "However, applications can use the canTrickleIceCandidates
property to determine whether their peer can
         actually do Trickle ICE, i.e., whether it is safe to send an
initial offer or answer followed later by
         candidates as they are gathered. As "true" is the only value that
definitively indicates remote
         Trickle ICE support, an application which compares
canTrickleIceCandidates against "true" will by default
         attempt Half Trickle on initial offers and Full Trickle on
subsequent interactions with a Trickle ICE-compatible
         agent.²


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?

Regards,

Christer