Re: [rtcweb] When are ICE candidates added to the SDP

Martin Thomson <martin.thomson@gmail.com> Tue, 13 May 2014 05:36 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3EA01A0842 for <rtcweb@ietfa.amsl.com>; Mon, 12 May 2014 22:36:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 dXcj7tA16c0Z for <rtcweb@ietfa.amsl.com>; Mon, 12 May 2014 22:36:14 -0700 (PDT)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by ietfa.amsl.com (Postfix) with ESMTP id 813491A083F for <rtcweb@ietf.org>; Mon, 12 May 2014 22:36:14 -0700 (PDT)
Received: by mail-wi0-f179.google.com with SMTP id bs8so5609267wib.12 for <rtcweb@ietf.org>; Mon, 12 May 2014 22:36:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vbxklFhsCHmO8rSNdzf2CPSEkF1KKpFKasYtenFMoa0=; b=ZNexHENcG+nFN0NgLg/aS5vJKo3cFJdv8/nkn79HIdXxX9qzg6uV/mo5+xxALnpYtC 6dM6UpxWr4D91B2nFd9eWpdyk4Y94983XrGzzodYGhf7fdGC0dfiWjcqJtT4cihHjast M5mUXcI1LAr1XxD47SeyA1glSyo+zACqS4PpGVJ+xRhEJl0co13bLJZSESHM+NV4T6VU sFIpPk0ggclvr7V+VxxSd47xzAcKzQ/FBWCaT3XOX9qhRZZVqk2tJGI8QIQW17bFzJ0b MC5L4pD+evPhcF+pdG0Y8xl3sX0Uk2Upi5iOX3+h4IaZoBZeSRrwZJ9JA1AJB9f1vIKz e2tA==
MIME-Version: 1.0
X-Received: by 10.180.85.134 with SMTP id h6mr18920045wiz.44.1399959367859; Mon, 12 May 2014 22:36:07 -0700 (PDT)
Received: by 10.194.235.163 with HTTP; Mon, 12 May 2014 22:36:07 -0700 (PDT)
In-Reply-To: <56C2F665D49E0341B9DF5938005ACDF82F8091@DEMUMBX005.nsn-intra.net>
References: <CABcZeBNUTf42tS9FrjS9Q6Zk8LBkhpKOR1z2v8MHoeNEUf93Mw@mail.gmail.com> <56C2F665D49E0341B9DF5938005ACDF82F69E8@DEMUMBX005.nsn-intra.net> <CABcZeBO1Z0SnTUixjV09ekw-mb=YyzHjOV-b-MMUZy7sx32h6Q@mail.gmail.com> <5370D1E3.7040809@alvestrand.no> <CABcZeBNgJ_DP6XQ2L0fdrFEE-YWwuKCjq4f-X5cD6+pK3un8Hw@mail.gmail.com> <5370F349.7050006@alvestrand.no> <CABkgnnWfAYTUBrrbu=m_j0=S3uBw4Cf7PBDi3ZmAGHsUMBX1kQ@mail.gmail.com> <56C2F665D49E0341B9DF5938005ACDF82F8091@DEMUMBX005.nsn-intra.net>
Date: Mon, 12 May 2014 22:36:07 -0700
Message-ID: <CABkgnnWAkxf5jERHruSb=cU6=yhBHxMf3Y6irxekHLZN-kxcEQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "Rauschenbach, Uwe (NSN - DE/Munich)" <uwe.rauschenbach@nsn.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/hT9nvUIYnU0GA5VRgxalqcGs5_E
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] When are ICE candidates added to the SDP
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 13 May 2014 05:36:15 -0000

On 12 May 2014 20:46, Rauschenbach, Uwe (NSN - DE/Munich)
<uwe.rauschenbach@nsn.com> wrote:
>
> A question on step 6 and your statement below the sequence: What would be the difference between an SDP created by pc.createOffer in step 6 and one obtained by getting pc.localDescription in step 6?

The difference is that the second contains candidates.

> Why do you consider multiple pc.createOffer calls nasty?

They aren't convenient.  You risk mistakes.