[rtcweb] 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: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 562EB130DE3 for <rtcweb@ietfa.amsl.com>; Mon, 19 Nov 2018 10:28:40 -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=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 n7fd76q-Y1KN for <rtcweb@ietfa.amsl.com>; Mon, 19 Nov 2018 10:28:38 -0800 (PST)
Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (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 81058130E48 for <rtcweb@ietf.org>; Mon, 19 Nov 2018 10:28:36 -0800 (PST)
Received: by mail-pf1-x42e.google.com with SMTP id u6so2790428pfh.11 for <rtcweb@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=uEgGL4bNx7l9B866xNVVuXtLSYKdPuRwtG5Hx+yIzYkHbZCIewGHkDTlJw7nbifNfk CjtsqKOCO5Qxdmsful7UrV1+4W0AWz4DWBUBN0CVfauGL+Xr2t7QbRzowlbC7mdoREuZ NB1DOu0xc00nGnAX8CLe7FPGUcTFqiIncpICcWrsdSeAtOwlCPRmooy2lHJ1fKibRV8v Gy7nt7PiMJhgN3USgCaDCLaSI9PsEwhhF4dMMxoKttlrlOo7IiaZyvjCv6obLWJCTxzs TUZZknOx7XsHA1DHI+cmlnei4I1o7wUP557eqA3owxzY9rZkH+Cil3aDKw7vPQMiMvfi PlsA==
X-Gm-Message-State: AGRZ1gLrsvpUNT5gEr9WaJxqbdfPBijDHWMkYFbyygO3m7m6hOY0WKUJ kUKWwvAoXRG248m4rXUY4xRibErVM68=
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/rtcweb/Fur2_qSZLSu8mZ1aUpSYsmvL85M>
Subject: [rtcweb] Default proto transport in JSEP
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-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