Re: [MMUSIC] Default proto transport in JSEP

Justin Uberti <juberti@google.com> Mon, 19 November 2018 18:35 UTC

Return-Path: <juberti@google.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 E3433130DED for <mmusic@ietfa.amsl.com>; Mon, 19 Nov 2018 10:35:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.501
X-Spam-Level:
X-Spam-Status: No, score=-17.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 WwIgCLeJdXRU for <mmusic@ietfa.amsl.com>; Mon, 19 Nov 2018 10:35:05 -0800 (PST)
Received: from mail-it1-x12e.google.com (mail-it1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 E6C0B130DEE for <mmusic@ietf.org>; Mon, 19 Nov 2018 10:35:04 -0800 (PST)
Received: by mail-it1-x12e.google.com with SMTP id h193so8440447ita.5 for <mmusic@ietf.org>; Mon, 19 Nov 2018 10:35:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=57OGVqd2vPNy10zz28LFXN3FQP+tTv9yzKd78YLuUXU=; b=MC0P2TQHQN/qiEIvXJrRWF+NsYyk90+1zKm6waxkNE+KRwhMBE70KhpwwAsoJtfiob eiGM4LPSPH3KCasymTkySIMrV86qvys9/fv/jr5AdyvfRZpGeDYU4JdaMFH2BIRBkWoj Sya9f1plL0Ls4L8h+lIQm63KQ3/RBGv8GhbbOkdC0AkFIFSDHfWyoWAwp3Ihs9JrJEk5 uMxZgvFB0hC3i6AHrRALcKvsTP7lyu/fGXaOI6AraL784re84072tSNUpYoyt7VBOrIP kBQtlBSV8FH/1X8aSpxRDMQaXj/aV4BZE9YaqDVS8hepIWFOdKDWpJqv+DNvINsxYgcX r+LQ==
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=57OGVqd2vPNy10zz28LFXN3FQP+tTv9yzKd78YLuUXU=; b=MjwgrAkNh1Dku79n4WNJHhQ7+3P160B2LbXCcaQTHTOYI5vJT+ReqBO+U7Gfu3mi4K 5rkucGuVdQHJLZzuOxPqCVr0TjB3AsEQetMfC+p7GEbD6V35NJRLkWnnOPUiRrSTRdmJ tab7/QmbaTdx+JcvrWlFVbUe5NoVkbCf0RomHjZw2OPBLptkxTw2OTGdHORXrQ/BMaKe COTXWNaN0oH+6xSSsA8RBuqvm3e9rjg/ny8HRfQqHJHacsEGBSeZ3lx8Z/zXb4TEIw+K uKanguc5nLQRikrysjqOTjdZaEXaztW5jk/kW9oD7BB5y1xt0/RXSTabBQBiYbHzYe2D aoNA==
X-Gm-Message-State: AGRZ1gKz7dN3HXX+4AIgBsdUE2b39eAfL2Xln54gonV5mGnoVi3FobUM lOLD9AhTaPR/rsenu5x+GmhFgVH1YSybDaUDZ8PbmA==
X-Google-Smtp-Source: AJdET5fa4HDz1yRBCNmtkGIWvVOCePuug4F7m52UjSOX2q227xhD53yf25D+RcilTCOxSJpAFVDwUyCCaIm31Rs46kA=
X-Received: by 2002:a24:738f:: with SMTP id y137mr7872577itb.136.1542652503916; Mon, 19 Nov 2018 10:35:03 -0800 (PST)
MIME-Version: 1.0
References: <CA+9kkMADnZJBaV0hfLuwGU0bGBEP5tCPZ=8Zd_85Dgzi37ghAQ@mail.gmail.com> <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com>
In-Reply-To: <CAD5OKxsNFFmER__H0+5Mzts58yn9cWLMEADhSnLR4nreKD9WAQ@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 19 Nov 2018 10:34:51 -0800
Message-ID: <CAOJ7v-1KPsrVzsOm4VoVA5MUD3+fRtwzoeX-K3AMwp5P7yh86A@mail.gmail.com>
To: Roman Shpount <roman@telurix.com>
Cc: RTCWeb IETF <rtcweb@ietf.org>, mmusic@ietf.org
Content-Type: multipart/alternative; boundary="000000000000826c7b057b08c6fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/z4pX5Z6xD5V-BnC-2xAOURQgtIk>
Subject: Re: [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:35:09 -0000

IIRC, one reason JSEP chose the behavior described is because
5245-compliant implementations would declare an ICE mismatch if we used a
bogus address/port in the c=/m= lines. Is this not a problem?

On Mon, Nov 19, 2018 at 10:28 AM Roman Shpount <roman@telurix.com> wrote:

> 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
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic
>