Namespaces
Variants
Actions

Archived:Payload conversion for G.729 audio format

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.


Article Metadata

Code Example
Compatibility
Platform(s): S60 3rd Edition

Article
Created: User:Technical writer 1 (05 Nov 2007)
Last edited: lpvalente (23 Nov 2012)

Overview

This article describes an approach to payload conversion for the G.729 audio format.

Description

G.729 Audio data recorded on S60 devices is encoded in 16-bit aligned frame format. For example, a single G.729 full rate frame with 80 bits (10 bytes) of payload, takes 22 bytes when encoded on an S60 device. An additional 2-byte header with frame type information is used in the beginning, bringing the total frame length to 24 bytes. When playing back G.729 data, the audio device expects the frames to be in this 24-byte format as well.

Details of the G.729 frame format are described in the Audio Proxy Server specification document.

For VoIP applications using G.729, this means that conversion is required between the two frame formats.

Solution

A reference implementation for compressing a 22-byte G.729 payload to 10 bytes (and vice versa) is available File:G729bitstream.zip.

The code can handle also SID frames (for VAD support as specified in G.729 Annex B).

This page was last modified on 23 November 2012, at 22:57.
153 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved