08.01.2013 Views

Dialogic IP Media Library API Programming Guide and Library ...

Dialogic IP Media Library API Programming Guide and Library ...

Dialogic IP Media Library API Programming Guide and Library ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9.Using AMR-NB <strong>and</strong> G.711 Audio<br />

Over Nb UP<br />

This chapter describes how to stream AMR-NB <strong>and</strong> G.711 audio over Nb UP. Topics include:<br />

Feature Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />

<strong>API</strong> <strong>Library</strong> Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />

<strong>Guide</strong>lines for Streaming AMR-NB Over Nb UP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47<br />

<strong>Guide</strong>lines for Streaming G.711 (5 ms) over Nb UP. . . . . . . . . . . . . . . . . . . . . . . . . . . 48<br />

<strong>Guide</strong>lines for Streaming G.711 (20 ms) over Nb UP. . . . . . . . . . . . . . . . . . . . . . . . . . 49<br />

9.1 Feature Description<br />

The AMR-NB <strong>and</strong> G.711 audio over Nb UP feature is not supported on all releases. For support<br />

information, see Chapter 2, “Feature Support by Platform”.<br />

Note: Using the AMR-NB resource in connection with one or more <strong>Dialogic</strong> products mentioned herein<br />

does not grant the right to practice the AMR-NB st<strong>and</strong>ard. To seek a patent license agreement to<br />

practice the st<strong>and</strong>ard, contact the VoiceAge Corporation at www.voiceage.com/licensing.php.<br />

This feature allows an <strong>IP</strong> media streaming (<strong>IP</strong>M) device to stream AMR-NB audio (20 ms, 12.2<br />

Kbps bit rate) <strong>and</strong> G.711 audio (5 ms <strong>and</strong> 20 ms, A-law <strong>and</strong> mu-law) over Nb UP. This data can be<br />

streamed to <strong>and</strong> from a 3G network. A multimedia (MM) device can be connected to the <strong>IP</strong>M<br />

device for native play <strong>and</strong> record operations. Transcoding is not currently supported.<br />

Setting up AMR-NB over Nb UP or G.711 over Nb UP media sessions is similar to setting up a<br />

3G-324M over Nb UP session. However, the 3G-324M (M3G) component is not used. The<br />

following sections provide guidelines for streaming AMR-NB audio or G.711 audio over Nb UP.<br />

For information on the <strong>Dialogic</strong> ® 3G-324M <strong>API</strong>, see the <strong>Dialogic</strong> ® 3G-324M <strong>API</strong> <strong>Programming</strong><br />

<strong>Guide</strong> <strong>and</strong> <strong>Library</strong> Reference.<br />

9.2 <strong>API</strong> <strong>Library</strong> Support<br />

In the <strong>Dialogic</strong> ® <strong>IP</strong> <strong>Media</strong> <strong>Library</strong> <strong>API</strong>, the following values in the eProfileType field,<br />

e<strong>IP</strong>M_NBUP_PROFILE_TYPE enumeration, of the <strong>IP</strong>M_NBUP_PROFILE_INFO structure are<br />

used for streaming AMR-NB or G.711 audio over Nb UP:<br />

NBUP_PROFILE_AMR_NB<br />

AMR-NB type connection<br />

NBUP_PROFILE_G711ALAW64K_5MS<br />

G.711 A-law 5 ms type connection<br />

<strong>Dialogic</strong> ® <strong>IP</strong> <strong>Media</strong> <strong>Library</strong> <strong>API</strong> <strong>Programming</strong> <strong>Guide</strong> <strong>and</strong> <strong>Library</strong> Reference 46<br />

<strong>Dialogic</strong> Corporation<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!