Re: [rtcweb] Handling a partially-useful offer (Re: Relaxing SDP O/A (was RE: Agenda requests for Atlanta meeting))

Paul Kyzivat <pkyzivat@alum.mit.edu> Fri, 19 October 2012 15:02 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 A782E21F86E9 for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 08:02:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.379
X-Spam-Level:
X-Spam-Status: No, score=-0.379 tagged_above=-999 required=5 tests=[AWL=0.058, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hi+OuD+Irqxo for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 08:02:23 -0700 (PDT)
Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:212]) by ietfa.amsl.com (Postfix) with ESMTP id 057F121F86E8 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 08:02:21 -0700 (PDT)
Received: from omta24.westchester.pa.mail.comcast.net ([76.96.62.76]) by qmta14.westchester.pa.mail.comcast.net with comcast id D2aZ1k0011ei1Bg5E32S45; Fri, 19 Oct 2012 15:02:26 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta24.westchester.pa.mail.comcast.net with comcast id D32L1k00f3ZTu2S3k32MVX; Fri, 19 Oct 2012 15:02:21 +0000
Message-ID: <50816B7B.3080205@alum.mit.edu>
Date: Fri, 19 Oct 2012 11:02:19 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <201210182110.q9ILAq4K4836140@shell01.TheWorld.com> <5080F1E9.2050509@alvestrand.no> <5080F509.5020102@ericsson.com> <50811C2B.9080906@alvestrand.no>
In-Reply-To: <50811C2B.9080906@alvestrand.no>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [rtcweb] Handling a partially-useful offer (Re: Relaxing SDP O/A (was RE: Agenda requests for Atlanta meeting))
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Fri, 19 Oct 2012 15:02:23 -0000

On 10/19/12 5:23 AM, Harald Alvestrand wrote:
> Forking thread, since this is a new topic....
>
> On 10/19/2012 08:36 AM, Stefan Hakansson LK wrote:
>> On 10/19/2012 08:23 AM, Harald Alvestrand wrote:
>>> On 10/18/2012 11:10 PM, Dale R. Worley wrote:
>>>>> From: Harald Alvestrand <harald@alvestrand.no>
>>>>>
>>>>> But the API never forces the application to send an offer; sending or
>>>>> not sending an offer is strictly the application's responsibility.
>>>> Is the API able to report that the far end has rejected the offer?
>>> The concept of "the far end" (application far end, not RTP far end) and
>>> "reject" are application-level concepts, not API-level concepts.
>>> So in the context of the API, I can't parse the question.
>>>
>>> The API can report that it was handed an SDP blob it couldn't use.
>>
>> One discussion I think we've not had yet is the granularity the API
>> could report "can't use this SDP blob" on. Say that a new offer (in on
>> ongoing sessions) was received indicating the addition of two audio
>> and two video tracks (from Alice to Bob). What if Bob's browser could
>> decode both audio tracks but has resources to handle only one of the
>> video tracks, should it be able to tell so (perhaps with the result
>> that two audio and one video track was added)? Or should the update of
>> the session just fail?
>
> This seems to be something that should be happening to SIP endpoints too.
>
> I can imagine either answering with capabilities reduced to reflect what
> could be handled, accepting the offer followed by generating a new offer
> of reduced capabilities, or rejecting the offer.
>
> What is existing practice in this area? (I would not be surprised if it
> was "it depends"....)

Andy just talked about this.

The existing practice in sip is that the answerer will accept that part 
of the offer that it understands and is willing to use, and refuses the 
rest - by setting the port number to zero in the m-lines it can't/won't 
support.

	Thanks,
	Paul