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
Highlighted
New Contributor
Posts: 2
Registered: ‎06-08-2012
My Device: 9360, 9700
My Carrier: vodaphone, wind, tim

Full duplex audio streaming: setting amr rate doesn't work

Hello,

 

I'm trying to record (and play) audio using amr encoder at rate 4.7kbit/sec but the result is always 12.2Kbps.

 

This is the way I open the microphone:

 

javax.microedition.media.Player capture = javax.microedition.media.Manager.createPlayer("capture://audio?encoding=amr&updateMethod=time&updateThreshold=100&rate=4750&voipMode=true");

 

 

I'm using 9360 (OS7).

 

Is it possible to record really at rate 4.7kbit/sec? How?