BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-18-2009, 12:13 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 7100T
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Playing Remote Audio with media.Manager

Please Login to Remove!

Hello,
I'm new to BlackBerry development, and I'm having quite a time trying to get something pretty basic to work. I'm working on an application that will stream MP3 audio from a remote server, and I'm having issues with the following code:

// http: removed due to forum restrictions
Player p = Manager.createPlayer("[see comment above]//example.com/mp3/doh.mp3");
p.start();

However, this works just fine:

Player p = Manager.createPlayer("file:///SDCard/blackberry/music/doh.mp3");
p.start();

I'm running on Windows XP with the MDS simulator active. I've successfully used the remote HTTP demo and also downloaded the example MP3 using the Buffered Playback demo. The Buffered Playback demo refuses to play as well and just gives an exception that says "+++{1} Operation unsuccessful [2]".

Is it possible to make a remote MP3 stream in realtime, or do I have to download it first? Also, I've heard some chatter about HTTP requests being limited to 500k, which means you have to download content in partial chunks. Is this true?

Thanks in advance!
Travis

Software:
BlackBerry 9530 Simulator
BlackBerry JDE 4.7.0
Sun JDK 1.6.0_12
Offline  
Old 02-19-2009, 01:11 PM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Model: 7100T
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I've narrowed this down to the Storm simulator. The code works fine with the Bold (9000) simulator and also works with the 8820 simulator.
Offline  
Old 06-08-2009, 03:05 AM   #3 (permalink)
New Member
 
Join Date: May 2009
Model: 9300
PIN: N/A
Carrier: TMOBILE
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did anybody knows the solution to this problem?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.