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

Roman Shpount <roman@telurix.com> Tue, 22 January 2019 20:51 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 DE1DC1310F4 for <mmusic@ietfa.amsl.com>; Tue, 22 Jan 2019 12:51:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.03
X-Spam-Level:
X-Spam-Status: No, score=-2.03 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, URIBL_BLOCKED=0.001] 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 RnQbsI4yTeBY for <mmusic@ietfa.amsl.com>; Tue, 22 Jan 2019 12:51:50 -0800 (PST)
Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 1C5F01310F1 for <mmusic@ietf.org>; Tue, 22 Jan 2019 12:51:50 -0800 (PST)
Received: by mail-pg1-x533.google.com with SMTP id w7so11577402pgp.13 for <mmusic@ietf.org>; Tue, 22 Jan 2019 12:51:50 -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=PBgam00DZoqRRKf51TdoNaVFGYgtY2MLXeVNoQ+REVU=; b=li1ZSAQFeOsjHXvPwFURpiM5LW+DVlTGlm0EoH8DBKMrUWj57A6GvksnlxPYt3hffg 2xuOl/CEO0LPLAztPf07315WEFcenleTSq2nSU33VLCJEThvwmNK6nk+Fnr66sHQ1yHv YtxkBl7AEx/qor/CekznynAx5nICS0kspiYqNbpROmgcbhZqfsnxx8D8ExoidJ6ZaL89 Inksx3gUOrxOPa/jbjfjUia9imAdiaT7cSuuOt5K/o717LUpL43mynYhpZfw6ZtJFGd3 RAkgykfoO05wMC5y2Dcel/5cFQzQlAx1nl3QUxNXBQCpeM5VgWkDoAtKYIxqy+55L68b vb0A==
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=PBgam00DZoqRRKf51TdoNaVFGYgtY2MLXeVNoQ+REVU=; b=s8TTyLrMmsxLyG/BjrY2E33dDa4okb5/RHrko9O58y1dsA7TbIyixUlhQEYfOPNb9m agqoCo4N701acHarXTlIh3wPKNWV0gip92lFb0cAqWmd1B3zjBGo+EMDEcAUCqJmsuKl ASPuaFSMWdgPJFGdwGOJA8ao9d9hPNKyG69gdloVMdjXzMSZ78AqpXa65GATApuSYvak hJ9grgBJmerOahbaqoRhMlGVU2tUuIwepchaTEVywQdIsufex4wVNsdgaPWiUN86eKLb Au8vqoOOOtBl77CfRTqGXfCsbZSAUv1sgoGvzBEKiQmZF7xSuRbHwOZsxYZF3enCcf0l B7CQ==
X-Gm-Message-State: AJcUukd9n5oiOz8y7MMe8e7pUE875zCrzFZKEJNe4CTiSpqY5gAkieeH 6rG4iQ/Ohm2ctvrQra2cHRc7tHV6Wqo=
X-Google-Smtp-Source: ALg8bN5tkGtDWr2zZrwmUXiIzmkVG3sRoE/N8U+kBP5d3IeT5J37n6dcaf8I1JhETwWmHyVd6x7fJg==
X-Received: by 2002:a62:c613:: with SMTP id m19mr35176196pfg.207.1548190309090; Tue, 22 Jan 2019 12:51:49 -0800 (PST)
Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com. [209.85.215.176]) by smtp.gmail.com with ESMTPSA id v190sm22576675pfv.26.2019.01.22.12.51.48 for <mmusic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jan 2019 12:51:48 -0800 (PST)
Received: by mail-pg1-f176.google.com with SMTP id y4so11581714pgc.12 for <mmusic@ietf.org>; Tue, 22 Jan 2019 12:51:48 -0800 (PST)
X-Received: by 2002:a62:83ce:: with SMTP id h197mr34851019pfe.187.1548190307995; Tue, 22 Jan 2019 12:51:47 -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>
In-Reply-To: <HE1PR07MB3161189A6405D403F433F17293980@HE1PR07MB3161.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 22 Jan 2019 15:51:37 -0500
X-Gmail-Original-Message-ID: <CAD5OKxvNYnARbw5yvSHCeQUiSMRxQdMj9h5zUeXj+o3Nd8Kh-g@mail.gmail.com>
Message-ID: <CAD5OKxvNYnARbw5yvSHCeQUiSMRxQdMj9h5zUeXj+o3Nd8Kh-g@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Flemming Andreasen <fandreas@cisco.com>, Adam Roach <adam@nostrum.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005a556b0580122523"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/rmNwCq3vxsHG8Z8ZwtwaFZjc3k8>
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: Tue, 22 Jan 2019 20:51:53 -0000

On Tue, Jan 22, 2019 at 3:36 PM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> I think Roman requested information about what exactly has been
> implemented.
>
>
>
We have discussed this with Adam Roach off-list.

Currently both Chrome and Firefox use outdated protocol TCP/TLS/RTP/SAVPF
instead of TCP/DTLS/RTP/SAVPF which is defined in rfc7850 Section 3.5 (
https://tools.ietf.org/html/rfc7850#section-3.5).

Chromium Code Search:

https://cs.chromium.org/search/?q=TCP/DTLS/RTP/SAVPF&sq=package:chromium&type=cs

Your search - TCP/DTLS/RTP/SAVPF - did not match any documents.

https://cs.chromium.org/search/?q=TCP/TLS/RTP/SAVPF&sq=package:chromium&type=cs

src/third_party/webrtc/pc/media_session.cc
 cricket::IsDtlsRtp
    81: // Most-likely values first.
    82: return protocol == "UDP/TLS/RTP/SAVPF" || protocol ==
"TCP/TLS/RTP/SAVPF" ||
    83:        protocol == "UDP/TLS/RTP/SAVP" || protocol ==
"TCP/TLS/RTP/SAVP";

src/third_party/webrtc/pc/media_session_unittest.cc
   230: static const char* kMediaProtocolsDtls[] = {
   231:     "TCP/TLS/RTP/SAVPF", "TCP/TLS/RTP/SAVP", "UDP/TLS/RTP/SAVPF",
   232:     "UDP/TLS/RTP/SAVP"};

Firefox Code Search:

https://dxr.mozilla.org/mozilla-central/search?q=TCP%2FDTLS%2FRTP%2FSAVPF
0 results from the mozilla-central tree

https://dxr.mozilla.org/mozilla-central/search?q=TCP%2FTLS%2FRTP%2FSAVPF
media/webrtc/signaling/src/sdp/SdpMediaSection.h
57 kTcpTlsRtpSavpf,    // TCP/TLS/RTP/SAVPF [JSEP-TBD]
264 return os << "TCP/TLS/RTP/SAVPF";

media/webrtc/signaling/src/sdp/rsdparsa/src/media_type.rs
272 "TCP/TLS/RTP/SAVPF" => SdpProtocolValue::TcpTlsRtpSavpf,

media/webrtc/signaling/src/sdp/sipcc/sdp_main.c
273 {"TCP/TLS/RTP/SAVPF", sizeof("TCP/TLS/RTP/SAVPF")},

This means both Chrome and Firefox never generate SDP with
TCP/DTLS/RTP/SAVPF. In fact, neither browser currently can parse SDP with
 TCP/DTLS/RTP/SAVPF and as a result they are not compliant with JSEP 5.1.2 (
https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-25#section-5.1.2). So,
JSEP section 5.1.2 does not actually describe current implementations and
both Chrome and Firefox would need to be updated to be compliant with this
section of JSEP draft.

I would think that since both Chrome and Firefox would need to be updated
to be compliant with JSEP section 5.1.2 anyway, it should be possible to
update section 5.1.2 and clarify that it only applies to the offers during
ICE restart.

Regards,
_____________
Roman Shpount