[rtcweb] 答复: Some thoughts on optional audio codecs

"Lijing (Jessie, Technology Introduction & Standard and Patent Dept)" <lijing80@huawei.com> Mon, 22 July 2013 01:35 UTC

Return-Path: <lijing80@huawei.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 15E3721F85E8 for <rtcweb@ietfa.amsl.com>; Sun, 21 Jul 2013 18:35:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.147
X-Spam-Status: No, score=-6.147 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id cCSYHyx1G9XJ for <rtcweb@ietfa.amsl.com>; Sun, 21 Jul 2013 18:35:23 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com []) by ietfa.amsl.com (Postfix) with ESMTP id 0E6CA21F85D1 for <rtcweb@ietf.org>; Sun, 21 Jul 2013 18:35:22 -0700 (PDT)
Received: from (EHLO lhreml203-edg.china.huawei.com) ([]) by lhrrg02-dlp.huawei.com (MOS 4.3.5-GA FastPath queued) with ESMTP id ATQ65208; Mon, 22 Jul 2013 01:35:20 +0000 (GMT)
Received: from LHREML406-HUB.china.huawei.com ( by lhreml203-edg.huawei.com ( with Microsoft SMTP Server (TLS) id 14.1.323.7; Mon, 22 Jul 2013 02:34:56 +0100
Received: from SZXEML454-HUB.china.huawei.com ( by lhreml406-hub.china.huawei.com ( with Microsoft SMTP Server (TLS) id 14.1.323.7; Mon, 22 Jul 2013 02:35:01 +0100
Received: from szxeml558-mbs.china.huawei.com ([]) by SZXEML454-HUB.china.huawei.com ([]) with mapi id 14.01.0323.007; Mon, 22 Jul 2013 09:34:56 +0800
From: "Lijing (Jessie, Technology Introduction & Standard and Patent Dept)" <lijing80@huawei.com>
To: Bo Burman <bo.burman@ericsson.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: Some thoughts on optional audio codecs
Thread-Index: Ac6BN11IugiIgzm2TXug3PomYB8N3AFQBe5g
Date: Mon, 22 Jul 2013 01:34:55 +0000
Message-ID: <A3045C90BB645147BC99159AA47ABAC7419F610E@szxeml558-mbs.china.huawei.com>
References: <BBE9739C2C302046BD34B42713A1E2A22DEE3029@ESESSMB105.ericsson.se>
In-Reply-To: <BBE9739C2C302046BD34B42713A1E2A22DEE3029@ESESSMB105.ericsson.se>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
x-originating-ip: []
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Subject: [rtcweb] 答复: Some thoughts on optional audio codecs
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: Mon, 22 Jul 2013 01:35:31 -0000

I fully agree with the idea to " use existing "native" codecs ". 

In addition, from a web developer's perspective, in order to make use of the "native" codecs, the browser should provide codec APIs to open the local codec capabilities of the device to applications and developers. It really make sense.

Best Regards

发件人: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] 代表 Bo Burman
发送时间: 2013年7月15日 23:15
收件人: rtcweb@ietf.org
主题: [rtcweb] Some thoughts on optional audio codecs

Regarding the previous discussion on optional audio codecs in the (currently expired) draft on RTCWEB audio codecs (https://datatracker.ietf.org/doc/draft-ietf-rtcweb-audio/):

I think most parties involved in WebRTC work, myself included, hope and believe that it will be ubiquitous and easy to include real-time media conversation functionality in nearly any web context. Since it will be that easy, it can be expected that most web developers need not be, and thus will not be, media specialists or very knowledgeable about codecs.

The definition of RTCWEB MTI codecs ensures that communication is possible since at least one codec will always be found, but it is not possible to claim the resulting communication to be optimum for every possible context.

Even if WebRTC will be close to ubiquitous, there will for quite some time likely be a desire to reach real-time media domains and devices that were not originally designed for and thus are not optimized for use with WebRTC. A communication device that is not designed solely for WebRTC use will likely include functionality and codecs also for its "native" domain.

Any added cost of not being able to use existing "native" codecs will vary both in amount and where the cost has to be taken. Eliminating it is indeed an optimization, but the total cost savings may still be significant.

With the current design and to my understanding, it will be the browser vendor's choice to add optional codecs, including any "native" domain codecs.  The choice may possibly be delegated to individual web developers making use of WebRTC functionality. A browser vendor will arguably have to know each target platform to some extent, but it can hardly be assumed that a web developer knows the capabilities of all devices that will use the WebRTC-enabled site unless the browser can provide the needed information. There is a risk that "native" codecs in devices are not well handled, unless the motivations and methods to make use of them are better specified.

While any audio codecs besides the MTI ones are clearly optional, I believe the suggested text addition on optional audio codecs to the RTCWEB audio draft in Ticket #12 (http://trac.tools.ietf.org/wg/rtcweb/trac/ticket/12#) to be too brief considering the above.

In that draft, I would prefer something more in line with:

"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".

Assuming that the browser vendor (or web developer) is sufficiently concerned with codecs to read the audio codecs draft (or the corresponding RFC to-be), the above text may, as a start, give some added guidance why non-MTI codecs may be desirable to consider in addition to the MTI ones.


Multimedia Technologies
Ericsson Research
Färögatan 6
SE-164 80, Kista, Sweden
rtcweb mailing list