Re: [rtcweb] On the meaning of b=

Justin Uberti <juberti@google.com> Thu, 13 November 2014 19:18 UTC

Return-Path: <juberti@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 917F81ACD2E for <rtcweb@ietfa.amsl.com>; Thu, 13 Nov 2014 11:18:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.972
X-Spam-Level:
X-Spam-Status: No, score=-1.972 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L32d_yfbKgsQ for <rtcweb@ietfa.amsl.com>; Thu, 13 Nov 2014 11:18:38 -0800 (PST)
Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C8661ACD39 for <rtcweb@ietf.org>; Thu, 13 Nov 2014 11:10:26 -0800 (PST)
Received: by mail-vc0-f171.google.com with SMTP id id10so3879406vcb.30 for <rtcweb@ietf.org>; Thu, 13 Nov 2014 11:10:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xuu6GLhRcAxbXwUJsND0Rlhczw70/MHRFGcwMzXlPYs=; b=lBUmq/iIJF4mYF9Kc8Dp6y7RsR8U2FEtLduG+QFBWJ6g0SyI+2oPJ55OAwblZNCCES NWHRp0xyqU3hzsruy1IPHSGmr5r7rIWmbF9de3PqQug6vVOibs+FbxG0c3hF7EaTvbcA hNIZ27eJKFCeYqcb8mBEUmUu5qBkvI3KRajucTMTJ8MquMfoRI4klFBY9LNhMPHOnA6F nyIRAm9KFB3+8hZpITamkDLSry4X6+NpLPc6jCMbwmiJov/9p1sideYssCLX6XA1g2iM /piKN4ch3bTHFOMyBBC28TUm26OL4d9n5AiCBn/PqRf0+D45iXogxDSSr8iXcFwj10mC POEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=xuu6GLhRcAxbXwUJsND0Rlhczw70/MHRFGcwMzXlPYs=; b=GvrfUV3ZNAC/8nYghEIFhRHX6nyE5o7i/rb/ybcz0bsy8TlzlpSOkow3aKkp0PI8hb Y7Q8lvyMxonbOKreWGSM/RC5mq8PFtp/t39TvwoS5zxX9G4IQZYCznNP9iUGg8lPl+2z IbATCjyGNCi+XLxRPYtUz7YZ5PzUx9gYur3QPmHEKFc+rZG6FRfzirBQ2QLodMpBcnHv Bhcy7vHl+9kn+rX0blrM8v1qHEEQQfX/Sh9pMJmJtEPwE/YxoKjnqDJ+Mbnx/1bhwITE Kx1uGajqg5WDxPpDQjKc0tmS+oHtDr3CLJRkNMXGQUOCtNtKzG2YUvChmRuGxU3THxIQ /qjg==
X-Gm-Message-State: ALoCoQn84Var7/EyV8H6AHPYjxe9H9HP9R3WdqG1y4x3n5kqhGd3ILLxHbr32aIzgnDoWk0/O6fN
X-Received: by 10.220.195.132 with SMTP id ec4mr3463022vcb.16.1415905823959; Thu, 13 Nov 2014 11:10:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.52.237.130 with HTTP; Thu, 13 Nov 2014 11:10:03 -0800 (PST)
In-Reply-To: <5464E10A.6040403@jesup.org>
References: <CAOJ7v-2poGbe4B2zL5qpVWT7PPy_wSX8YAdwBESni9jXQLKgPQ@mail.gmail.com> <5464E10A.6040403@jesup.org>
From: Justin Uberti <juberti@google.com>
Date: Thu, 13 Nov 2014 11:10:03 -0800
Message-ID: <CAOJ7v-1O3OyAqKB5oYOVOEYgcfAyE=GPQ5gxCVpftg2yD18xFA@mail.gmail.com>
To: Randell Jesup <randell-ietf@jesup.org>, Suhas Nandakumar <suhasietf@gmail.com>
Content-Type: multipart/alternative; boundary="001a11c1ba98ac4f520507c24317"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/DG_CbOLbmtQG2VQ6NzaMPsEayKI
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] On the meaning of b=
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 13 Nov 2014 19:18:40 -0000

+Suhas as FYI

Thanks. That's pretty clear.

On Thu, Nov 13, 2014 at 8:49 AM, Randell Jesup <randell-ietf@jesup.org>
wrote:

> On 11/13/2014 12:20 AM, Justin Uberti wrote:
>
>> Following up on the JSEP discussion on b= from Monday:
>>
>> Does anyone know whether b= in an offer represents the value the offerer
>> wants to send, or receive? http://tools.ietf.org/html/
>> draft-ietf-mmusic-sdp-mux-attributes-04#section-6.3 seems to indicate
>> it's a send declaration, but I was previously under the impression that it
>> represents the amount to be received. RFC 4566 is ambiguous on the matter [
>> http://tools.ietf.org/html/rfc4566#section-5.8].
>>
>
> SDP is a description, but really we want to look at Offer-Answer.
>
> In rfc 3264 section 6.1:
>
>    The answerer MAY include a bandwidth attribute for any media stream;
>    this indicates the bandwidth that the answerer would like the offerer
>    to use when sending media.  The value of zero is allowed, interpreted
>    as described in Section 5.
>
>
> and section 7:
>
>    The offerer SHOULD send media according to the value of any ptime and
>    bandwidth attribute in the answer.
>
>
> So, barring explicit instruction elsewhere for a b= type, those are
> receiver preferences.  This matches something I found out many years ago
> (likely in AVT archives somewhere) after I had presumed they were "amount I
> plan to send" (since I had a config for that, I hooked it up to b= as it
> wasn't clear in the SDP spec alone).  Later when I actually started caring
> about b= (TIAS, etc), I found the error.
>
> --
> Randell Jesup -- rjesup a t mozilla d o t com
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>