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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
sleepymg
Posts: 35
Registered: ‎02-11-2010

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

Please use plain text.
Developer
Aviator168
Posts: 705
Registered: ‎09-10-2009
My Carrier: Verizon

Re: Recording GSM on OS 7 don't work

[ Edited ]

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

Please use plain text.