Re: [rtcweb] I-D Action: draft-ietf-rtcweb-audio-02.txt

Roman Shpount <roman@telurix.com> Tue, 10 September 2013 16:54 UTC

Return-Path: <roman@telurix.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 E0BEB21E8178 for <rtcweb@ietfa.amsl.com>; Tue, 10 Sep 2013 09:54:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 ODjgjM1WPpsq for <rtcweb@ietfa.amsl.com>; Tue, 10 Sep 2013 09:54:45 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by ietfa.amsl.com (Postfix) with ESMTP id DAFCD21E815F for <rtcweb@ietf.org>; Tue, 10 Sep 2013 09:54:44 -0700 (PDT)
Received: by mail-wi0-f178.google.com with SMTP id hn9so1017081wib.17 for <rtcweb@ietf.org>; Tue, 10 Sep 2013 09:54:44 -0700 (PDT)
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:date :message-id:subject:from:to:cc:content-type; bh=y419gDRNdm+JQecwpPT/g1AzWMzasyfaEp5duc55na4=; b=izSeZahAwqdw8o8eNpJqTkYcxk8FHlbV9VEgNELV58+Rspys2KNtbVLJ+eIokPmmyi 8qN4IwyyNoXcNYuf4U1BXSJ8N52eIjEl1P1agFivkrwDNulnWgi3NVJFp5Os3QpPbNcq CgZ1JU6xGhBtoW8VmG1sgZ4/TtdNrN9TFvQKLs7+yFoOJX9rBNCu3wGJ9yRMEjUGbhuF nzvZdUCLY1DLk9gxpJ/irKYnMLBtDKANaeM6myNVO319F+Szj6QDUyZ9Kg2xip3IgAZ4 FcpOSNWTVO5aD/q0P0xoLL4kLhBAf5KTkccZO1rX5Z3l+GfD4m6DcmErRQ5QjL+Pq+60 vlBw==
X-Gm-Message-State: ALoCoQlhtdac5AqYLjtdbpCxrsZ3TIa+2LProYTf+pdSqwHmFnykz2j0PvZFBpd0u+ZjvddkT7e9
X-Received: by 10.194.9.33 with SMTP id w1mr2634836wja.47.1378832083937; Tue, 10 Sep 2013 09:54:43 -0700 (PDT)
Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [2a00:1450:400c:c00::236]) by mx.google.com with ESMTPSA id ey2sm4812854wib.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 09:54:43 -0700 (PDT)
Received: by mail-wg0-f54.google.com with SMTP id e11so5897785wgh.9 for <rtcweb@ietf.org>; Tue, 10 Sep 2013 09:54:42 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.222.2 with SMTP id qi2mr18533854wjc.14.1378832082507; Tue, 10 Sep 2013 09:54:42 -0700 (PDT)
Received: by 10.216.26.1 with HTTP; Tue, 10 Sep 2013 09:54:42 -0700 (PDT)
In-Reply-To: <522F4836.6030001@mozilla.com>
References: <20130802162957.17108.79281.idtracker@ietfa.amsl.com> <BBE9739C2C302046BD34B42713A1E2A22DF83C31@ESESSMB105.ericsson.se> <3879D71E758A7E4AA99A35DD8D41D3D91D5260A2@xmb-rcd-x14.cisco.com> <56C2F665D49E0341B9DF5938005ACDF80E8A65@DEMUMBX005.nsn-intra.net> <BBE9739C2C302046BD34B42713A1E2A22DF88232@ESESSMB105.ericsson.se> <CAGgHUiSK-bZrdXtxf-An8NM+pw-iqoWCrsG_bRUpxcD2DOCQrQ@mail.gmail.com> <3879D71E758A7E4AA99A35DD8D41D3D91D5265C8@xmb-rcd-x14.cisco.com> <522F4836.6030001@mozilla.com>
Date: Tue, 10 Sep 2013 12:54:42 -0400
Message-ID: <CAD5OKxv2Tm+5+KKgvu=YVTN769k5ncq8+HNeBgXk8Qb5s6rGag@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Jean-Marc Valin <jmvalin@mozilla.com>
Content-Type: multipart/alternative; boundary="001a11c278147ba2a304e60a5c9a"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] I-D Action: draft-ietf-rtcweb-audio-02.txt
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: Tue, 10 Sep 2013 16:54:50 -0000

On Tue, Sep 10, 2013 at 12:26 PM, Jean-Marc Valin <jmvalin@mozilla.com>wrote:

> > To ensure a baseline level of interoperability between WebRTC
> > clients, a minimum set of required codecs are specified below.
> > If other suitable audio codecs are available to the browser to use,
> > it is RECOMMENDED that they are also included in the offer in order
> > to maximize the possibility to establish the session without the need
> > for audio transcoding.
>
> Let's look at the practical effect here, assuming people were to
> actually follow such a recommendation. The only audio codecs that are
> implemented in browsers but not available for WebRTC are the ones used
> for HTML5. According to http://html5test.com/ these codecs are Vorbis,
> MP3, AAC, and uncompressed PCM. These are the codecs that would be
> recommended under such text. None of them is really ideal for
> interactive audio, none of them is implemented in old phones AFAIK, but
> all of them would require time and effort to add to a browser's RTP
> stack. I really don't see the point here.
>
>
My biggest problem with the recommendation text is "other suitable audio
codecs are available to the browser to use". Jean-Marc's comment underlines
the problem. His interpretation is that this refers to codecs already
implemented in the browser. Another interpretation is that this refers to
codecs already implemented in the underlying OS or platform, such as AMR-WB
or H.264. Yet another interpretation implies codecs with no associated
patents, such as G.722 or G.726. Yet another interpretation is that implies
codecs with patent licenses which allows free implementation such as iLBC
or iSAC. What is the intent here? With so many interpretations this
language is completely useless.

I think original intent was to encourage browser implementers to add
support for G.722, AMR and AMR-WB if available in underlying platform, and
H.264, if available in underlying platform or browser. In this regards this
language fails completely. Don't you think it would be better to state
exactly what the intent is and provide the language when implementation of
each of those codecs is not required (meaning if additional license fees
will need to be paid or due to incompatible licensing policy).
_____________
Roman Shpount