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

Roman Shpount <roman@telurix.com> Wed, 21 November 2018 23:04 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 4C0C8130DD4 for <mmusic@ietfa.amsl.com>; Wed, 21 Nov 2018 15:04:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.348
X-Spam-Level:
X-Spam-Status: No, score=-3.348 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] 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 xJpOgdIOvHOs for <mmusic@ietfa.amsl.com>; Wed, 21 Nov 2018 15:04:37 -0800 (PST)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 D12A9130DD3 for <mmusic@ietf.org>; Wed, 21 Nov 2018 15:04:37 -0800 (PST)
Received: by mail-pl1-x62c.google.com with SMTP id z23so7536652plo.0 for <mmusic@ietf.org>; Wed, 21 Nov 2018 15:04:37 -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=FHty14PtPGst8TJuIG+D83YU/UgLmampCfSE8PgQ1H0=; b=Ifz7HzQcSzC++blkiRU3OxqYog1mAydEeSBcCQUOFg9b5nZNXRE3Sxubb8IvF/7369 iVZKzcAWbz0lK3mI3El9JASQCvRKn4SaGfQsJBIa28HjaVkhQMt9biW041PC3j02IyIh 7F9G0vsy3Itj0YJIIUmdcfgWonxPsKlLnVbC4i1HX6WDr2O/Olh8vILiqwj5t53kqcE5 iWXfQlBFJTguiZT3UhV3E7leMVQhh81rdrc8ISYbTlI+y/CEiVIQTUC4N1Mpkyc4EapC 1XDVgrLVDUDG4vuVHPOYMOKykwAZ85pB5RVtykmjYpx+I78O0g1FNu50QKFMHOjQVbQv RHWw==
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=FHty14PtPGst8TJuIG+D83YU/UgLmampCfSE8PgQ1H0=; b=qO9Q8xLULYPyLZLy54Wl/NR+NMzJtsczPI44tCIYGoKCdTykvSLbSZQGEuMOiKNK8m 8gNN0LlsPC4GRqPes6ck0XL0rgzOCwLgDEtOMky4IXI+PsJirkzK9L2aDdkk+yLnHNp6 nmHEF86/T/pg07pEC6vN+sR5bNnOLeOk94nDXHxKQKsxvwl7aoxEM9i5/PS03gqKfkAj ttxjPPNXBwk/RzSd85pD2gfpupNc2c3Qt5RqqOsdB1+5YQwK9UAgdD3zIvo5aQ90OutQ qAUv6a8CVslL8ybhA7xGRimSsU13Ebct+lnD5S+8CedaVQ+c6SRTgBSbtuG/XhtHWW/G ZfLQ==
X-Gm-Message-State: AA+aEWag+SaAqsKZ7gQ2YYVDA1UlIJIl/g2bKts93Y5pKwHKWMfu0+1w Gk9o+jk/OC5mWggtjAtujT3V0oUq8xU=
X-Google-Smtp-Source: AFSGD/XDrWoNSRszLS/CDDygw6Iz7xk2nV7deGWBbILwxiEvWYGlY++px9lB4G/Hs09VRQZTwLGULQ==
X-Received: by 2002:a63:1f4e:: with SMTP id q14mr7450996pgm.88.1542841477200; Wed, 21 Nov 2018 15:04:37 -0800 (PST)
Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com. [209.85.214.182]) by smtp.gmail.com with ESMTPSA id z13sm53643738pgf.84.2018.11.21.15.04.36 for <mmusic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 15:04:36 -0800 (PST)
Received: by mail-pl1-f182.google.com with SMTP id a14so7515897plm.12 for <mmusic@ietf.org>; Wed, 21 Nov 2018 15:04:36 -0800 (PST)
X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr8494825plb.142.1542841475707; Wed, 21 Nov 2018 15:04:35 -0800 (PST)
MIME-Version: 1.0
References: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com> <CALiegfnMbwTruVKU-VnsZvddqRhnuCm1k8zLcLSuWSs9zT1JUA@mail.gmail.com> <CAD5OKxtxAiBbVY4HQjfjwqfsGoUxAZzmmrTWVfe7pG6MTsHGRA@mail.gmail.com> <CALiegfnVOFvUKYMRp7z0Q3aVyzbi=+JuyXmH+PL6_pNW9j9PVA@mail.gmail.com> <CAD5OKxtpepraJWVbJy2+x_4pFbeqF57=yh1GVF-WoYGBX1OV-Q@mail.gmail.com> <CALiegf=ffb1UL0FPrk770Q-ACQL-ySAqxBzB1M0yJXZUM6y9sg@mail.gmail.com> <CAD5OKxtj=nEWjOWztcAVMDsFOFRGO7hQaKUsn-Pqbk7Ma64Trg@mail.gmail.com> <CALiegfno4y5P-qLkrxSs0zLbEEUo1HWyp0rfEA8KecRjTQ43sQ@mail.gmail.com> <CAOJ7v-2o1Se9zaMgktQtwNW46zvB2i7Hk7+GK1yhWJV5xcT7ZA@mail.gmail.com> <CAD5OKxveNtx3uD7tD_mTgE-Rv2JTZPBmjk34iUJD9uw25-ZCzQ@mail.gmail.com> <CAOJ7v-1V_vtq+szN6299kw9dH_TOz9sxa+YYwQkBwHeJPoqvgA@mail.gmail.com> <CAD5OKxt6JyFXsdANSX13LytLsosRQUnP5oKoR1PUjZmJyP0kxw@mail.gmail.com> <CAOJ7v-1VuktqXrX6NVD85UWNPP6e_cbs=_YOr6ewn7g-KhR_ug@mail.gmail.com> <CAD5OKxuSGJp+JnnMxzx0jxs99Rgw-KBFAKE14MD4pXPV-c_9Eg@mail.gmail.com> <4a9598c5-e36e-a725-5017-b50c4c020669@alvestrand.no>
In-Reply-To: <4a9598c5-e36e-a725-5017-b50c4c020669@alvestrand.no>
From: Roman Shpount <roman@telurix.com>
Date: Wed, 21 Nov 2018 18:04:25 -0500
X-Gmail-Original-Message-ID: <CAD5OKxs=W6-bwStFOCL4kE+LE8whymidW9ia4wwS-__GPHYB1g@mail.gmail.com>
Message-ID: <CAD5OKxs=W6-bwStFOCL4kE+LE8whymidW9ia4wwS-__GPHYB1g@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001abae6057b34c691"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/uM6k-HEzy3s7dfoI88XIiAwRqeY>
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, 21 Nov 2018 23:04:40 -0000

Hi Harald,

On Wed, Nov 21, 2018 at 7:59 AM Harald Alvestrand <harald@alvestrand.no>
wrote:

> Given the maturity of the documents (ice-sip-sdp: "WG Consensus: Waiting
> for Write-Up" since December 2017; JSEP: "RFC Ed Queue" since March 2018),
> it seems most logical to change draft-ietf-ice-sip-sdp to allow what JSEP
> has specified.
>
> The failure of the ICE WG to detect the incompatibility with JSEP is sad,
> but fixable.
>

First of all, this is an mmusic issue, not ICE

Second, we are discussing a new proposed change in JSEP.

Current draft version 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.


This change was made to be compatible with
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.


So, the draft in RFC Ed Queue is compatible with ice-sip-sdp, but
inconsistent. The new change will makes it consistent but incompatible with
ice-sip-sdp.

Second, the new change contradicts RFC5245 not just ice-sip-sdp. When
ice-sip-sdp was created it was intended to be backwards compatible with
RFC5245 and proposed change will break it.

Finally, this specific issue was discussed to death in mmusic group.
Consensus was reached and reflected in ice-sip-sdp, sctp-sdp (In
MissingRef), rfc4583bis (Submitted to IESG for Publication). So, you can
potentially overwrite ice-sip-sdp behavior in JSEP, but it would be hard to
update ice-sip-sdp without affecting the other mentioned documents.

In my opinion, the difference is largely aesthetic, not practical, so I'd
> go with "first approved document gets to specify".
>

The change is not simply aesthetic. The result of this change is that you
need a special flag for ICE implementation to be compatible with JSEP (put
UDP protocol in m= line when ICE TCP candidate is used in subsequent
offers) vs being compatible with RFC 5245 (use TCP protocol when ICE TCP
candidate is used in subsequent offers). So, if you are using the same
infrastructure when dealing with multiple call sources (for instance we do
this for SIP calls from VoiP phones and SIP-over-websockets calls from web
browsers), you will need to maintain a special "profile" flag to treat
calls from browsers differently.

So, I think JSEP section 5.1.2 should be updated instead 5.2.2 to keep JSEP
compatible with RFC 5245, ice-sip-sdp and the rest of the documents.

Regards,
_____________
Roman Shpount