Re: [rtcweb] Call for Consensus Regarding Selecting Recommended Audio Codecs

Hadriel Kaplan <HKaplan@acmepacket.com> Sat, 19 January 2013 20:09 UTC

Return-Path: <btv1==73173e7f7d1==HKaplan@acmepacket.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 BC3FA21F8472 for <rtcweb@ietfa.amsl.com>; Sat, 19 Jan 2013 12:09:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.518
X-Spam-Level:
X-Spam-Status: No, score=-2.518 tagged_above=-999 required=5 tests=[AWL=0.081, BAYES_00=-2.599]
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 mu1lhgVP2vOB for <rtcweb@ietfa.amsl.com>; Sat, 19 Jan 2013 12:09:07 -0800 (PST)
Received: from mx1.acmepacket.com (mx1.acmepacket.com [216.41.24.33]) by ietfa.amsl.com (Postfix) with ESMTP id 2A88421F8449 for <rtcweb@ietf.org>; Sat, 19 Jan 2013 12:09:06 -0800 (PST)
X-ASG-Debug-ID: 1358626145-03fc200e92dec920001-4f8tJD
Received: from Mail1.acmepacket.com (mail1.acmepacket.com [10.0.0.21]) by mx1.acmepacket.com with ESMTP id v1ERgcNJM2rCVWdv (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO); Sat, 19 Jan 2013 15:09:05 -0500 (EST)
X-Barracuda-Envelope-From: HKaplan@acmepacket.com
Received: from MAIL2.acmepacket.com ([169.254.2.67]) by Mail1.acmepacket.com ([169.254.1.214]) with mapi id 14.02.0283.003; Sat, 19 Jan 2013 15:09:04 -0500
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: Tim Panton <tim@phonefromhere.com>
Thread-Topic: [rtcweb] Call for Consensus Regarding Selecting Recommended Audio Codecs
X-ASG-Orig-Subj: Re: [rtcweb] Call for Consensus Regarding Selecting Recommended Audio Codecs
Thread-Index: AQHN9oDTMnJJYh519k2qtBiddTGTvQ==
Date: Sat, 19 Jan 2013 20:09:03 +0000
Message-ID: <7C539609-8D49-4C81-9236-071CC077EBE8@acmepacket.com>
References: <50D2CC6A.4090500@ericsson.com> <24103_1358435764_50F815B4_24103_9252_1_2842AD9A45C83B44B57635FD4831E60A076013@PEXCVZYM14.corporate.adroot.infra.ftgroup> <CAA79oD=kqbfHq9DCsVu06NPvcF=MxaGguNi-Tu5P-bXQxZPcAg@mail.gmail.com> <BBF5DDFE515C3946BC18D733B20DAD2338CF2F26@XMB104ADS.rim.net> <9F33F40F6F2CD847824537F3C4E37DDF013BD3C3@MCHP04MSX.global-ad.net> <B1E46FFE-7F62-4A10-AF80-FAC406BF428A@phonefromhere.com>
In-Reply-To: <B1E46FFE-7F62-4A10-AF80-FAC406BF428A@phonefromhere.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [216.41.24.34]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <690B4AF6A220A84895134BBA6EEA38B5@acmepacket.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Barracuda-Connect: mail1.acmepacket.com[10.0.0.21]
X-Barracuda-Start-Time: 1358626145
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://spam.acmepacket.com:8000/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at acmepacket.com
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.120324 Rule breakdown below pts rule name description ---- ---------------------- --------------------------------------------------
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] 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: Sat, 19 Jan 2013 20:41:34 -0000

On Jan 18, 2013, at 11:43 AM, Tim Panton <tim@phonefromhere.com> wrote:
> 
> Just for clarity, lets make that 
> "If other suitable audio codecs are available to the browser to use it
> is beneficial that they are also included in the offer but at a lower priority than the MTI codecs
> in order to maximize the possibility to establish the session without the need for
> audio transcoding"

Umm... but then two endpoints both implementing a better non-MTI codec would pick the MTI one instead of the better one.

Generally you don't need to muck with the order to get transcoder-free operation - as long as both sides support at least one common one, they'll pick it if they follow the preference rules in RFC 3264.  That's because the gateway in the middle will usually add the additional codecs it can transcode for, later in the SDP m-line preference order (ie, make them lower preference in the offer).[1]

-hadriel
[1] I say "usually" because of course this is not always the case, because sometimes they change the pref order for other reasons; nor is it the case that gateways in the middle always add codecs for transcoding, but rather sometimes they let the INVITE fail first and then re-send it with additional codecs (though that's a far less common model).