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
Contributor
Posts: 49
Registered: ‎12-16-2010
My Device: 9700
My Carrier: Vodafone

Re: MediaException when starting two players

Obviously audio is not video, I am also interested in video. Finally there is the MMAPI in the middle and I guess limitations of not allowing 2 players run at same time can be there for older OS versions.

 

But that would be false if audio is working for you on devices where video is not working. Also for OS6 you shouldn't have this issue and from your posts seems you're having it too. Maybe they don't support that feature for video? Could soome dev advisor give us a tip? Smiley Happy

Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Re: MediaException when starting two players

You are correct - I am having the issue on all os versions i tried - 4.6 , 5.0 and 6.0. And I am having these problems for video only - for audio player it works and I can have two running players simultaneously.
----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy
Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Re: MediaException when starting two players

Any new info on this?
I am still stuck
----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy
Retired
Retired
Posts: 150
Registered: ‎10-19-2010
My Device: Not Specified
My Carrier: Rogers

Re: MediaException when starting two players

Unfortunately it is not possible to record and play video at the same time.  This is a limitation of the hardware - the API does not prevent you from starting a video playback and video recording Player at the same time, but I believe one will be preempted in favour of the other 'under the covers' since both cannot be supported simultaneously.

Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Re: MediaException when starting two players

Thanks. So video calls are not possible?
----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy
Retired
Retired
Posts: 150
Registered: ‎10-19-2010
My Device: Not Specified
My Carrier: Rogers

Re: MediaException when starting two players

Highlighted
New Contributor
Posts: 8
Registered: ‎10-13-2011
My Device: Developer
My Carrier: Developer

Re: MediaException when starting two players

Hi,

 

Can you please share the code u used for simultaneous audio recording and playing?

 

Thanks