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

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 02 March 2016 16:32 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 B22C81B2C0D for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 08:32:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] 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 xpaiZbwLxB8D for <mmusic@ietfa.amsl.com>; Wed, 2 Mar 2016 08:32:14 -0800 (PST)
Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68E4F1B2C0C for <mmusic@ietf.org>; Wed, 2 Mar 2016 08:32:14 -0800 (PST)
Received: from resomta-ch2-16v.sys.comcast.net ([69.252.207.112]) by resqmta-ch2-08v.sys.comcast.net with comcast id R4Vq1s00A2S2Q5R014YDVK; Wed, 02 Mar 2016 16:32:13 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154]) by resomta-ch2-16v.sys.comcast.net with comcast id R4YD1s0043KdFy1014YDhM; Wed, 02 Mar 2016 16:32:13 +0000
To: Roman Shpount <roman@telurix.com>
References: <7594FB04B1934943A5C02806D1A2204B37E425AB@ESESSMB209.ericsson.se> <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> <CAD5OKxtt2w=RB6FvsHwWeWBb1mSF7pO2+hBZM2VtgKAin846uw@mail.gmail.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <56D7158B.4060104@alum.mit.edu>
Date: Wed, 02 Mar 2016 11:32:11 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <CAD5OKxtt2w=RB6FvsHwWeWBb1mSF7pO2+hBZM2VtgKAin846uw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1456936333; bh=dYvLtSjm32CjMBYm13SxnPW8qaaU34xz7Ha+EdvumJw=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=YOCX0SohMk42U/5Kuml2HT/xycSIGZLvQcUx237oTjzWj2zHFD+Rn1UrsLSYbi1wI naHdu7kxvpHgbLGKgYRcAD4asmGQxuV27j9tW8aZbpk6huEVvIl/MUCzCk1pxlIarE qEJxseFklHykMqppe1GFctSdvlDiY7SJIpQUP2O5K+OHf+jq4IWeJwRJCWXohBignX S7nZVAGXy5b6cor4a6feGF7/A3nEBWn1O4GPxFKwdEj0hSYDkTH8T31c7SJCe2SkYX Qh4Fv5WytV5Nrdp0kQfY4cNp53gAMysBaSdM2NWHH/G9RvGrMAGiSOsdzcUtjydc89 Czo1jhw4xohDA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/PqLyypm5cUq9FEsls_HSzy6lv_0>
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:32:15 -0000

On 3/2/16 11:02 AM, Roman Shpount wrote:
> On Wed, Mar 2, 2016 at 10:43 AM, Paul Kyzivat <pkyzivat@alum.mit.edu
> <mailto: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.

I agree with you, at least in principle.

The question is: how much of this do we need to deal with in a normative 
way? At some point we may want to simply expect the implementer to avoid 
shooting himself in the foot.

	Thanks,
	Paul