Re: [MMUSIC] Please Read and Comment: Re: ICE SDP/JSEP peace accords

Roman Shpount <roman@telurix.com> Tue, 22 January 2019 21:15 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 50A111310FC for <mmusic@ietfa.amsl.com>; Tue, 22 Jan 2019 13:15:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.03
X-Spam-Level:
X-Spam-Status: No, score=-2.03 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.142, 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=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 nsR9Zeypnnnn for <mmusic@ietfa.amsl.com>; Tue, 22 Jan 2019 13:15:58 -0800 (PST)
Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 12B851310F8 for <mmusic@ietf.org>; Tue, 22 Jan 2019 13:15:58 -0800 (PST)
Received: by mail-pf1-x433.google.com with SMTP id i12so12374756pfo.7 for <mmusic@ietf.org>; Tue, 22 Jan 2019 13:15:58 -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=b31xlkglf7VIPHkcgx5awm7rhbOmcnqVrFNfsjbEs3g=; b=RD/YL4UxvRAnN5w99YDZlwsA1jHLccluYAEjd5Yc1JtFt4N2kOhT83MxmGK5iPeMKm eUycL+qOxlqArVpBxgqEcTBrBfdPI5I1fBz8tfsSMfw70qC0y4LgCXubT651Fed7+Vab gvz9VzSsQT0UDXZmhh/g/HvToaUEkkg9XMuMsfHPc0dmFcyGTd7RYsGIl+gvFNkbvQ9R yTsJROCBkwiE4zg0kSSlze7jdAammN25acFYuSWQ80ro1VoKIlx7hq2iJhSo5JPLszQE 1h7+Pia6EAfFYkJvmbthmjVrMrEkF8yP2enbNzOqlsGb+Pcq6dKnlnz+SClUTwuEJY9l CpfA==
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=b31xlkglf7VIPHkcgx5awm7rhbOmcnqVrFNfsjbEs3g=; b=CCHEcdsfY3/UNP9M7FPTUQv82/+/TwNUNpws9Id2bQ5xkqNfnvzLgXsGZVXA7ggZRz qRG98eoBrjIeFdCZVwL9uavY6SB7g99Z5M7lUFK9sKeQouRDwKt3Rsow67MBBp9hXH/b SqDLx9iTDPCfJAyutlWNoSso6eAn4AUUCfh2zu0+qEgsCjDE3dUYIBbD8PUZ0/RZROud I3Zsy0xilvLS8tQGbeGY3eG7YsQlPb4+TF3lTmD6Wce3ITM9f0Rrl8QN5uCT7IJsbOMX Ux4cAUUH5cWBhIlZafR30D/iojQWVh/TwTNM6Yi9fahfHrPSaAPIHZ31fV+VqwanBnrX RleA==
X-Gm-Message-State: AJcUuketCq27Xee1y1r0IS0l89Pt3ayu8ZXZm9Euy1UedqAyi/P8aI8K MrVnOExqdySoVbwavgi3OWeSJKuBHmA=
X-Google-Smtp-Source: ALg8bN6Q9PFcAgCe6T0jMr2Oq+o/JPrUoSvViWifC/Sf6/c4aQWuM7rXzSqyWVz3WYKES6nKDozUyQ==
X-Received: by 2002:a62:ca9c:: with SMTP id y28mr34894912pfk.236.1548191757506; Tue, 22 Jan 2019 13:15:57 -0800 (PST)
Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com. [209.85.210.179]) by smtp.gmail.com with ESMTPSA id t3sm89329pfa.50.2019.01.22.13.15.56 for <mmusic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jan 2019 13:15:56 -0800 (PST)
Received: by mail-pf1-f179.google.com with SMTP id g62so12363725pfd.12 for <mmusic@ietf.org>; Tue, 22 Jan 2019 13:15:56 -0800 (PST)
X-Received: by 2002:a62:83ce:: with SMTP id h197mr34924326pfe.187.1548191755835; Tue, 22 Jan 2019 13:15:55 -0800 (PST)
MIME-Version: 1.0
References: <0454609c-ce69-80d4-93d8-f89bc8ba897e@nostrum.com> <CAD5OKxu1bPDU_snQ=H7RwVgPKW_hKJY1Nj7g82vTpJ+gorPrYQ@mail.gmail.com> <f279e997-0236-b78c-e555-5189d9818ef2@nostrum.com> <9B6124BE-E369-4327-B759-77DB0ED8A484@ericsson.com> <6f42b5c5-72f0-8d6a-c68d-d19da7d94353@cisco.com> <HE1PR07MB3161189A6405D403F433F17293980@HE1PR07MB3161.eurprd07.prod.outlook.com> <CAD5OKxvNYnARbw5yvSHCeQUiSMRxQdMj9h5zUeXj+o3Nd8Kh-g@mail.gmail.com> <3e17ec5d-e6b2-5d38-e206-2ed7b8b9c690@nostrum.com>
In-Reply-To: <3e17ec5d-e6b2-5d38-e206-2ed7b8b9c690@nostrum.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 22 Jan 2019 16:15:45 -0500
X-Gmail-Original-Message-ID: <CAD5OKxtzxOfE9O-G5tQ1C_sg8LHQBxpNATJi_ee-UVcp0gdb2w@mail.gmail.com>
Message-ID: <CAD5OKxtzxOfE9O-G5tQ1C_sg8LHQBxpNATJi_ee-UVcp0gdb2w@mail.gmail.com>
To: Adam Roach <adam@nostrum.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, Flemming Andreasen <fandreas@cisco.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a69e3b0580127b22"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/FqEsuk0pGpHkUnOiYewO5--cylQ>
Subject: Re: [MMUSIC] Please Read and Comment: Re: ICE SDP/JSEP peace accords
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: Tue, 22 Jan 2019 21:15:59 -0000

On Tue, Jan 22, 2019 at 4:04 PM Adam Roach <adam@nostrum.com> wrote:

> In terms of current offer-generation behavior, I had an brief exchange
> with the Chrome folks; the offers it generates *always* indicate its
> preferred (default) candidate in the m=/o= line, regardless of the
> candidate in use. Since the preferred candidate will always be UDP, the
> transport is always sent as UDP/TLS/RTP/SAVPF.
>
>
Just to clarify, there is no argument that preferred (default) candidate
should be used in the m=/o= line.

When ICE restart is initiated, UDP based candidate must be present (or in
case of trickle ICE eventually added), used as a default candidate, thus
UDP based protocol must be used in the m= line in both offer and answer.

The issue is the offer generated when ICE restart is not initiated and TCP
candidate is currently nominated. TCP candidate is the only candidate which
is present in both offer and answer. It is also the default candidate. No
UDP candidate will be added it any point during the offer/answer exchange.
Both end points support TCP protocol, since TCP candidate was already
successfully nominated. In  this case, according to RFC5245 abd
ice-sip-sdp, TCP protocol must be used in the m= line in both offer and
answer. JSEP is trying to change this to use UDP based protocol even though
default candidate is TCP.

Regards,
_____________
Roman Shpount