Re: [rtcweb] Consensus vs. Voting (was Re: Call for Consensus Regarding Selecting Recommended Audio Codecs)

Burger Eric <eburger@cs.georgetown.edu> Thu, 17 January 2013 13:17 UTC

Return-Path: <eburger@cs.georgetown.edu>
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 2049B21F8868 for <rtcweb@ietfa.amsl.com>; Thu, 17 Jan 2013 05:17:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level:
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RaQRWJyqobu3 for <rtcweb@ietfa.amsl.com>; Thu, 17 Jan 2013 05:17:28 -0800 (PST)
Received: from karma.cs.georgetown.edu (karma.cs.georgetown.edu [141.161.20.3]) by ietfa.amsl.com (Postfix) with ESMTP id 451E521F8846 for <rtcweb@ietf.org>; Thu, 17 Jan 2013 05:17:28 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by karma.cs.georgetown.edu (Postfix) with ESMTP id 8264242D74 for <rtcweb@ietf.org>; Thu, 17 Jan 2013 08:17:27 -0500 (EST)
X-Virus-Scanned: by amavisd-new at cs.georgetown.edu
Received: from karma.cs.georgetown.edu ([127.0.0.1]) by localhost (karma.cs.georgetown.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7wFIWF4OjzBf for <rtcweb@ietf.org>; Thu, 17 Jan 2013 08:17:25 -0500 (EST)
Received: from [192.168.15.177] (ip68-100-199-8.dc.dc.cox.net [68.100.199.8]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by karma.cs.georgetown.edu (Postfix) with ESMTP id A4E114134E for <rtcweb@ietf.org>; Thu, 17 Jan 2013 08:17:25 -0500 (EST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Burger Eric <eburger@cs.georgetown.edu>
In-Reply-To: <50F7F920.2010403@ericsson.com>
Date: Thu, 17 Jan 2013 08:17:29 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <5DCD8270-4DBD-413F-961F-3BFA20686A60@cs.georgetown.edu>
References: <50D2CC6A.4090500@ericsson.com> <6515_1357907583_50F0067F_6515_1738_1_2842AD9A45C83B44B57635FD4831E60A0747CC@PEXCVZYM14.corporate.adroot.infra.ftgroup> <BLU0-SMTP880A602A311CE05C9DC39FD0290@phx.gbl> <A26C56D5-C501-4823-8099-62AF7910B8A4@ntt-at.com> <580BEA5E3B99744AB1F5BFF5E9A3C67D16813E56EC@HE111648.emea1.cds.t-internal.com> <50F41D97.1030508@nostrum.com> <CAD5OKxtsWMfAV=K4sM+zLXoyVCgihwujH2gG9ziA5GuEtsU0sQ@mail.gmail.com> <50F43ACA.80206@nostrum.com> <CAD5OKxug2qB+Xi_cp87Lt7BiPwJ1Eq1rNuioj+zDZFf=RRckPw@mail.gmail.com> <50F44AF0.4060304@nostrum.com> <CAD5OKxs7Ueto0k-5TWnQtgb+Pocp-SSu3ctr3qFs5qrcPgMtkQ@mail.gmail.com> <50F4619F.7040208@nostrum.com> <CAD5OKxu3_JJ3zS8hCeG-nHM72t=0j--ihUR8E5NvL9--wmmnEA@mail.gmail.com> <7CBFD4609D19C043A4AC4FD8381C6E2602386636@DEMUEXC014.nsn-intra.net> <50F5A74C.3030203@nostrum.com> <CABkgnnXRcFHj4gi6WEDDqU+S-adnjd91wQW4bL2S6pO8YtzE3w@mail.gmail.com> <CAD5OKxsz1AqsDG4_cZhGxbLbzmBYeYcqexbCR1LCe7Ecx0PQ9w@mail.gmail.com> <50F7F920.20104 03@ericsson.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
X-Mailer: Apple Mail (2.1499)
Subject: Re: [rtcweb] Consensus vs. Voting (was Re: Call for Consensus Regarding Selecting Recommended 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: Thu, 17 Jan 2013 13:17:29 -0000

So the argument here is the cost to the user is USD 0.0000001/call instead of USD 0.00000001/call?

On Jan 17, 2013, at 8:14 AM, Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com> wrote:

> On 2013-01-17 11:31, Roman Shpount wrote:
>> 
>> On Wed, Jan 16, 2013 at 7:03 PM, Martin Thomson
>> <martin.thomson@gmail.com <mailto:martin.thomson@gmail.com>> wrote:
>> 
>>    If we don't say "webrtc implementations SHOULD implement
>>    G.722/AMR/AMR-WB", what is the failure mode for your application?
>>    Keeping in mind that - because this isn't 2119 MUST - you have to
>>    expect that some non-negligible proportion of clients will not support
>>    this no matter how much extra ink we using in printing large letters,
>>    how much pain does this really cause you?
>> 
>>    I expect that the transcoding costs are what this come down to.  Does
>>    anyone care to quantify this?
>> 
>> 
>> If common codecs are not implemented in the browser this would mean
>> transcoding will need to be performed on some sort of server-side media
>> gateway. There are three distinct issues we need to take into account
>> when dealing with transcoding. I would list them in what, at least from
>> my point of view, is the order of importance:
>> 
>> 1. If you need to do trancoding, you will need to implement a jitter
>> buffer on the transcoding media gateway. ICE processing and SRTP
>> en/decoding can be performed on out of order packets as they are
>> received. You cannot transcode out of order audio. This means audio
>> packets would need to be delayed by the jitter buffer size. In cases of
>> good internet connection this means 40 ms jitter buffer delay. In cases
>> of consumer internet in US (somebody sitting on a DSL connection at home
>> behind a WiFi router) you are typically looking at 60-80 ms jitter
>> buffer delay. If you are dealing with international internet connections
>> jitter of 150 ms to 200 ms is not unheard of. This means an additional
>> delay due to jitter buffering of 40 ms (best case) to 200 ms. This is in
>> addition to any other delays that are already present on the audio path.
>> Adding an extra 100 ms of delay can make audio conversions very awkward
>> or unusable. On the other hand, if the gateway were performing just ICE
>> and SRTP, it would introduce 1-2 ms of delay at most (In this case I am
>> talking about a software based implementation running on generic server
>> hardware. A dedicated DSP solution would probably be even faster).
>> 
>> 2. Audio artifacts due to transcoding. Apart from usual audio
>> degradation due to transcoding (OPUS transcoded to AMR would sound worse
>> then OPUS or AMR), we would also deal with double packet loss
>> concealment. Media gateway will conceal lost packets when transcoding.
>> Client will conceal lost packet received from the gateway. This would
>> actually sound worse then PLC performed in one place.
>> 
>> 3. Scalability of the transcoding gateway. Gateway which just deals with
>> ICE processing and SRTP en/decoding can handle from 2000 to 10000
>> concurrent call when running on a generic server CPU (different
>> scalability is due to differences in CPU performance and presence of AES
>> specific instructions). Gateway that would do G.722 to OPUS transcoding
>> would most likely handle from 500 to 1000 concurrent calls. We are
>> looking at 10x difference in performance. If we need to transcode AMR to
>> OPUS the difference would be even higher. This translates in 10x
>> difference in hardware, data center, power, and operations costs.
> 
> This was a good summary. I'm mostly concerned with the quality degradations experienced by the end user and less about the cost (on the other hand, I guess this would in the end hit the end users as well).
> 
> I think having a 'SHOULD' for a few additional codecs would reduce the number of end users impacted by the degradations (and cost) mentioned, and I think that would make a lot of sense.
> 
> Stefan
> 
>> _____________
>> Roman Shpount
>> 
>> 
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>> 
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb