Re: [MMUSIC] Please Read and Comment: Re: ICE SDP/JSEP peace accords

Roman Shpount <roman@telurix.com> Fri, 25 January 2019 18:50 UTC

Return-Path: <roman@telurix.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B9BF130F5C for <mmusic@ietfa.amsl.com>; Fri, 25 Jan 2019 10:50:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.031
X-Spam-Level:
X-Spam-Status: No, score=-2.031 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.com
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 HEbjA6h1MwJS for <mmusic@ietfa.amsl.com>; Fri, 25 Jan 2019 10:50:15 -0800 (PST)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 537EC130EA7 for <mmusic@ietf.org>; Fri, 25 Jan 2019 10:50:15 -0800 (PST)
Received: by mail-pl1-x62b.google.com with SMTP id w4so4967526plz.1 for <mmusic@ietf.org>; Fri, 25 Jan 2019 10:50:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=02p/k0MTSJGz79ydLVZ4WHaf/pUWSdGljLbqCZr+6fk=; b=hKwlvzkt5bf72j62wAjh+LRI+kuxafFXsIdjocyhGSd5dAL8smetomDiikD4R2fWT8 zIJzTJUrFa38WyEJ7J23JDInThN/xt47m0lAizBC9CSu1CpnN8PC9pn7YvFlA+tdZ4fw VUtX6/ZsodyjlkM0vF7OY4Vl2XnS7IiFuDRc2VraxmAKSIi84ToNejIbCdZX0jQGdd3K 3Gd/ydWklSGGUmyIposxZWUvSEYWMSKwWEp6070msiGIpa+hJtO3h3ywIpHpFigJaIbC zDA9SpTlD7zI+ghmkC4V0r9d7OswLMKtbPu9J126WWmN7UXxYxAp4YcZo8QpbvENrJBU OEVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=02p/k0MTSJGz79ydLVZ4WHaf/pUWSdGljLbqCZr+6fk=; b=C484vXLBw+G7H4DDxRB90elvh/+9Bk2Tag5yR3exofyPlOP720nuO2Zfz+YVgmmQeg fvmogkfSnS0VUFPymkmK1LdQ+yix/DbZTsN3aJ6T4GCW7MbcEegZGlDqAVPaydheFAwH fpySABfYTvros4y8BlEUg+cW1UuHH6Z/Bex1noCJDDZpEZZTissM/HrelcZwFoQNBeGa yJN4jMpRMDjGuc7bOFn47CEQtOAhoxGwH/21VGjUjCRspAiKTLymzrX0YpFlxVGERjKc jOWcKcjhU8YYk99ASWb3536IYXmQSjdsfaO/LNWpycWagDGls8dfQnnJ224FEGNxMVUS zmTA==
X-Gm-Message-State: AJcUukdlTdxo/99N7ZPaqrPjvKN43ITbQ0/jPym6l9Rk8jgSCuJTWZLx 8qPok/XRRkH0ymaQIyAFmZe512kC8Hk=
X-Google-Smtp-Source: ALg8bN6c0wXKqHTnHUHySaxUlvCZcwNKU3NT0KxqbTRQhMlFaprXqQHcE/JJt3Ni+7ijYAbBZ/eCTg==
X-Received: by 2002:a17:902:9047:: with SMTP id w7mr12243677plz.270.1548442214398; Fri, 25 Jan 2019 10:50:14 -0800 (PST)
Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com. [209.85.210.174]) by smtp.gmail.com with ESMTPSA id e86sm37506631pfb.6.2019.01.25.10.50.13 for <mmusic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 10:50:13 -0800 (PST)
Received: by mail-pf1-f174.google.com with SMTP id i12so5141044pfo.7 for <mmusic@ietf.org>; Fri, 25 Jan 2019 10:50:13 -0800 (PST)
X-Received: by 2002:a65:590b:: with SMTP id f11mr11074581pgu.60.1548442213434; Fri, 25 Jan 2019 10:50:13 -0800 (PST)
MIME-Version: 1.0
References: <0454609c-ce69-80d4-93d8-f89bc8ba897e@nostrum.com> <CAD5OKxu1bPDU_snQ=H7RwVgPKW_hKJY1Nj7g82vTpJ+gorPrYQ@mail.gmail.com> <f279e997-0236-b78c-e555-5189d9818ef2@nostrum.com> <9B6124BE-E369-4327-B759-77DB0ED8A484@ericsson.com> <6f42b5c5-72f0-8d6a-c68d-d19da7d94353@cisco.com> <HE1PR07MB3161189A6405D403F433F17293980@HE1PR07MB3161.eurprd07.prod.outlook.com> <CAD5OKxvNYnARbw5yvSHCeQUiSMRxQdMj9h5zUeXj+o3Nd8Kh-g@mail.gmail.com> <3e17ec5d-e6b2-5d38-e206-2ed7b8b9c690@nostrum.com> <CAD5OKxtzxOfE9O-G5tQ1C_sg8LHQBxpNATJi_ee-UVcp0gdb2w@mail.gmail.com> <ab0940dd-9ad0-d012-5530-a6a35dd659e9@nostrum.com> <CAD5OKxtgRZErxSfPOQd1xts4zg+1RWuYFOZSey=HgG-Y9g0Dhw@mail.gmail.com> <b7c0eb29-d11b-1a54-5325-d8fccb1c778d@nostrum.com> <CAD5OKxthX_GVNCchMvovAac9Q_hwLVP2VHudp3QUEZxfzBj5HA@mail.gmail.com> <b5cd275a-1dc7-9729-fea0-e8e2b432f171@nostrum.com> <f54c5932-7254-151f-a04a-07cb86809fe7@cisco.com>
In-Reply-To: <f54c5932-7254-151f-a04a-07cb86809fe7@cisco.com>
From: Roman Shpount <roman@telurix.com>
Date: Fri, 25 Jan 2019 13:50:03 -0500
X-Gmail-Original-Message-ID: <CAD5OKxv_Xge=g0wtyADF3QO6qjp9iwu4sKMmYvC6zdVw5kg4tw@mail.gmail.com>
Message-ID: <CAD5OKxv_Xge=g0wtyADF3QO6qjp9iwu4sKMmYvC6zdVw5kg4tw@mail.gmail.com>
To: Flemming Andreasen <fandreas@cisco.com>
Cc: Adam Roach <adam@nostrum.com>, Christer Holmberg <christer.holmberg@ericsson.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000016530705804ccc43"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/4cDI1xrm0F1-mLXufnCi705EUkA>
Subject: Re: [MMUSIC] Please Read and Comment: Re: ICE SDP/JSEP peace accords
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
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, 25 Jan 2019 18:50:17 -0000

On Fri, Jan 25, 2019 at 9:05 AM Flemming Andreasen <fandreas@cisco.com>
wrote:

>
>
> On 1/22/19 4:42 PM, Adam Roach wrote:
>
> On 1/22/19 3:40 PM, Roman Shpount wrote:
>
> On Tue, Jan 22, 2019 at 4:36 PM Adam Roach <adam@nostrum.com> wrote:
>
>> On 1/22/19 3:33 PM, Roman Shpount wrote:
>>
>> On Tue, Jan 22, 2019 at 4:25 PM Adam Roach <adam@nostrum.com> wrote:
>>
>>> On 1/22/19 3:15 PM, Roman Shpount wrote:
>>> > The issue is the offer generated when ICE restart is not initiated and
>>> > TCP candidate is currently nominated. TCP candidate is the only
>>> > candidate which is present in both offer and answer. It is also the
>>> > default candidate. No UDP candidate will be added it any point during
>>> > the offer/answer exchange.
>>>
>>>
>>> This is what I tried to indicate with the use of an italicized "always"
>>> in my previous reply.
>>>
>>> EVEN IF it is generating an offer when ICE restart is initiated and the
>>> TCP candidate is nominated, Chrome will still always (always, always)
>>> generate an SDP that includes a UDP candidate and use that candidate's
>>> value in the m=/o= lines.
>>>
>>
>> Unless I am mistaken, if ICE restart is not initiated, only the nominated
>> candidate must be included. No other candidates must be present. If Chrome
>> does not follow this, then it is most likely not complaint with either ICE
>> or JSEP specifications.
>>
>>
>> Based on the conversation I had with their engineers, that seems to be
>> the case.
>>
>
> Based on RFC 5245 section 9.1.2.2 (
> https://tools.ietf.org/html/rfc5245#section-9.1.2.2) this is wrong:
>
> The agent MUST include candidate attributes for candidates matching the
> default destination for each component of the media stream, and MUST NOT
> include any other candidates.
>
>
> I'm not disagreeing.
>
>
> So where does this leave us ?
>
>
I think JSEP sections 5.1.2 (
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-25#section-5.1.2) and
potentially 5.2.2 (
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-25#section-5.2.2) would
need to be updated to be consistent with each other and mmusic drafts.

There is currently a discussion on RTCWEB of pull request
https://github.com/rtcweb-wg/jsep/pull/862/files which attempts to fix this.

Regards,
_____________
Roman Shpount