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
Developer
branchcut
Posts: 37
Registered: 10-17-2008

Re: Simultaneously playing and recording audio. VOIP application


naveen4nkp wrote:
i am sure it will work, i already tested it ...

Which codec(s) are you using?

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

Re: Simultaneously playing and recording audio. VOIP application

PCM is a must for a VoIP application.
Please use plain text.
Developer
jack_black
Posts: 74
Registered: 01-03-2010

Re: Simultaneously playing and recording audio. VOIP application

please give good explanation....It's quite hazy to all of us I think

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

Re: Simultaneously playing and recording audio. VOIP application

Which part is hazy?

Please use plain text.
Developer
myraddin
Posts: 378
Registered: 09-12-2008

Re: Simultaneously playing and recording audio. VOIP application

@Aviator168:

 

"PCM is a must for a VoIP application."

 

Why do you say that ?

a) blackberry limitation (you've tested and proved that AMR will not work) or

b) some kind of general rule (which would not be valid if you use proprietary servers).

 

I would prefer answer a) :smileyvery-happy:

 

 



"Listen carefully, I shall say this only once"
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Re: Simultaneously playing and recording audio. VOIP application

Most of the VoIP switch out there don't support AMR. I am dealing with commercial VoIP providers for business. Of those 20 something providers I work with, 1 supports G729 as well as G711, the rest of them only support G711.

Please use plain text.
Developer
jack_black
Posts: 74
Registered: 01-03-2010

Re: Simultaneously playing and recording audio. VOIP application

[ Edited ]

the part regarding inter process synchroization between recording and capturing process

is not clear

Please use plain text.
New Member
micromind
Posts: 1
Registered: 03-31-2010
My Carrier: IT

Re: Simultaneously playing and recording audio. VOIP application

would you plz explain this with a small example how can we acheive this?

Please use plain text.
Contributor
albertpv
Posts: 45
Registered: 12-16-2010
My Carrier: Vodafone

Re: Simultaneously playing and recording audio. VOIP application

[ Edited ]

 

There is the Global Events and the Global Event listener. http://supportforums.blackberry.com/t5/Java-Development/Global-Events-and-Global-Event-Listeners/ta-...


 I guess for eg the Application which is not UiApplication just attaches to the GlobalEventListener and listens for events like:start recording / stop recording  coming from the UIApplication.THe application just needs to do whatever is needed with the 'recorded' media. Meanwhile the UiApplication continues caring for the ui and for playing media.

 

Did anyone go for this approach? Was it really able to have the two simultaneous players on OS5?


Please use plain text.