Re: [rtcweb] Making progress on the signaling discussion (NB: Action items enclosed!)

Tim Panton <tim@phonefromhere.com> Wed, 05 October 2011 13:22 UTC

Return-Path: <tim@phonefromhere.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 71C9521F8A7A for <rtcweb@ietfa.amsl.com>; Wed, 5 Oct 2011 06:22:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.349
X-Spam-Level:
X-Spam-Status: No, score=-2.349 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XICACQV515+O for <rtcweb@ietfa.amsl.com>; Wed, 5 Oct 2011 06:22:21 -0700 (PDT)
Received: from zimbra.westhawk.co.uk (zimbra.westhawk.co.uk [192.67.4.167]) by ietfa.amsl.com (Postfix) with ESMTP id EAF3421F8A6C for <rtcweb@ietf.org>; Wed, 5 Oct 2011 06:22:20 -0700 (PDT)
Received: from [192.168.0.14] (unknown [93.89.81.113]) by zimbra.westhawk.co.uk (Postfix) with ESMTP id 78B7437A903; Wed, 5 Oct 2011 14:38:11 +0100 (BST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="iso-8859-1"
From: Tim Panton <tim@phonefromhere.com>
In-Reply-To: <4E8C52D3.70007@ericsson.com>
Date: Wed, 05 Oct 2011 14:25:17 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <9567D766-8633-4446-9F07-318B1F45117D@phonefromhere.com>
References: <CA+9kkMBi9BzDu=WOq3RG-o5nbfnUTftDg3LRBU3DFh=Kc4W5ZQ@mail.gmail.com> <CALiegfmYgQ+yb=pDp1J2_PVa1SkxTOuaUCM02Vt6-iGabwif1g@mail.gmail.com> <CA+9kkMCUTiPO3eASjn0mbRA9YCF6TMmGGOjQ4NkVkvzVMN39Gg@mail.gmail.com> <CALiegfnx=qoS_pqyC45WVEYEFqj-3eP9g_kyhAUaOO6He_UEfw@mail.gmail.com> <91623260-6A12-4737-8BA9-4D6B60FCD389@phonefromhere.com> <4E8C52D3.70007@ericsson.com>
To: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
X-Mailer: Apple Mail (2.1084)
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Making progress on the signaling discussion (NB: Action items enclosed!)
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: Wed, 05 Oct 2011 13:22:21 -0000

On 5 Oct 2011, at 13:51, Stefan Håkansson LK wrote:

> On 2011-10-05 12:03, Tim Panton wrote:
>> It seems to me that by calling WebRTC.SDP.answerFor() - getting the
>> native code
>> to do the 'compatibility matching' you've lost quite a lot of influence
>> over the selection process.
>> Lets say this is a conference app on an android phone - and lets say
>> that the phone supports
>> h 261, h263 and h264 but only has hardware accel for h264....
> 
> To me it seems that the browser (at least the one integrated by the device manufacturer) has a much greater chance of knowing what codecs are HW accelerated than the application - or do you expect a large database where device, version, OS-version, browser, browser version etc. is stored?

I'd expect the app to be able to query the browser - possibly a 'cpu cost' field returned in the list of supported codecs ...

> 
> My preference would rather be that the app hints (as Tim proposed in <http://lists.w3.org/Archives/Public/public-webrtc/2011Oct/0004.html>), the browser proposes (by some kind of offer where the codecs are listed in preference order). If the offers are available to the application (for transport to the other end) it can override it there are objections.

Which to my mind is putting the cart before the horse. The app (as the representative of the user) should take the lead here, not be reduced to
vetoing offers from the all-knowing browser. I know it is largely a philosophical difference, but I think we risk being stuck in a mindset derived from
a world where the core had no access to the user and there was only a single application, so the switch had to do the best it could without any
other input.

Tim.