Re: [rtcweb] [MMUSIC] Default proto transport in JSEP
Roman Shpount <roman@telurix.com> Tue, 27 November 2018 23:46 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 21E13128CFD for <rtcweb@ietfa.amsl.com>; Tue, 27 Nov 2018 15:46:42 -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=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 wLKJ-BcT0uvf for <rtcweb@ietfa.amsl.com>; Tue, 27 Nov 2018 15:46:39 -0800 (PST)
Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 776B7130DEE for <rtcweb@ietf.org>; Tue, 27 Nov 2018 15:46:39 -0800 (PST)
Received: by mail-pf1-x434.google.com with SMTP id w73so9182212pfk.10 for <rtcweb@ietf.org>; Tue, 27 Nov 2018 15:46:39 -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=E4nMhy4EruYfBN5dPyQhH6xzNxySodXrkKbvDFLr+Xc=; b=rdsfZWkfaCJmy/cqQcgq4nzFMS2Y223p76hOsStWC8NGPeNOKCiSJbWjJ82cO3Hfgf JnJHgvguwvLYXsFew6xl/Ckg2oVjJiujUfKvZGco0Lp+rTwI9xukmRosP2h/2soHHV8U h1JfgcjljI/Y0MIGg8Sg8zj3ApW1rOZeIosP/kfT/FHOBMCyMt5IMcNYNn8JUJYgI/iH pBiZwoNU4NxIb02d1tCxEyT0vLg2niv0lehYatiQQ3cQ66HkC8oleA110AnXU8XIh65t UfYsHXCIdZWBDUmN4u8Hz8VFBPXcCkt1MAVWwz4cy1lkSoe42fP1wO4KX1xUSdipRyIs fqyw==
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=E4nMhy4EruYfBN5dPyQhH6xzNxySodXrkKbvDFLr+Xc=; b=S50wc6k2Jdz1praXEZgGS1iEYhNyhULvq1gJncgy6AcUwb7y8QQbTU3nDBlxSoFCKz 9s4wv+cYZGvUxqU8mTJ1Z/DWg/FwWNVld64nAo7jsZobQ3LKOriPMTLMWAENgrNlPFQc BwJtuEDL/N4O5oTb+v+/xkmK6NdEj2WeTejGNdNHlOODAMMfBwxG8awnZ5s1vmFPoIaK Q9XxY/rP75Posm6fFYqH2emcT2cM6q+CR3PmoXgXsLecIStE9a8Yjo/rP+4GrLG2GwJF /yxR+F6noO381+G2Aj2MLBfZZqzz65xtmafRyBZ4U/QnJMppfUJ/ZaLenvhbi2IOsBHi ze3w==
X-Gm-Message-State: AGRZ1gItLEUjfy8Bor9eD259Pm9RgugYh5PS6NPt3nRJpCBYF+ndc656 6x6ONg/g6UNc/4YN0pfEcFdr8tjNGPk=
X-Google-Smtp-Source: AJdET5eTRjNWbsWGQndCYHkB+Evdyvh/hjGf94y2+50pMSrsxiqcAmFgpa6ndd/HTZEDvwXD1w5n/w==
X-Received: by 2002:a62:19d5:: with SMTP id 204mr35159173pfz.33.1543362398836; Tue, 27 Nov 2018 15:46:38 -0800 (PST)
Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com. [209.85.215.169]) by smtp.gmail.com with ESMTPSA id s84sm12112400pfi.15.2018.11.27.15.46.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 15:46:38 -0800 (PST)
Received: by mail-pg1-f169.google.com with SMTP id w6so8597083pgl.6; Tue, 27 Nov 2018 15:46:38 -0800 (PST)
X-Received: by 2002:a63:df13:: with SMTP id u19mr31304401pgg.294.1543362397940; Tue, 27 Nov 2018 15:46:37 -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>
In-Reply-To: <54ebb208-e7b3-a0f1-6a5c-4745d3a56447@cisco.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 27 Nov 2018 18:46:26 -0500
X-Gmail-Original-Message-ID: <CAD5OKxut5Lr+Bmyc20y+vV=+_RESw+h72DYLnt3G1_BjS6sTVA@mail.gmail.com>
Message-ID: <CAD5OKxut5Lr+Bmyc20y+vV=+_RESw+h72DYLnt3G1_BjS6sTVA@mail.gmail.com>
To: lemming Andreasen <fandreas@cisco.com>
Cc: Cullen Jennings <fluffy@iii.ca>, RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007d35f3057bae0f4d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/7hcf-PvSDmSwfQ_84rG_jakrYf8>
Subject: Re: [rtcweb] [MMUSIC] 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: Tue, 27 Nov 2018 23:46:52 -0000
Hi Flemming, On Tue, Nov 27, 2018 at 6:14 PM Flemming Andreasen <fandreas@cisco.com> wrote: > It doesn't seem like this thread has reached any conclusion - how do > people suggest moving forward here ? > > During this discussion I had a chance to think about this issue quite a bit and I would suggest the following solution: As far as I can see, RFC 5245, ice-sip-sdp, jsep-25 section-5.2.2, sctp-sdp, rand fc4583bis all differentiate between initial offer/answer exchange which initiates ICE restart and subsequent offer/answer exchanges which do not. All these documents specify that UDP based m= line proto SHOULD be used during ICE restart and that proto MUST match the only ICE candidate present when not doing ICE restart. The only place that does not differentiate between the two is JSEP Section 5.1.2. This section tries to simplify things and apply the same rule to both exchanges saying that "UDP/TLS/RTP/SAVPF" proto MUST always be used. This is the root cause of the current issue. I suggest to update JSEP section 5.1.2 to match the rest of the documents to say that "UDP/TLS/RTP/SAVPF" proto MUST be used during ICE restart. When ICE restart is not in progress, "UDP/TLS/RTP/SAVPF" proto MUST be used if default (only) candidate is a UDP candidate and "TCP/TLS/RTP/SAVPF" proto MUST be used if default (only) candidate is TCP candidate. While discussing the current issue, I see that there is something that can be clarified in ice-sip-sdp and potentially in JSEP. Specifically it make sense to specify better what to do during ICE restart when UDP based proto is used in the m= line, as it is recommended, but the only candidates collected are TCP. This can happen in WebRTC implementations due to trickle ICE, if only TCP candidates are collected initially. Outside of WebRTC this can happen due to the client generating an answer being configured to collect only TCP based candidates (Microsoft ICE implementation guide lists such use case specifically). I think in such cases, if no ICE candidates match the proto in the m= line, then address IN IP4 0.0.0.0 should be used in the c= line and port 9 should be used in the m= line. This is consistent with current behavior of trickle ICE when no candidates have been collected. In any case, it looks to me that only JSEP section 5.1.2 needs to be modified to make all the current documents consistent. JSEP is already being modified to fix this issue, so I would suggest to modify it in a way that will cause the least disruption. If needed I can provide the pull request to fix this. Regards, _____________ Roman Shpount
- [rtcweb] Draft Minutes Ted Hardie
- [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Justin Uberti
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP T H Panton
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Iñaki Baz Castillo
- Re: [rtcweb] Default proto transport in JSEP Justin Uberti
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Justin Uberti
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Justin Uberti
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] Default proto transport in JSEP Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Cullen Jennings
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Flemming Andreasen
- Re: [rtcweb] [MMUSIC] Default proto transport in … Ted Hardie
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Cullen Jennings
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Adam Roach
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Justin Uberti
- Re: [rtcweb] [MMUSIC] Default proto transport in … Ted Hardie
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount
- Re: [rtcweb] [MMUSIC] Default proto transport in … Christer Holmberg
- Re: [rtcweb] [MMUSIC] Default proto transport in … Christer Holmberg
- Re: [rtcweb] [MMUSIC] Default proto transport in … Christer Holmberg
- Re: [rtcweb] [MMUSIC] Default proto transport in … Roman Shpount