Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Using AMR NB codec with VoIP Audio Service API on Nokia E72 requires additional configuration (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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
Tested with
Devices(s): Nokia E72
Platform(s): S60 3rd Edition, FP2
S60 3rd Edition FP2
Keywords: EAMR_NB
Created: User:Kbwiki (28 Dec 2009)
Last edited: hamishwillee (21 Jun 2012)

Note.pngNote: The VoIP Audio Service API is not part of the public SDK. It can be found in the SDK API Plug-in.


Playback using the VoIP Audio Service API (VAS) fails on the Nokia E72 if the VAS downlink stream is configured to use the AMR-NB codec and the frame mode is not set.

How to reproduce

This issue can be easily reproduced with the VoIPTest example application included in the API package.

Change the uplink and downlink format to AMR-NB (EAMR_NB) for the one touch loopback feature:

  void CVoIPTestEngine::OneTouchLoopback()
iOneTouchLoopback = ETrue;

When running the example on the Nokia E72, playback fails (no output from the loudspeaker) after One touch loopback is selected from the menu.


After initialising the VAS downlink with the AMR-NB codec is complete, frame mode (CVoIPFormatIntfc::SetFrameMode(TBool aFrameMode)) must be set to true for the downlink codec, before starting the downlink stream.

In the VoIPTest example, this can be easily tested by modifying the CVoIPTestEngine::Event() function as follows:

void CVoIPTestEngine::Event(const CVoIPAudioDownlinkStream& /*aSrc*/, TInt aEventType, TInt aError)
switch (aEventType)
case MVoIPDownlinkObserver::KOpenComplete:
if (iOneTouchLoopback)
<b>ToggleFrameMode(); // Set frame mode ON</b>
This page was last modified on 21 June 2012, at 06:15.
38 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.