Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 6    Views: 128

perrytheweaver
Apple Fan
Profile
Posts: 51
Reg: Jun 14, 2011
Rowlett, TX
3,460
02/06/13 06:12 PM (12 years ago)

Streaming audio

I'm loading a remote url in my app, then using an embedded jquery audio player to play an mp3 file. (NOTE: This is not a stream, just an mp3 file sitting on a server.) Problem: this works great when the phone has wifi, but hardly works at all if the phone's wifi is turned off and phone is relying on its cell network. Any clues what's going on?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/06/13 06:28 PM (12 years ago)
Crappy Cell Network? How does You Tube and other media streams work out? Anything to compare the performance to? Cheers! -- Smug
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
02/06/13 11:41 PM (12 years ago)
What type of speeds on your wifi? Cell network?
 
perrytheweaver
Apple Fan
Profile
Posts: 51
Reg: Jun 14, 2011
Rowlett, TX
3,460
like
02/07/13 08:00 AM (12 years ago)
Wifi download about 10MB per second. Not sure about cell network speed, but considerably slower I'm guessing. As I tested app with wifi connection, audio play of mp3 was fine. I'm assuming now its because the app download the ENTIRE file first (very quickly), then played it. The cell connection make downloads VERY slow, thus almost no audio plays. Going to see if perhaps I can access mp3s via a streaming server connection instead. Maybe bypass the need to download the entire mp3, as I suspect is the problem now.
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
02/07/13 08:04 AM (12 years ago)
Run the speedtest app to test speed on cell network.
 
perrytheweaver
Apple Fan
Profile
Posts: 51
Reg: Jun 14, 2011
Rowlett, TX
3,460
like
02/07/13 09:34 AM (12 years ago)
On cell phone 14MBPS via wifi. On cell phone via cell network: .03MBPS Yep, you read that right. No wonder it takes a 35mb mp3 some time to buffer or download! Am looking into other streaming options from the server that will work with cell connections better.
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
02/07/13 09:42 AM (12 years ago)
Yeah. Big difference. At least you know where the problem is.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.