Re: [MMUSIC] Questions about ICE candidates with BUNDLE

Peter Thatcher <pthatcher@google.com> Fri, 13 November 2015 02:21 UTC

Return-Path: <pthatcher@google.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 259E61B3ED9 for <mmusic@ietfa.amsl.com>; Thu, 12 Nov 2015 18:21:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 O6hNL9j3NPmb for <mmusic@ietfa.amsl.com>; Thu, 12 Nov 2015 18:21:08 -0800 (PST)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (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 6AB8C1B3ED8 for <mmusic@ietf.org>; Thu, 12 Nov 2015 18:21:08 -0800 (PST)
Received: by oige206 with SMTP id e206so42813255oig.2 for <mmusic@ietf.org>; Thu, 12 Nov 2015 18:21:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=d+ObbgyzMbx1zXqjDojUuRCcJwdwWzXg7hlztDOiQOg=; b=TBphRUA5UFVkU4aSezKuLJH/JLh8zq6QjsRA0lgFIAMDVPaPCPMjf7EzDcdTcZvRyB /ZJAsBHwjB9IT4kn24qx5eXcJ5RlXhSEY5l3O/ahQINqrznb3biGEF+9nAGzbUTq7enF WHPTELH6z/y5HLw8beXI5fnuHKCf1FdN3jN6L8tAn61tD2zGQkq1g5eBXo0cZBC/uQeh hHnKkVIJEgT1PgqI2Toc+9xSXEYQl9oiBPDO9RIli55rXvEsxiPNU66GZuGAUeE1D1tl WfCzSJPGg1GYJIIiN7nNTZg6Hkr5Pl3iEtH8YZj4TMOoUCKKg+r99YZuIQwcF5qsQngz i0bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=d+ObbgyzMbx1zXqjDojUuRCcJwdwWzXg7hlztDOiQOg=; b=BgIcijztb/ttqmmWanE9uw1LrxrXVEkb3iOSPqE0TJGn5twMvxvkCNrGyVI9o47AYt ek0plk6LdlsoVa+5e4d+XGrwak0hRF2Et8pNYsOgDuwEwM4e9zUSRrEpe8DgNtlAal31 4Q+Xj3rkOpd7O3OXuXKInHHfwY3gvxZ+9uq468Jr6Vacs+dm+3giOpHU79HUIXaatyfK QuwD8S/EP3gJwGNuGJ2G6Ntt6jcpmboerLY+wVVabHQBESqgndg/f5sBJ/xI/zRUDYFQ Y25m9BTrLDYkAWcyCZ/tGFKg0g/iQjDfJ8U3jtUmeMBrPabmPqhS7WQyTfBJLL6Ernpa ezGQ==
X-Gm-Message-State: ALoCoQmV7p7LWO0nx1kIup2NeX9ZB4zxtfCrHqW+miI/4V1L+tjocaTteWaOxjirqNeaT20DeAVB
X-Received: by 10.202.104.91 with SMTP id d88mr10378940oic.57.1447381267761; Thu, 12 Nov 2015 18:21:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.202.108.9 with HTTP; Thu, 12 Nov 2015 18:20:28 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B37BED248@ESESSMB209.ericsson.se>
References: <CAJrXDUHutBgaPOV73-CyD_Knz+G5RFE0VX4s3+GqGV8K=B1LNA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37BED248@ESESSMB209.ericsson.se>
From: Peter Thatcher <pthatcher@google.com>
Date: Thu, 12 Nov 2015 18:20:28 -0800
Message-ID: <CAJrXDUE0zutaCci2pojS6+=015DKqd7ocR5a9AWLoTC6jV+x6w@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="001a1140a4405207d6052462b69a"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/YKP8jKhjPPnf-Yclj04BphFS1xg>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Questions about ICE candidates with BUNDLE
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Nov 2015 02:21:11 -0000

On Thu, Nov 12, 2015 at 1:12 PM, Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi Peter,
>
>
>
> >While implementing BUNDLE, we ran into a few questions
> about draft-ietf-mmusic-sdp-bundle-negotiation-23,
>
> >especially section 11 and when ICE candidates are included in m-lines:
>
> >
>
> >
>
> >1.  It says "answerer MUST assign shared ICE candidates to each bundled
> 'm=' line ... in the answer".  What is
>
> >the reasoning for duplicating candidates in this way in the answer?
> Clearly at this point, the offerer understands
>
> >BUNDLE and BUNDLE is negotiated, and the offerer (when using
> bundle-only) doesn't include duplicate candidates,
>
> >so what's value in duplicating the candidates in the answer?  If there
> isn't a good reason, I'd prefer to not duplicate
>
> >them, even if that means using 'a=bundle-only' in the answer (which is
> currently unspecified)
>
>
>
> At an early stage, we made a design decision that we’ll explicitly include
> all information in each m- line (like we do for non-BUNDLE), even if that
> means duplicating information.
>
>
>
> Otherwise we have to define procedures what happens if the m- line, in
> which the candidates were included, is e.g. later removed from the BUNDLE
> group. Then the candidates have to be assigned to some other m- line within
> the BUNDLE group, to make sure they are “seen” in the current SDP
> associated with the BUNDLE group. Etc.
>

​But that's not true for offers.  Offers can put "a=bundle-only" in the
m-line and then leave out ICE candidates.  So why can't answers do that
also?

​


>
>
> >2.  If the answerer does not include any candidates in the answer and
> instead trickles them later, should it trickle them N times (once for each
> m-line in the BUNDLE group) or >1 time?  1 time seems much more reasonable
> than N times, but if we duplicate candidates in the answer, but not
> duplicate them while trickling, that's a bit inconsistent.  Yet >another
> reason to not duplicate in the answer :).
>
>
>
> Assuming you use SDP to signal the trickled candidates, it’s true that you
> would duplicate them,
>

​What's the rationale for that?  These duplicates provide no value, and in
the case of many m-lines (such as a conferencing system with many
participants), we could be talking about 30x the number of candidates being
signaled.


> but you would still indicate each in a single SDP message sent towards the
> offerer.
>

The default behavior of trickle ICE webrtc is for the "onicecandidate"
​event ​
to have one candidate in each event, which means the simple WebRTC
application will be signalling
​each candidates individually.  For a single SDP message to contain many
candidates, the application would have to implement some form of candidate
batching.  But a smart application wouldn't bother doing that.  It would
just de-duplicate the candidates instead.  Which means it would just be
counteracting this duplication.

​This seems like just a silly waste to me, especially since it's apparently
only required on the answerer side, and not on the offerer side.​





>
>
> >3. (more for editors)  Everything refers to "11.1", but 11.1 doesn't say
> much.  Does it mean "11.2.1", which has more substance?
>
> >
>
> >4. (more for editors) 11.2.2 and 11.2.5 are exactly the same.  Why not
> just remove 11.2.5 and say 11.2.2 refers to all offers?
>
>
>
> I have to do some editorial fixes based on comments from Flemming, so I’ll
> take a look at these at the same time :)
>
>
>
> Regards,
>
>
>
> Christer
>
>
>