Dialogic 05-2548-006 manual Local Side Remote Side, Example

Page 34

“Octet-aligned,” to make the packet parsing easier for the AMR application.

The AMR RTP payload format is specified in the new IPM_AUDIO_CODER_OPTIONS_INFO AudioCoderOptionsInfo structure (in the IPM_MEDIA structure). The MEDIATYPE_AUDIO_LOCAL_CODER_OPTIONS_INFO media type controls the receive side, and the MEDIATYPE_AUDIO_REMOTE_CODER_OPTIONS_INFO media type controls the transmit side.

The IPM_MEDIA structure contains a union with an IPM_AUDIO_CODER_OPTIONS_INFO structure. The AMR RTP payload format is controlled by ORing in either CODER_OPT_AMR_EFFICIENT or CODER_OPT_AMR_OCTET in the AudioCoderOptionsInfo.unCoderOptions field.

Note: Specifying an AMR RTP payload is mandatory and the formats are mutually exclusive.

Example 1

In this example, the host application wants to transmit at the bit rate requested by the incoming CMR value. The following diagram depicts this use case, where the local side is the host application.

Local Side

Remote Side

FT=4 (7.4 kbit/s), CMR=5 (7.95 kbit/s)

FT=5 (7.95 kbit/s), CMR=6 (10.2 kbit/s)

FT=6 (10.2 kbt/s), CMR=5 (7.95 kbit/s)

Note: While the diagram above implies an immediate reaction to a CMR from the other side, in reality, the other side’s response to a CMR may take a few packets.

The sequence of activities is as follows:

1.The host is transmitting at the preferred bit rate set by the host application via the remote audio coder settings, in this case 7.4 kbit/s.

2.The host sets its CMR value to 7.95 kbit/s via the local audio coder setting.

3.The host sets its RTP payload to efficient bandwidth and CMR tracking mode.

4.The host receives its first packet from the remote side with the CMR value higher than the preferred rate.

5.The host changes the transmitted bit rate to match the CMR value.

34Dialogic® Multimedia Software for ATCA Release 1.0 Release Update, Rev 06 — January 23, 2008 Dialogic Corporation

Image 34
Contents Release Update Dialogic Multimedia Software for AdvancedTCA ReleaseDialogic Corporation Purpose How to Use This PublicationIntended Audience Related Information See the following for additional informationDocument Rev 05 published June 22 Document Rev 06 published January 23Document Rev 04 published June 8 Document Rev 03 published May 1 Document Rev 02 published March 30Document Rev 01 published January Initial version of documentRelease Developments Summary of Features Updates to IpmaudiocoderinfoUpdates to Ipmaudiocoderoptionsinfo 2Release.Issues2 Issues Sorted by Type, Dialogic Multimedia Platform CLIAs the clock source instead of a previously recovered Dlservices cli start MsmlCLI, Snmp IpmlPARMCHRFC2833EVTRXPLT EvrcRtfConfigLinux.xml for mediasvr Existent list when the cable is unplugged from a Pstn Issue Type Defect No Product or Description 3Documentation.Updates3 Dialogic Device Management API Library Reference Dialogic Conferencing CNF API Library ReferenceDialogic Conferencing CNF API Programming Guide Dialogic Fax Software ReferenceDialogic Global Call IP Technology Guide Dialogic IP Media Library API Library ReferenceUpdates to the ipmSetParm and ipmGetParm functions ParmchlatencyalgaudioParmchlatencyframeinitaudio ParmchlatencyframemaxaudioUpdate to , Events Codertypeamrnbnone CodertypeevrcPage IpmGetCapabilities „ Description„ Cautions „ Example Ipmaudiocoderoptionsinfo „ Example Using AMR Coders for Narrow Band Audio Description Dialogic IP Media Library API Programming GuideDialogic IP Media Library API Support Supported RTP Payload FormatLocal Side Remote Side ExampleIpmaudiocoderoptionsinfoversion Local Side Remote Side Using Enhanced Variable Rate Codecs Coderoptamrcmrlimit CoderoptamrefficientResource Reservation of Audio Coders Outbound CallInbound Call Implicit Release by a Subsequent Successful Reserve CallHandling a Resource Reservation Failure Application issues call to release resource RESOURCEIPMG726 Dialogic Multimedia API Library Reference Dialogic Multimedia API Programming GuideDialogic Voice API Library Reference Dialogic Standard Runtime Library API Library ReferenceDialogic Standard Runtime Library API Programming Guide Dialogic Voice API Programming Guide