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

Roman Shpount <roman@telurix.com> Wed, 28 November 2018 19:50 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 8A547130FBE for <mmusic@ietfa.amsl.com>; Wed, 28 Nov 2018 11:50:25 -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 JVz6LgrhiTOF for <mmusic@ietfa.amsl.com>; Wed, 28 Nov 2018 11:50:22 -0800 (PST)
Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (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 5B6D8130E14 for <mmusic@ietf.org>; Wed, 28 Nov 2018 11:50:22 -0800 (PST)
Received: by mail-pf1-x42b.google.com with SMTP id c73so10659708pfe.13 for <mmusic@ietf.org>; Wed, 28 Nov 2018 11:50:22 -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=bP2dV194ccrdauawcnoCOgNqP0BSnGYDfpb0AuF8q2E=; b=CqJDvWvLGA3VPaNAbH7o529xXD5rEDzug70RqJYnKThW/FADV+FPwSX8GCQ5bX/Ymo Lrv1ESG0PLDuR9K17P23ijPA+msmjge0LroUhlhVg9eAjJ8ey0DUY+Fmahj36k6M0eZx C+TxPuU5sj8koAr7UE4HsY60epXyBW2aZlWHwmtp7RmmaIBHsyl4os2PEnbmFskn028d Zimjf2FW0zZEQXM+wWZXecNPbeEomMsu/jxhBSIoEuvroOcOcZ4CwAteBpeiW7StjZU+ HDQJLwX4DE4OFStTe4FsJHof0bo+Vd2VQzj5Wz2UH1QSyac0c1Kt0ZKdJRXpkuF+wDAr rghw==
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=bP2dV194ccrdauawcnoCOgNqP0BSnGYDfpb0AuF8q2E=; b=Uu7FKfaI9bTcyl3LijFBwHjZgtauAAUKeqmuDpzX84rWiYPr3hjNkYwwMFaQjk2aBz rxuwmTso19LikXenNLnuD6WmriNq366scTeazDWp/gcCFKIDzAq+97KUCgOGLUO63hoa nz9X5s6oL52kzKDFMtLFm55n5jD/M8Q2C4jHT+6GlxvjYjXgRxhlfE/AVo3mHphD6gxv m4W7VIcVMs11fpPOGK5+uk8g/+OYAHe1qltqS7u8J/FHdmlNTfinz3/zuUCGGjpYT66V ckybvNzCPvILiPf6jUrBygiCK+Cg6rFnnWnCgEid17nIwk6ffvmaDd0Z5k8vYO/QJ9iL i+rQ==
X-Gm-Message-State: AGRZ1gIZyIocBeWdRs9r4o5/vDnatGbY/7aQYeZD+aUUman4qIsrQ2ZN 8rdSmjENcNokSSnGjZWa3PnB5A==
X-Google-Smtp-Source: AJdET5fTD7aZ8Y7dVBkVzrjK6eZRAXOuHeT1yQJWfrg+AO+jBbAZiAQnZ4uriPm0PCoWtfR6G+3OyQ==
X-Received: by 2002:a62:2e46:: with SMTP id u67mr38214023pfu.3.1543434621853; Wed, 28 Nov 2018 11:50:21 -0800 (PST)
Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com. [209.85.214.173]) by smtp.gmail.com with ESMTPSA id 128sm13022642pfu.129.2018.11.28.11.50.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 11:50:20 -0800 (PST)
Received: by mail-pl1-f173.google.com with SMTP id x21-v6so17875669pln.9; Wed, 28 Nov 2018 11:50:20 -0800 (PST)
X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr38757038plb.55.1543434620502; Wed, 28 Nov 2018 11:50:20 -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> <CAD5OKxtKOLovNCi0cJiEiHD+M3tCda7ZSecU8EJKxVPuFs7maQ@mail.gmail.com> <CAOJ7v-1m7WeOmjKOZUc7yms7Kw6Pnt-JKKjSioY0TQfpbehFZw@mail.gmail.com>
In-Reply-To: <CAOJ7v-1m7WeOmjKOZUc7yms7Kw6Pnt-JKKjSioY0TQfpbehFZw@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Wed, 28 Nov 2018 14:50:09 -0500
X-Gmail-Original-Message-ID: <CAD5OKxucM+1LZpQJz4XfodJGxqVvqnkG1iw4r5zBTEM3RRD4nw@mail.gmail.com>
Message-ID: <CAD5OKxucM+1LZpQJz4XfodJGxqVvqnkG1iw4r5zBTEM3RRD4nw@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
Cc: Adam Roach - SIPCORE Chair <adam@nostrum.com>, RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004a094f057bbee037"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/c9eUBqjNoRhXv87U9U_yU3b_o1A>
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 19:50:26 -0000

On Wed, Nov 28, 2018 at 1:59 PM Justin Uberti <juberti@google.com> wrote:

> Regarding the current conflict between 5.1.2 and 5.2.2, this is discussed
> in https://github.com/rtcweb-wg/jsep/issues/854, and the editor team
> concluded that 5.2.2 should be brought in line with 5.1.2 by removing the
> need to match the protocol field. I think this change is important to make
> to avoid future confusion.
>
> This conclusion was a result of reviewing the prior discussion in
> https://mailarchive.ietf.org/arch/msg/mmusic/gR-dYY1GzN3fIA_XlHiX-bB6nLM,
> where this topic was previously litigated. That email thread concluded with
> the message in
> https://mailarchive.ietf.org/arch/msg/mmusic/p6AFDGqbNm57P6s1cN2ZOUUDj2U,
> where Roman seemed to be in agreement with the proposal.
>

The discussion you are referring to was about the initial ICE offer/answer
exchange. I agree that during offer/answer exchange which initiate ICE
restart, only UDP based protocols should be used in the m= line. For me,
this is what section 5.1.2 describes. When ice-sip-sdp and related
documents (sctp-sdp and fc4583bis) were written, this logic was slightly
"fine tuned" for offer/answer exchanges which do not initiate ICE restart.
For these exchanges, it was decided to use the protocol of the only ICE
candidate pair present. This was important for backwards compatibility with
RFC 5245, especially when signaling agent monitors values in c= and m=
lines and actually cares about the address and protocol used there.  This
is what JSEP section 5.2.2 is describing and what you want to change. I
agree this is not extremely important for JSEP use cases, but unlikely to
change in ice-sip-sdp, since it is important there. Because of this, we are
going to end up with two specifications, and ICE implementations, which are
slightly different for no reason. As an implementer, this is an extra
"flag" I need to set when instantiating my ICE library.

Second part of the problem for me are the values of address and port in the
c= and m= line when no candidates in session description match the protocol
in the m= line. I do not think it was discussed anywhere except during
trickle ICE, where it was specified to set c= to IN IP4 0.0.0.0 and m= line
port to 9 when no candidates are present. If this can be extended to the
case when ICE candidates are present but do not match the proto in the m=
line, I would be happy since this will prevent ICE mismatch with
ice-sip-sdp compliant implementations. If you do not want to update JSEP to
do this, it can be added in ice-sip-sdp. Just please do not put something
in JSEP which will force it to update c= and m= line with address and port
of mismatching candidate.

Regards,
_____________
Roman Shpount