06-07-2012 10:11 AM
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- so this suggests that it is possible.
To record we apply Manager.createPlayer("capture://audio?encoding=audio/amr&rate=4750&voipM
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!
06-12-2012 02:48 PM
This is expected behaviour. The bitrate parameter is only honored on CDMA based devices using voipMode.
We are currently investigating this support for GSM devices.