07-16-2009 11:25 AM
Hi
I intend to develop a VOIP application for Blackberry. For that its very important for me to record and play audio at the same time. I am using BlackBerry JDE 4.7 and the Blackberry 9530 simulator which comes along with the JDE.
I used Manager.createPlayer(file:///SDCard/Blackberry/Music/Sample.amr) to play audio and subsequently i did
Manager.createPlayer("capture://audio") to capture live audio. But as soon as I started the player to record audio my first player stopped playing the audio.
Is it possible to achieve the desired functionality with the API's exposed by RIM.
Can we also split the live audio into audio packets of certain duration like 10 ms or 20 ms.
I would really appreciate if anyone could provide some pointer or help to solve the above mentioned problems.
Thanks
Gurindersm
09-17-2009 06:17 PM
09-17-2009 07:15 PM
10-06-2009 07:14 AM
Hello,
Did any one achieve this ?
Thanks
Arpit Pradhan
10-06-2009 08:07 AM
Ya it is possible ,
By creating two saperete aapliction, one is form playing and another one for recording the media, and estabilish the inter communication between them so that they work together ...
10-06-2009 09:12 PM
10-07-2009 02:20 AM
10-07-2009 02:27 AM
10-07-2009 02:36 AM
10-07-2009 02:37 AM
Actually i would also like to know how it worked especially the interapplication communication part.
However this is what I tried, I tried simultaneously recording and playing using JDE 4.6.0 with default 9000 simulator and it worked fine. Although it didnt work with JDE 4.7. And the format of the audio being recorded or played was AMR couldnt make it work with PCM.