Re: [MMUSIC] Offer/Answer PT Questions - text proposal

Roman Shpount <roman@telurix.com> Wed, 02 March 2016 16:03 UTC

Return-Path: <roman@telurix.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B786F1B2BA5 for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 08:03:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 Etels7cDHNGU for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 08:03:24 -0800 (PST)
Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (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 35A6C1B2BC9 for <mmusic@ietf.org>; Wed, 2 Mar 2016 08:02:59 -0800 (PST)
Received: by mail-io0-x22b.google.com with SMTP id l127so264219589iof.3 for <mmusic@ietf.org>; Wed, 02 Mar 2016 08:02:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=uYbj8hWbRQb11FiO1dm3hBL1LDvwHm1tgQ64k/0FUvM=; b=Ja5QWvrZaWtFE1ptKkXGCcD1RYNT1KK96Lj4y/9xmnhKU7U4SY1HL91WE3xlgcvq2L TkvmWqwAJV5l3hqB//smyIVTfctnCs74yYEqdJr6HHY/e/lPbStM08tPsSrLld7GC+/h 47hXw0qe/KCA64gCexQSzRUVzI+RgD3EvBMItEytrsQGVgLD0Q2aWBDtJsK6LwilFSed J0PnNzbk2niBxmevB8+ysV3uUj7XT1O82oEAEWTTX4XWghLNFofImJmcU35AFbw6yS1h MBOtKboenlrXCHj/gRPWZPGKfdPyWKC72F6qc1Hs4yOL7+1SEJyYvvkbBREHBFVpT+0D PZGQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=uYbj8hWbRQb11FiO1dm3hBL1LDvwHm1tgQ64k/0FUvM=; b=i7ZYyzfN2HSNsxxjj8GzoH67jH/Erj1z4e1v8hMQRg+GDn/pP6Jy54ePYaKC1P4e2Y /gfnFjOyloPyVhow3vbvzqi6SqHxkpsob5Eg94av1Vr9oN8bGsGQAqtbMkI9oX1HUtSU pSZk8z21E6ISlazO0DtdrXkCTU/SOnqiJs1JBN+hN4xiSDOL0DQ2TAkooqtxmp3JszSh sZn23KVcYW4+lJfelFgKAXox5F53pInfEaqQAmeprXmewa0/2En8X6Maazc2BnTMlHk3 Z71BrA4eTPxNErXzaX10o5M2Tw22kzvqLuXTt6hR0yq/W953C+wSGuxN2kW8/Ezxj8sn tg0w==
X-Gm-Message-State: AG10YOR/xi0Gh0zoqpNPWvYxg0qdHMk0MKtpoE6LuqQB4UqJZSIyVoTtdmv/vlZp4tQWHw==
X-Received: by 10.107.159.148 with SMTP id i142mr28669004ioe.29.1456934578622; Wed, 02 Mar 2016 08:02:58 -0800 (PST)
Received: from mail-io0-f172.google.com (mail-io0-f172.google.com. [209.85.223.172]) by smtp.gmail.com with ESMTPSA id z84sm14914833ioi.39.2016.03.02.08.02.56 for <mmusic@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2016 08:02:56 -0800 (PST)
Received: by mail-io0-f172.google.com with SMTP id l127so264218081iof.3 for <mmusic@ietf.org>; Wed, 02 Mar 2016 08:02:56 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.107.157.70 with SMTP id g67mr28195735ioe.38.1456934576016; Wed, 02 Mar 2016 08:02:56 -0800 (PST)
Received: by 10.36.105.77 with HTTP; Wed, 2 Mar 2016 08:02:55 -0800 (PST)
In-Reply-To: <56D70A1E.4020108@alum.mit.edu>
References: <7594FB04B1934943A5C02806D1A2204B37E425AB@ESESSMB209.ericsson.se> <56D1CA6C.70700@alum.mit.edu> <CAD5OKxt5jp44Saop+ssdPENBsRBNbkFUXFphZHMwqYDFLNWFpg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37E4BD38@ESESSMB209.ericsson.se> <56D463A3.8070007@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4D5E9@ESESSMB209.ericsson.se> <56D4B1F1.2070706@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4D951@ESESSMB209.ericsson.se> <66F2264B-3CA3-4650-88B6-89FC64D5FD29@csperkins.org> <7594FB04B1934943A5C02806D1A2204B37E4DB7C@ESESSMB209.ericsson.se> <56D4C0F5.50901@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E4EAD1@ESESSMB209.ericsson.se> <56D5CAA0.2060901@alum.mit.edu> <CAD5OKxtdmhW-opmp2TQou5wYbz70FdUvftr1PAZb9YiW4crevA@mail.gmail.com> <56D5E81F.2040306@alum.mit.edu> <CAD5OKxtXzhP9L-V6O5NVtCN4aQHy9X8Fpkc0_xKdWmtR03h4KQ@mail.gmail.com> <56D5EE38.2060706@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E5401A@ESESSMB209.ericsson.se> <56D70A1E.4020108@alum.mit.edu>
Date: Wed, 02 Mar 2016 11:02:55 -0500
X-Gmail-Original-Message-ID: <CAD5OKxtt2w=RB6FvsHwWeWBb1mSF7pO2+hBZM2VtgKAin846uw@mail.gmail.com>
Message-ID: <CAD5OKxtt2w=RB6FvsHwWeWBb1mSF7pO2+hBZM2VtgKAin846uw@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: multipart/alternative; boundary="001a1140b472dd78bd052d130368"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/XEBxQ22jNHrZic5dzeQRN2Fpd38>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] Offer/Answer PT Questions - text proposal
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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, 02 Mar 2016 16:03:26 -0000

On Wed, Mar 2, 2016 at 10:43 AM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:

> On 3/2/16 9:47 AM, Christer Holmberg wrote:
>
>> *If* it is really the case that there is no relationship between O/A and
>>> the lifetime of RTP sessions, then
>>> we have some work to do to sort out what the relationship is between
>>> what is in the O/A and what is in the RTP session.
>>>
>>> IIUC, in the case where the is no RTP session prior an offer, the O/A
>>> must at least establish some initial PT bindings for the session-to-be.
>>>
>>> (I have a feeling that what we are discussing is quite fundamental, and
>>> I find it shocking if it hasn't been considered in the past.)
>>>
>>
>> I still don't get it... :)
>>
>> When you negotiate an SDP session, unless you use BUNDLE, each m- line is
>> associated with a different RTP session. You negotiate what PT bindings you
>> are going to use within that SDP session.
>>
>> If some SDP properties change - due to a RTP session change or whatever
>> else - then a new O/A exchange is obviously needed. Nothing new about that.
>>
>> But, as has been indicated, the change of RTP session does not
>> automatically mandate new PT bindings, so I don't see why we need to
>> consider RTP sessions when we talk about PT bindings.
>>
>
> The problem is that we have two goals that in some cases seem to conflict.
>
> On one hand you want to manage O/A state. For the most part that includes
> the results of the most recent successful O/A exchange (the resulting local
> and remote SDP), and possibly another offer that is in progress. But based
> on 3264 it also seems to include, for each m-line, all the PT bindings ever
> made for the duration of this O/A session.
>
> OTOH, it seems to be necessary for the PT bindings for an m-line to be
> consistent with the PT bindings of the RTP session currently in effect for
> that m-line. If that RTP session can change arbitrarily, then it
> potentially can be replaced by one that is inconsistent with the PT
> bindings of the O/A session.
>
> Somehow that inconsistency needs to be resolved.
>

The problem is that if you have multiple O/A exchanges happening in rapid
succession, you can get RTP packets for any of the previous O/A exchanges.
This means you can have a new RTP session being set up for any of the
recent O/A exchanges. Unless you have an additional way to demultiplex,
such as using a different local transport, ssrc or mid, you will need to
map the received RTP packet to a particular O/A exchange. The only way left
is PT.

In reality this means you need to track last successful O/A, O/A in
progress, and all the successful O/A exchanges that completed recently for
which it is still possible to receive RTP packets. In most cases, O/A
exchange typically takes a lot longer then media flow setup, so that you
can limit the history to  last successful O/A and O/A in progress. On the
other hand, if ICE with TURN and DTLS are used, you can have multiple RTP
session setups in progress when corresponding O/A exchanges have already
completed.
_____________
Roman Shpount