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

Native Development

Reply
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
Accepted Solution

HTTP Live Streaming of MP3 Audio in the Simulator 10.1

[ Edited ]

Hi,

 

I am working on an online radio application and am very disappointed to see that the BB 10.1
simulator (10.1.0.1483) does not support the HTTP live streaming of M3U (MP3) media files.

I am getting the following message in the device log:

 

MediaPlayer:: prepare::Error attaching input source. url: "http://abc.xyzxyz.com:9156/stream",
error=UnsupportedMediaType

 

and also when trying to browse to the URL in the browser of the simulator:

 

The media file is of and unsupported type or could not be loaded. It cannot be played.


I'd like to know whether the BB simulator 10.2 supports HTTP live streaming of MP3 files, or do I need to buy an actual device?

 

 

Best Regards,

 

burakk

 

Retired
s_rashid
Posts: 127
Registered: ‎02-27-2012
My Device: Bold

Re: HTTP Live Streaming of MP3 Audio in the Simulator 10.1

Hi @burakk,

Apologies for the delayed response. Unfortunately, for the OS versions in the market so far, the multimedia playback support on the simulator is very limited. This is mainly due to licensing issues of the codecs required. There is very limited support for audio playback (uncompressed audio only, WAV files) and no video playback. In later simulator OS releases, we might have software decoding - if that happens, your use case would be met then.

For a full list of supported formats on the devices: https://developer.blackberry.com/devzone/develop/supported_media/bb10_media_support.html

 

Cheers,
Rashid

Application Development Consultant | Developer Relations

BlackBerry
@surashid