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
Contributor
Posts: 35
Registered: ‎02-11-2010
My Device: curve 8900

Recording GSM on OS 7 don't work

Hello,

 

I have a problem that I can not start a recorder using GSM codec on a real device.  It works on simulator.

 

MediaException is thrown with: Unsupported record encoding type.

 

I tried to create a recorder like this:

javax.microedition.media.Manager.createPlayer("capture://audio?encoding=audio/x-gsm");
javax.microedition.media.Manager.createPlayer("capture://audio?encoding=audio/gsm");
javax.microedition.media.Manager.createPlayer("capture://audio?encoding=gsm");
javax.microedition.media.Manager.createPlayer("capture://audio?encoding=x-gsm");

 

Does anybody knows where the problems is? I'm using 9900@7.0.0.296

Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930

Re: Recording GSM on OS 7 don't work

[ Edited ]

I guess you have to encode it yourself.    :No: