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 Contributor
vraovic
Posts: 3
Registered: ‎05-02-2012
My Device: 9900

Blackberry 7 - createPlayer to play RTP streaming audio - error

Hi all,

We would like to implement PCM codec on our VoIP application. For audio receive side we have created player with ContentDescriptor("audio/wav") and in SourceStream read callback method we would like to feed the player with 16-bit PCM audio samples.

However, when we start to receive audio we got the following errors:

"Couldn't start player: MP: ..... OS load failed: -1  ... "

..

HandleInitFailure

net.rim.device.internal.media.UnloadedMediaException

 

Could you please give us a hint where could be problem? Creating and initialising player or it is not valid data in SourceStream read  callback method?

 

Your help is very much appreciated?

 

Regards,

vraovic

 

 

 

Retired
gsandhu
Posts: 41
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry 7 - createPlayer to play RTP streaming audio - error

HI,

 

Please refer to the below knowledge base article on supported audio codec codecs on BB7

http://supportforums.blackberry.com/t5/Java-Development/Record-Audio-on-a-BlackBerry-smartphone/ta-p...

 

Please note that PCM recording on CDMA devices was only supported starting in OS 7.0

 

Also VoIP support on CDMA was only introduced start in OS 6.0 although GSM devices had this support since OS 4.5.

http://supportforums.blackberry.com/t5/Java-Development/Everything-You-Need-To-Know-About-Simultaneo...

 

Gurtej Sandhu