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
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

voipMode=true

In the OS6 documentation. If you add voipMode=true as a parameter for audio recording, CMDA phones will be able record and playback at the same time. Has anyone tried this? It did not work for me at all. Also, this parameter supposed to make the recorder and player work in a way that's more compatible with other voip devices. However, the documentation never explain what kind of compatibility is this supposed to have. Anyone?

Contributor
Posts: 10
Registered: ‎02-18-2011
My Device: Not Specified

Re: voipMode=true

This seems to be just another red-herring that RIM has dreamed up to give developers false hope. You are supposed to also specify the correct bit-rate and such... I tried it on a GSM device in the hope that I could actually get full-duplex recording and playback to work for audio/x-gsm on a Torch. But it didn't help for that either:

 

"capture://audio?encoding=audio/x-gsm&rate=8000&bits=13&channels=1"

 

for example, seems to start up the recorder, but the moment you add in:

 

"capture://audio?encoding=audio/x-gsm&rate=8000&bits=13&channels=1&voipMode=true"

 

You just get: Exception starting recorder 

 

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

Re: voipMode=true

No. If you put the voipMode=true as the first parameter, it will work.

 

My problem is with the CDMA phones. It suppose to allow duplex audio on the CDMA phones running OS6; but when I test it on the simulators, it does not do the job.

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: voipMode=true

Have you tried it on an actual device?
---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: voipMode=true

Not yet. I hope it will work on an actual device.

 

Which CDMA phone can run OSv6 in the US?

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: voipMode=true

[ Edited ]

BlackBerry Style

 

Also, do you know if it works on OS 5.0? I know it was found in the 6.0 docs but for all I know this is one of those "it's always been there but we just so happened to let people know about it now" components.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: voipMode=true

You can never tell if it was there in OS 5. It is string parameter, it might just ignored it in OS 5. Now the cat is out, they have to support it by the doc and the doc is very clear that CDMA phones running OSv6 will be able to do full duplex audio.

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: voipMode=true

Yep. If you end up trying it on a Style and it doesn't work, I'd say PM MSohm to see if he knows anything.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: voipMode=true

[ Edited ]

Definitely do that. One of my phones is way passed for upgrade. We are waiting for a different phone other than the Style. If the CDMA phone can do full duplex, all we need is data plan to get unlimited voice/text/email.

Contributor
Posts: 10
Registered: ‎02-18-2011
My Device: Not Specified

Re: voipMode=true

ok... you are right, if you set voipMode=true as the first parameter the recorder does actually start up. But the moment i start up another player it dies. This of course is only with gsm. With two PCM players it's fine, and with a PCM recorder and a GSM player it also seems to be ok. But full duplex on a GSM stream doesn't seem to work, even on a GSM phone.