[MMUSIC] Default proto transport in JSEP

Roman Shpount <roman@telurix.com> Mon, 19 November 2018 18:28 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 CD98F130DEA for <mmusic@ietfa.amsl.com>; Mon, 19 Nov 2018 10:28:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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 AQ5DuUW85cQB for <mmusic@ietfa.amsl.com>; Mon, 19 Nov 2018 10:28:37 -0800 (PST)
Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 45FBF130EA1 for <mmusic@ietf.org>; Mon, 19 Nov 2018 10:28:36 -0800 (PST)
Received: by mail-pf1-x431.google.com with SMTP id 64so10774435pfr.9 for <mmusic@ietf.org>; Mon, 19 Nov 2018 10:28:36 -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; bh=nRypopvRlXySpyyaqY0sIiJYKISpucuoAr0RKxxy8tI=; b=Ft0QaSVDIW7URVmHFkPnPQVvKTo0ao4UvIRGo5G5K+n2rGOY5E6rpVXiIlooBj49RV 6+Snb8iHNVg+VB0lDdTXsZeRgnied4yGFfd2VOQ8lPKMpDcbN7VX2khRwx1y8qfYvQ0p oYmYiXbjgkzI3KElyLO0NXZyULPhgC/76L+DjmeEdaraEt1jjwgT9NfFFxWK/faTHWWw OXaP41fbg9+jrK6SIRB6s+dQUQ9dYhc/HtHZVLwToJSdvKkmkUWKn9iC8n1/bs4TW78n bzh+XQzMLOpBlUGGUeba8dSvjDlv8QbpZV9+Zuebwyj+5eCZ1U6btHOxtnvlYPuhVk8G 8uWA==
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; bh=nRypopvRlXySpyyaqY0sIiJYKISpucuoAr0RKxxy8tI=; b=ZHJGdaekdFdZG0eYA/Qlz2mDoy1gEVFoNsPvEnk9+r5hLTnUDJwrqPIRA4DxT84Z/U SY4GSxpCegC4vdK8/ntCHFoT8Fgbwzjm4Dl3kr3c/WhA6ZRWO6VWJksNSGjgVTouOADF ka7YrV/OLbnaLmT80hu/fk9J/4iGx8SQQAgDQbfjqLmq+2BF0ACQFwl4kawbrxI2baK3 1PYt+FRUpcI3F98fYjZv2ygWHBWCbl/7BWLULA2blfsOainFNJBHgGpv7pN7DQ6PMzVK fFWqUS6sRVAZ/caftIgtDbCbDBDJecNmwua4Vf+Ei5JkeqnZzfsg1+LKAmLsjyx/gEGm N43g==
X-Gm-Message-State: AGRZ1gLTxyWsfUdydO1L09Wda81WyI3QtBgPn+U6oglPfc3fthVYuZBH BDiltdkHY/mjl4jWzgXW8aoL2A==
X-Google-Smtp-Source: AJdET5ejDRyTRH8BANY/gdwSZCfAnynwPMYeyH+LgERzWZ+IZwQxQDcDJZwTJk8tlYEjXXW5JsvMNw==
X-Received: by 2002:a63:9749:: with SMTP id d9mr20670830pgo.415.1542652115837; Mon, 19 Nov 2018 10:28:35 -0800 (PST)
Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com. [209.85.215.172]) by smtp.gmail.com with ESMTPSA id u76-v6sm60016442pfa.176.2018.11.19.10.28.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 10:28:35 -0800 (PST)
Received: by mail-pg1-f172.google.com with SMTP id w6so1934040pgl.6; Mon, 19 Nov 2018 10:28:34 -0800 (PST)
X-Received: by 2002:a62:83ce:: with SMTP id h197mr11805586pfe.187.1542652114640; Mon, 19 Nov 2018 10:28:34 -0800 (PST)
MIME-Version: 1.0
References: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com>
In-Reply-To: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Mon, 19 Nov 2018 13:28:23 -0500
X-Gmail-Original-Message-ID: <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com>
Message-ID: <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com>
To: RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004e246e057b08af5f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/mNUEInCvI1Mf2mpOM16MX-09UA4>
Subject: [MMUSIC] 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: Mon, 19 Nov 2018 18:28:40 -0000

Hi All,

The current language in JSEP makes it incompatible with any ICE
implementation, either existing or the future ones compliant with
ice-sip-sdp draft. You can, of course, overwrite ice-sip-sdp, but this will
mean JSEP will be a completely incompatible system.

The problem is that JSEP proposes to use UDP protocol in the m= line and at
the same time update address and port to the currently selected candidate.
Based on ice-sip-sdp, if protocol of the current selected candidate does
not match protocol in the m= line, this will mean either ICE mismatch or
additional candidate with protocol, address, and port form m= and c= line.

Second, ice-sip-sdp treats SDP during ICE restart, when multiple candidates
are present different from SDP when ICE is not restarted (single
candidate). According to ice-sip-sdp, when only a single candidate is
present, this candidate protocol, address and port are set in m= and c=
line. JSEP proposes to put original UDP protocol and address and port from
the single candidate.

To be specific, it is not the fact that protocol in m= line is not updated
is an issue. It is that protocol in not updated but address and port in m=
and c= line are updated. In the ice-sip-sdp draft there is a solution for
this issue -- set address to IN IP4 0.0.0.0 and port to 9. This is
specifically supposed to be ignored and not cause the ICE mismatch or extra
candidates. If JSEP wants to overwrite ice-sip-sdp, it can specify that m-
line protocol should always be set to UDP based protocol, c= line address
should be set to   IN IP4 0.0.0.0 and m= line port set to 9. In case of an
ICE only system where c= and m= line address information is irrelevant,
this makes implementation simpler since m= and c= line address information
can stay constant for the duration of the session.

Regards,
_____________
Roman Shpount