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

Harald Alvestrand <harald@alvestrand.no> Fri, 19 October 2012 09:24 UTC

Return-Path: <harald@alvestrand.no>
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 3C42D21F8698 for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 02:24:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level:
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 YHdUNVPnoVAZ for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 02:24:02 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id B36A421F8444 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 02:23:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id 51BB339E106 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 11:23:57 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ERDAUezXBwQG for <rtcweb@ietf.org>; Fri, 19 Oct 2012 11:23:56 +0200 (CEST)
Received: from [10.130.0.147] (4.234.241.83.in-addr.dgcsystems.net [83.241.234.4]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id 7DDB239E020 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 11:23:56 +0200 (CEST)
Message-ID: <50811C2B.9080906@alvestrand.no>
Date: Fri, 19 Oct 2012 11:23:55 +0200
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <201210182110.q9ILAq4K4836140@shell01.TheWorld.com> <5080F1E9.2050509@alvestrand.no> <5080F509.5020102@ericsson.com>
In-Reply-To: <5080F509.5020102@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [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 09:24:03 -0000

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"....)