Re: [codec] [payload] Frames to Packets in draft-ietf-codec-opus-07?

"Benjamin M. Schwartz" <> Wed, 27 July 2011 19:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id E8FB821F8BB1; Wed, 27 Jul 2011 12:21:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.399
X-Spam-Status: No, score=-3.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ufQBNGmp-CIU; Wed, 27 Jul 2011 12:21:08 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 3609A21F8BB4; Wed, 27 Jul 2011 12:21:08 -0700 (PDT)
Received: from (localhost.localdomain []) by (Postfix) with ESMTP id 6F2F14D5E5B; Wed, 27 Jul 2011 15:21:05 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed;; h= message-id:date:from:reply-to:mime-version:to:cc:subject :references:in-reply-to:content-type; s=mail; bh=o5m8AaVwZHWkcLF osnnIOC6QROi33hIxdkW2mqiYsNA=; b=smLHgS46p2YyDGxathyoNRzbweimiax 79sisqo6yToHoL8lME62DBulSkaQ510tMMcgP2K2C40CfUtiYpLZIcawFqLJ8bGE vb/UKRIKAK86JMSaSMYJ95mMCSdcpbnIf/23SEtDcwd+2qre6MUnrPkef8F+HLIj XM9lKc27+KWY=
DomainKey-Signature: a=rsa-sha1; c=simple;; h= message-id:date:from:reply-to:mime-version:to:cc:subject :references:in-reply-to:content-type; q=dns; s=mail; b=JOgYjhtG3 mRpSabQ1Pi5OWMiZeh9yg6XdjpoyRwbgdLH4aaWv4qBJO38EjosJVWwj367IQb4F yETrrX/Z3tzMkEFimb+0xk3v3nmMN8CoDRke/MW81woCplDLG/ONcPm25g/5Kb4K 77I5pvU1IdvHeDdDeTQHsz6mq514lDAOd8=
Received: from [] ( []) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bmschwar@fas) by (Postfix) with ESMTPSA id 675FB4D5E54; Wed, 27 Jul 2011 15:21:05 -0400 (EDT)
Message-ID: <>
Date: Wed, 27 Jul 2011 15:21:02 -0400
From: "Benjamin M. Schwartz" <>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11
MIME-Version: 1.0
To: Jonathan Lennox <>
References: <00ec01cc4ad6$8125b2d0$83711870$> <> <>
In-Reply-To: <>
X-Enigmail-Version: 1.1.2
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6B7A58D6D542A520C5D890BD"
Cc: "" <>, "" <>
Subject: Re: [codec] [payload] Frames to Packets in draft-ietf-codec-opus-07?
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Codec WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 27 Jul 2011 19:21:09 -0000

On 07/27/2011 03:10 PM, Jonathan Lennox wrote:
> Based on my reading of the Opus spec, it looks like splitting should be possible, relatively trivially.  Aggregation, however, is only possible if the packets to be aggregated have the same value for the Opus TOC byte.

That is a correct reading of the Opus spec as of Opus-02 and later.  Prior
to Opus-02, the spec also described a packet mode that could contain
frames of different types, allowing arbitrary aggregation.  I believe it
was removed because the authors expected that it would be rarely used, and
removing it allowed them to improve the efficiency of more common cases.