Re: [rtcweb] Relaxing SDP O/A (was RE: Agenda requests for Atlanta meeting)

Martin Thomson <martin.thomson@gmail.com> Fri, 19 October 2012 16:26 UTC

Return-Path: <martin.thomson@gmail.com>
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 B8F0B21F83EF for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 09:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.544
X-Spam-Level:
X-Spam-Status: No, score=-3.544 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-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 chHrP6YQUyI2 for <rtcweb@ietfa.amsl.com>; Fri, 19 Oct 2012 09:26:25 -0700 (PDT)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 8C0E121F8741 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 09:26:22 -0700 (PDT)
Received: by mail-we0-f172.google.com with SMTP id u46so398254wey.31 for <rtcweb@ietf.org>; Fri, 19 Oct 2012 09:26:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/v+1BloNK/a3Yk9EPldAJsohZx7/mh+hxEou8vKsM+k=; b=lElRftkHt7Uaerk0dWSRaIjNCVlb8YkQo5eCnYMHeO0TYAzWcQJb2WxvmQynFbOqAp 4oClKkzIi+XBfEGJtJ/t38LRWPugVRKUVZckxQdg1Ve2cC81sPHrbzQeMB+WY+cVl2TD zDTCENxP39z7pjEazepmXHe7+hzzzOSXfA8Da/6gQ0u3LZY1+aWw7uZwVNGYImuDEd07 rRTvk5OU6NKTQ20uoN2e7f0b0NqQO2fJ7Db+CpaNiFdPiqnNBpvuu48oS5v8HjU4U0tN is+dOwgodAIO8eZpdM835RSC8be/1tT+Py1eV3RWfB9PBZnyOLEh1yooFw1DaTq2oWeA J36Q==
MIME-Version: 1.0
Received: by 10.216.199.166 with SMTP id x38mr1151682wen.75.1350663979792; Fri, 19 Oct 2012 09:26:19 -0700 (PDT)
Received: by 10.180.92.39 with HTTP; Fri, 19 Oct 2012 09:26:18 -0700 (PDT)
In-Reply-To: <9F33F40F6F2CD847824537F3C4E37DDF0130A402@MCHP04MSX.global-ad.net>
References: <201210182110.q9ILAq4K4836140@shell01.TheWorld.com> <5080F1E9.2050509@alvestrand.no> <5080F509.5020102@ericsson.com> <9F33F40F6F2CD847824537F3C4E37DDF0130A402@MCHP04MSX.global-ad.net>
Date: Fri, 19 Oct 2012 09:26:18 -0700
Message-ID: <CABkgnnX8zo-E9Zf_OMyvysweDbeTDy-E53=n1yvx=xA7iNUT1g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "Hutton, Andrew" <andrew.hutton@siemens-enterprise.com>
Content-Type: text/plain; charset="UTF-8"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] 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 16:26:29 -0000

On 19 October 2012 04:55, Hutton, Andrew
<andrew.hutton@siemens-enterprise.com> wrote:
> On 19 October 2012 07:37 Stefan Hakansson LK wrote:
>> [...] 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?
>
> The update to the session should not just fail. Normally in this case the answer would simple reject the one video stream and not the whole offer.

A more interesting case is where Alice decides to (attempt to) switch
codecs.  That decision might even be based on some prior knowledge of
Bob's ability to understand codecs.  Maybe Bob originally offers A and
B, but when Alice decides to upgrade from A to B, that is not a mode
that Bob supports any more.  The session should continue with A.

An answer that rejected the stream would cause an interruption to the session.

> [...] I am also thinking it would be nice if the API provided some way of cancelling an offer and reverting to the original state but if this is putting too much state back in the browser we would need a clearly documented mechanism.

Nice or necessary?  There is already a great deal of state in the browser.

I am actually interested in a small modification to the API for this
case, for outstanding offers there are actually three pieces of SDP in
play: original local description (could be offer or answer), original
remote description (answer or offer) and the new outstanding offer
(which is only ever a local description, the action can be immediate
on the answering side).  We currently have a means to get two of
these: the remote description and (I assume) the local description
that was most recently set.  We do not have a way to get the original
local description.