- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anybody know how to traslatea RTP g723 toRTP g711
Can anyone help me? I examined Speech Coding Sample G.726 but I don't really understand a few thing. Is it corrected the following code _
...........
USC_PCMStream in, outg711;
USC_Bitstream out;
in.pBuffer = tmpInputBuff; /*input RTP Payload*/
pInfo.params.direction = 1; /* Direction: Decode */
/* G723 -> wav */
if(USC_NoError != USC_G723_Fnxs->Decode (hUSCEncoder, &in, &out)) exit(6);
pInfo.params.direction = 0; /* Direction: encode */
/* wav -> G711 */
if(USC_NoError != USC_G11_Fnxs->Encode (hUSCDecoder, &out, &outg711)) exit(6);
send(....,...,outg711.pBuffer);
Thanks in advance,
Antonio
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can just simply encode your PCM (that you get after decoding g.723) to the g.711. Use IPP for this purpose. Also it is not difficult to find the source code of the g.711 alaw/mulaw and make this encoding without using IPP.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page