Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Visitor
Jean1
Posts: 1
Registered: ‎06-07-2012
My Carrier: KPN

AMR in lower bitrate

Hi,

In our voip application for gprs we need a vocoder solution with a lower bitrate than the default AMR 12K2. Therefore we are trying to get the AMR working in a lower bitrate by recording audio from the microphone for a few seconds and store it. We notice that it is always recorded with the AMR 12K2 bps rate.

 

Manager.getSupportedContentTypes("capture") returns AMR[4750]-[12200] so this suggests that it is possible. 

 

To record we apply Manager.createPlayer("capture://audio?encoding=audio/amr&rate=4750&voipMode=true") and tried some variations of the parameters and parametervalues. But it seems always to record in 12K2.

 

We have had one situation in which it worked and that was BB 9930 simulator bundled with JDE 7.1.0. 

We have tried with other models on simulator but then it's always the default range (12k2). On real devices 9360 and 9700 it always uses the default range (12K2).

 

Somebody knows how to get AMR working in a lower rate? Thanks!


Please use plain text.
BlackBerry Development Advisor (Retired)
gsandhu
Posts: 41
Registered: ‎07-14-2008

Re: AMR in lower bitrate

This is expected behaviour. The bitrate parameter is only honored on CDMA based devices using voipMode. 

 

http://supportforums.blackberry.com/t5/Java-Development/Everything-You-Need-To-Know-About-Simultaneo...

 

We are currently investigating this support for GSM devices.

Please use plain text.