Re: [MMUSIC] [rtcweb] Default proto transport in JSEP

Roman Shpount <roman@telurix.com> Wed, 28 November 2018 18:41 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 62F27128A6E for <mmusic@ietfa.amsl.com>; Wed, 28 Nov 2018 10:41:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.347
X-Spam-Level:
X-Spam-Status: No, score=-3.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 c5FAvudGcdF5 for <mmusic@ietfa.amsl.com>; Wed, 28 Nov 2018 10:41:46 -0800 (PST)
Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (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 3A52A127B92 for <mmusic@ietf.org>; Wed, 28 Nov 2018 10:41:46 -0800 (PST)
Received: by mail-pg1-x52d.google.com with SMTP id t13so9872969pgr.11 for <mmusic@ietf.org>; Wed, 28 Nov 2018 10:41:46 -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=R3hh6//wPHoinKxpPWYkR3cn2zANO0QrrSmXxKFJKtY=; b=jItogfNeet3Mk7jrbsvgzVEsc+Ao/EGkaiWGSL7raOxSipENtTSCrWq/YEXS4d4Hc+ KOODAhEHhIkhwNLA+SUhvjZn3Xefe9JGpPTgD6AioZiEkoTSQQpyaQNxmJoumztkVbau cgoZiBEhgK0j8xlIpbEr74gGqV0OOE38WeraBV+xsgD3WriVksBiv3wydjrJ2nG4OAKB Df+96Yu73w98Qh00TZLzSQaSa7KVSRAFgaLYnS7XfUiscGWl1ugUizFLsEzaFnA3bVEr qvxJOKILKPU+gpaFw7AV458dnfp/3bhiJ4B2FvqSaIwbwMNlpcAxWD9rFslpL2zah+yJ uTZg==
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=R3hh6//wPHoinKxpPWYkR3cn2zANO0QrrSmXxKFJKtY=; b=IZ81Tvf+z5ebrd0K+XdAimByszpIweqKdNiI4Ujotem4LeNlKrniDEakXsYCAk0YWB Vf7MJuwyuc5SKTX/9843fETFncOT+12li4qM7BkcIhWuRDg5Twn9jxkHViR6XAnKvUV7 ph7awazDAwOVsPWlH/yUIKvrpyT8i69W+Y/CT58QoNyWs7pAinGG/PtdpfybaREmhHHd 5Oaw+/lria7bcY3/Lu30zVxJwGD1fTmlxPbEsXv2Ce0ycAaQYV6thF8WcuvvuqN4SclE 2azy3tWM8ZsUXnZv3GlbQX77SH/3OKcHr4gyGbKV/+hhw/2ZVkrPZfA6nI6u7PJa0WQf XhaQ==
X-Gm-Message-State: AA+aEWYPHlrmyXkUNDoLjcSVdFoZmyZcKGk3vGAUp5rkt5W2GbWP05cB 3+vlWlvcZRgbEtMtDgSFZAtbbg==
X-Google-Smtp-Source: AFSGD/Xf2tE0mxQpwyxJaab52Lo61DGu1k5oDDD2wolpmQM/C00jRK1rqq5NUYdMU34qpvnCloV6Ng==
X-Received: by 2002:a63:d818:: with SMTP id b24mr33501512pgh.174.1543430505760; Wed, 28 Nov 2018 10:41:45 -0800 (PST)
Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com. [209.85.210.172]) by smtp.gmail.com with ESMTPSA id q7sm7747760pgp.40.2018.11.28.10.41.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 10:41:44 -0800 (PST)
Received: by mail-pf1-f172.google.com with SMTP id q1so10599647pfi.5; Wed, 28 Nov 2018 10:41:44 -0800 (PST)
X-Received: by 2002:a62:4714:: with SMTP id u20mr4192641pfa.144.1543430504493; Wed, 28 Nov 2018 10:41:44 -0800 (PST)
MIME-Version: 1.0
References: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com> <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com> <9B9B741B-622F-4565-899B-700636408F6C@iii.ca> <CAD5OKxv9r08RLvMSM4h11A6sXU9E=u_8Qvy-TBfjNcwkhcqf3w@mail.gmail.com> <54ebb208-e7b3-a0f1-6a5c-4745d3a56447@cisco.com> <CAD5OKxut5Lr+Bmyc20y+vV=+_RESw+h72DYLnt3G1_BjS6sTVA@mail.gmail.com> <1346FE48-5D61-48B7-BF37-3D7BAA930DB0@iii.ca> <CAD5OKxv0N+TF3L3bB9KPm4vqQdPZKE=1zkdw1PaV7CpNJ2kYaQ@mail.gmail.com> <110dc822-b3be-7bc2-dcc5-9e6c8277e0d1@nostrum.com>
In-Reply-To: <110dc822-b3be-7bc2-dcc5-9e6c8277e0d1@nostrum.com>
From: Roman Shpount <roman@telurix.com>
Date: Wed, 28 Nov 2018 13:41:33 -0500
X-Gmail-Original-Message-ID: <CAD5OKxtKOLovNCi0cJiEiHD+M3tCda7ZSecU8EJKxVPuFs7maQ@mail.gmail.com>
Message-ID: <CAD5OKxtKOLovNCi0cJiEiHD+M3tCda7ZSecU8EJKxVPuFs7maQ@mail.gmail.com>
To: Adam Roach - SIPCORE Chair <adam@nostrum.com>
Cc: Cullen Jennings <fluffy@iii.ca>, RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f4b86f057bbdeac0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/5Vpq0qqudNZfNLK-NpHMV2zD3XQ>
Subject: Re: [MMUSIC] [rtcweb] Default proto transport in JSEP
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: Wed, 28 Nov 2018 18:41:50 -0000

Hi Adam,

On Wed, Nov 28, 2018 at 1:22 PM Adam Roach <adam@nostrum.com> wrote:

>
> On 11/28/18 10:57 AM, Roman Shpount wrote:
>
> On Wed, Nov 28, 2018 at 11:38 AM Cullen Jennings <fluffy@iii.ca> wrote:
>
>> On Nov 27, 2018, at 4:46 PM, Roman Shpount <roman@telurix.com> wrote:
>>
>>  I suggest to update JSEP section 5.1.2 to match the rest of the
>> documents to say that "UDP/TLS/RTP/SAVPF" proto MUST be used during ICE
>> restart. When ICE restart is not in progress, "UDP/TLS/RTP/SAVPF" proto
>> MUST be used if default (only) candidate is a UDP candidate and
>> "TCP/TLS/RTP/SAVPF" proto MUST be used if default (only) candidate is
>> TCP candidate.
>>
>>
>> I don’t see any real befits to implementations to this change and I don’t
>> think the rtcweb consensus was around the currently solution. Do you see
>> some advantage to implementations to this?
>>
>
> This is what every other document related to ICE, including JSEP section
> 5.2.2 currently specifies. It was also consensus in MMUSIC. I think RTCWEB
> need a really good reason why it needs to be different.
>
> It would probably help clarify things if you quoted the parts of the
> document that you think are in conflict. I can't find any explicit <proto>
> field handling in 5.2.2.
>
 I have mentioned this already in the previous message, but I guess this
got lost in the traffic.

JSEP-25 in section 5.2.2 says (
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-25#section-5.2.2):

Each "m=" and c=" line MUST be filled in with the port, *protocol*, and
address of the default candidate for the m= section, as described in
[I-D.ietf-mmusic-ice-sip-sdp], Section 3.2.1.2.


At the same time section 5.1.2 says (
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-25#section-5.1.2):

For media m= sections, JSEP implementations MUST support the
"UDP/TLS/RTP/SAVPF" profile specified in [RFC5764], and MUST indicate this
profile for each media m= line they produce in an offer. For data m=
sections, implementations MUST support the "UDP/DTLS/SCTP" profile and MUST
indicate this profile for each data m= line they produce in an offer.

So, section 5.2.2 says m= line should be filled with currently used
protocol, which means "TCP/TLS/RTP/SAVPF" or "TCP/DTLS/SCTP" if default
candidate is TCP based, but section 5.1.2 says it must be "UDP/TLS/RTP/SAVPF"
or "UDP/DTLS/SCTP", even if default candidate is TCP based. I thought that
section 5.2.2, since it is more specific, overwrites 5.1.2, which I assumed
only applies to ICE restart. Authors disagree and want to update the
document.

> In terms of changing technical aspects of JSEP: the only reason the
> document is out of the RFC Editor's queue right now is to address issues
> arising from rationalizing the reference to RFC 8445 within Cluster 238.
> This is not an opportunity to re-litigate previously settled consensus
> decisions. Technical issues such as the one at hand should have been raised
> during WG development, WG last call, or -- in extremis, since you're a
> regular RTCWEB participant -- during IETF last call. It's up to the chairs
> what to allow, but I wouldn't expect anything other than catastrophic flaws
> to be open for change at this time.
>
I am not the one who opened this can of worms. I am fine if the current
draft version is not changed. This is why I did not comment during the WG
last call. Draft authors are introducing the new change in
https://github.com/rtcweb-wg/jsep/pull/857, which makes JSEP incompatible
with ice-sip-sdp. I oppose this change. If the group considers that a
change to clarify things is necessary, I would suggest that section 5.1.2
should be changed instead to that it only applies during ICE restart, so
that JSEP is compatible with ice-sip-sdp.

Regards,
______________
Roman Shpount