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
New Developer
Posts: 15
Registered: ‎09-21-2011
My Device: 9860
My Carrier: more than one

Cannot recreate/restart recorder on 9900

[ Edited ]

Hi, 

 

I am trying to create an audio recorder (with voipMode=true), start it, stop it, set it to null, wait a few seconds, then re-create a second one and start it. 

 

When the second one tries to start I get the following event on the recorder: 

recordError: Could not start recording

 

In addition, the logs also show the following when I start the second recorder: 

[65856.805] AR: source AUDIO_SOURCE_CDMA_AUDIO_RECORDINGis already added

 

If I don't set the voipMode flag the second recorder starts correctly. 

 

Does anyone have any idea what could it be? Everything works fine on other devices, just 9900 shows this problem.