Re: [rtcweb] Proposed Plan for Usage of SDP and RTP - Lower level API minus SDP

Harald Alvestrand <harald@alvestrand.no> Fri, 08 March 2013 06:01 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 5F2D021F866F for <rtcweb@ietfa.amsl.com>; Thu, 7 Mar 2013 22:01:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.355
X-Spam-Level:
X-Spam-Status: No, score=-110.355 tagged_above=-999 required=5 tests=[AWL=0.243, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 oAmPkTXjc47h for <rtcweb@ietfa.amsl.com>; Thu, 7 Mar 2013 22:01:24 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id DBFDE21F8648 for <rtcweb@ietf.org>; Thu, 7 Mar 2013 22:01:23 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id DFA4E39E0FA for <rtcweb@ietf.org>; Fri, 8 Mar 2013 07:01:22 +0100 (CET)
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 ERvchOu+EdPD for <rtcweb@ietf.org>; Fri, 8 Mar 2013 07:01:22 +0100 (CET)
Received: from [172.16.38.196] (unknown [74.125.121.33]) by eikenes.alvestrand.no (Postfix) with ESMTPSA id CFE4339E0F3 for <rtcweb@ietf.org>; Fri, 8 Mar 2013 07:01:21 +0100 (CET)
Message-ID: <51397EB0.8060309@alvestrand.no>
Date: Fri, 08 Mar 2013 07:01:20 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CD5D3F35.B22B%robin@hookflash.com> <B9549E2E-6E68-4F34-A9C0-1F050285A70A@acmepacket.com> <CABkgnnXCio-Dw7dN5yfSjeRf3wG2oWow_M2mU-Y49TedSAPQmg@mail.gmail.com> <CAHBDyN6CFTix3W9qWgC1T0O36t4SajL3hMXaHOdkat-p5TY_xA@mail.gmail.com> <CABcZeBMLdEkFZq5rMOY0texKb4DtFQ-O86JkC17kJihxv6Dj8w@mail.gmail.com> <CAHBDyN6mM-rT315uSbeTQfKuCiVwsEDhi7Q6DEbt8pjiJ_4i6g@mail.gmail.com> <CAHp8n2nz=NZb=UaevUSS7GRSBpvn-v9_=QHz6iddnZzyx5-TSQ@mail.gmail.com> <CAJrXDUETwfY7ZvaXO_1Bq8gs8pOTgALQE8FiimrUX7sfuEpDsw@mail.gmail.com> <CAHp8n2kcEHcz11LOYYMZ3-nv2PYQKu=z6M=dsQ_H5JuR8ND7hQ@mail.gmail.com> <513930C8.6050900@mozilla.com> <CAHp8n2kWgpthrMB4tR3Mvz7szPk7JskZJBsWZS9KZt6VES_1kw@mail.gmail.com>
In-Reply-To: <CAHp8n2kWgpthrMB4tR3Mvz7szPk7JskZJBsWZS9KZt6VES_1kw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------050709020004080708080902"
Subject: Re: [rtcweb] Proposed Plan for Usage of SDP and RTP - Lower level API minus SDP
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, 08 Mar 2013 06:01:25 -0000

On 03/08/2013 03:56 AM, Silvia Pfeiffer wrote:
> On Fri, Mar 8, 2013 at 11:28 AM, Timothy B. Terriberry 
> <tterriberry@mozilla.com <mailto:tterriberry@mozilla.com>> wrote:
>
>     Silvia Pfeiffer wrote:
>
>         For example: the programmer wants to say - I want to get this
>         video
>         resolution, this audio bitrate & channels, I want to use this
>         camera and
>         this microphone for this call. Having to manipulate SDP
>         directly for
>         this is a programmer's nightmare.
>
>
>     I would like to point out that the currently proposed W3C APIs do
>     not require (or even allow) SDP manipulation for _any_ of this,
>     with the possible exception of audio bitrate (which, as we've long
>     discussed, should actually be adapted in real-time based on
>     available bandwidth as determined by congestion control, with some
>     app-provided way to set priorities that will _not_ be based on
>     SDP... the number in SDP merely defines the limits of what's
>     possible).
>
>
> Is there any way for the Web developer to influence the negotiation 
> of, say, the video resolution? For example, if the video is displayed 
> in a 160x120 video element, then it makes no sense to receive anything 
> larger than that resolution. I was under the impression that this 
> would have to be done through manipulating SDP?

See draft-alvestrand-constraints-resolution for 3 ways of doing this, 2 
of which have no SDP manipulation.

I think SDP manipulation is the messiest of the 3; the first one (out of 
band messaging) can be used on Chrome today when creating video streams. 
(We won't implement changing of constraints until we have an agreed-upon 
API; there are enough other things that need doing that we can wait 
until there's text in the spec before starting to implement it.)