TSS000776 - Payload conversion for G.729 audio format
From Forum Nokia Wiki
| ID | TSS000776 | Creation date | November 5, 2007 |
| Platform | S60 3rd Edition | Devices | |
| Category | Symbian C++ | Subcategory | Audio, VoIP, APS |
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 here.
The code can handle also SID frames (for VAD support as specified in G.729 Annex B).
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inside NDEF record secrets | tboufflet | Near Field Communication | 4 | 2007-11-05 08:47 |
| audio recording in Raw Format | impankaj24 | Symbian Media (Graphics & Sounds) | 11 | 2006-03-06 05:10 |
| Qcelp on .3gp file format | fdouek | Graphics & Video & Streaming | 1 | 2004-04-27 12:18 |
| Errata in doc: OMA Provisioning for 5100? | vmoreno1972 | OMA DM/DS/CP | 25 | 2003-09-26 04:47 |
| Nokia Audio Convertor - Won't Convert MIDI? | virken | Mobile Java Media (Graphics & Sounds) | 3 | 2004-04-26 12:17 |

