Re: [payload] draft-ietf-payload-rtp-opus-00 and specifying preference to receive stereo

Jean-Marc Valin <jmvalin@mozilla.com> Fri, 01 March 2013 21:56 UTC

Return-Path: <jmvalin@mozilla.com>
X-Original-To: payload@ietfa.amsl.com
Delivered-To: payload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6827621E80BC for <payload@ietfa.amsl.com>; Fri, 1 Mar 2013 13:56:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.677
X-Spam-Level:
X-Spam-Status: No, score=-2.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_COM=0.311, RCVD_IN_DNSWL_LOW=-1]
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 91K16j2TU+Pr for <payload@ietfa.amsl.com>; Fri, 1 Mar 2013 13:56:15 -0800 (PST)
Received: from smtp.mozilla.org (mx2.corp.phx1.mozilla.com [63.245.216.70]) by ietfa.amsl.com (Postfix) with ESMTP id 3973221E803F for <payload@ietf.org>; Fri, 1 Mar 2013 13:56:15 -0800 (PST)
Received: from [192.168.1.15] (modemcable094.20-21-96.mc.videotron.ca [96.21.20.94]) (Authenticated sender: jvalin@mozilla.com) by mx2.mail.corp.phx1.mozilla.com (Postfix) with ESMTPSA id 75B37F2131; Fri, 1 Mar 2013 13:56:14 -0800 (PST)
Message-ID: <513123FD.5020407@mozilla.com>
Date: Fri, 01 Mar 2013 16:56:13 -0500
From: Jean-Marc Valin <jmvalin@mozilla.com>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Roman Shpount <roman@telurix.com>
References: <CAD5OKxvSbiaURxFf3F7Rc-78O_SgrOKgponF=apwUx9g9waWqg@mail.gmail.com>
In-Reply-To: <CAD5OKxvSbiaURxFf3F7Rc-78O_SgrOKgponF=apwUx9g9waWqg@mail.gmail.com>
X-Enigmail-Version: 1.5
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: payload@ietf.org
Subject: Re: [payload] draft-ietf-payload-rtp-opus-00 and specifying preference to receive stereo
X-BeenThere: payload@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Payloads working group discussion list <payload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/payload>, <mailto:payload-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/payload>
List-Post: <mailto:payload@ietf.org>
List-Help: <mailto:payload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/payload>, <mailto:payload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Mar 2013 21:56:17 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/01/2013 04:15 PM, Roman Shpount wrote:
> I am sure someone have already asked this, but why do we need
> "stereo" optional parameter and always specify number of channels 2
> in RTP map? Can this be replaced by simply saying that receiver
> specifies its preference to receive stereo by specifying 2 channels
> in RTP map and its preference to receive mono audio by specifying 1
> channel in RTP map? We should still specify that every receiver
> MUST be able to receive and decode stereo signals.

One of the reasons is preventing interop an failure case where one
client would have opus/48000/1 while the other has opus/48000/2. It
also makes it easier to negotiate the case where stereo is used in one
direction, while mono is used in the other direction. The idea is that
stereo=0 really means "stereo isn't useful for me" rather than "this
stream cannot have stereo in it". There are applications where one
might want to send stereo to a client that specified mono, for
example, in conferencing applications where we want to send the same
audio to all participants, or even for "high-quality music on hold"
when we only want a single version of our music. In general, any opus
stream may contain 48 kHz stereo in it, and that's why it's advertised
as such.

	Jean-Marc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRMSP9AAoJEJ6/8sItn9q9YFoIAKRxZN2MUp5M0F+R9e8SRPZF
ZpSkjDec3/FmjLvRpe/pphb3CeWossvf6R2PzvOAPM9NWLgRS+70MEi0L/s6hEqS
0uZ6CpJuXc2+IT0VgL/+jdOPH/cWXlA4cSjQx3IgWM0lPBsba311g5Tan7io0E0c
sPdIf9eY9oeVeCJXhnA0MiJ/yXwAcGRlHJ606NQ/T+QoyPBZb03+C98EVXfdHKai
bfgIjGopqnzVPDfrmsYC75Lcpn0ZofcKBiEshXc4uHhUTTJsoipfDn4iPHz0UHBW
W+SSs9xNBw+zOkxvmqsBFO8zsMoqoJMljTHbzIb5GDui9V9M946rgccUKBrvWJc=
=x4fH
-----END PGP SIGNATURE-----