Discussion Forums  >  Uncategorized

Replies: 4    Views: 174

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
01/01/12 06:05 AM (14 years ago)

Error Loading Audio

When i load a .mp3 Url for the audio stream, i get an error loading audio screen and then it begins to count up with the percentage loaded. When it hits 100% complete and then gives me the error loading audio again. Any Advice?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/02/12 05:34 AM (14 years ago)
Hmm...seems bogus. Console show anything useful? I wonder if it's trying to load a local file from the project then the URL? Other than making sure you have a URL and not a file name entered, along with a good clean URL (not full of spaces of funky redirect stuff...) you should be good to go. And, something tells me you've done this before so it's probably not the simple stuff I'm thinking of. I wonder if the .mp3 is somehow fooling iOS, like a codec / compression issue? Dunno really. Console output, see if it shows you were it's looking for the file.
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
01/02/12 06:08 AM (14 years ago)
Hey David, Below is the thread from my console. Its seems as it is giving me an error code on line 15. Please let me know what you find. This the the url i am using http://www.anthonymungo.com/workout/chillout60min.mp3 . It works if i enter it into the custom url link and plays but doest function the same as the streaming audio tools. By the way, thanks for that beautiful picture book you mailed me. Monterey looks beautiful and a bit warmer than NYC. Lol. 2012-01-02 07:52:05.984 platinum[228:207] BT_screen_audio: viewWillAppear 2012-01-02 07:52:05.984 platinum[228:207] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: Audio and itemId: F744755C0ADAD5BEDCD7C70 and type: BT_screen_audio 2012-01-02 07:52:05.985 platinum[228:207] BT_fileManager: File does exist in Xcode bundle: blank.png 2012-01-02 07:52:05.985 platinum[228:207] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2012-01-02 07:52:05.985 platinum[228:207] BT_background_view: setImage 2012-01-02 07:52:06.086 platinum[228:207] BT_screen_audio: loadData 2012-01-02 07:52:06.086 platinum[228:207] BT_screen_audio: loadAudioForScreenF744755C0ADAD5BEDCD7C70 2012-01-02 07:52:06.087 platinum[228:207] BT_fileManager: File does not exist in Xcode bundle: chillout60min.mp3 2012-01-02 07:52:06.087 platinum[228:207] BT_fileManager: File does not exist in cached directory: chillout60min.mp3 2012-01-02 07:52:06.088 platinum[228:207] BT_screen_audio: loading audio from URL: http://www.anthonymungo.com/workout/chillout60min.mp3 2012-01-02 07:52:06.088 platinum[228:207] BT_screen_audio: downloadAudioFile: http://www.anthonymungo.com/workout/chillout60min.mp3 2012-01-02 07:52:06.088 platinum[228:207] BT_strings: mergeBTVariablesInString (after merge): http://www.anthonymungo.com/workout/chillout60min.mp3 2012-01-02 07:52:06.089 platinum[228:207] BT_screen_audio: initAudioPlayerWithLocalURL 2012-01-02 07:52:06.089 platinum[228:207] BT_screen_audio: The operation couldn’t be completed. (OSStatus error -50.), (null) 2012-01-02 07:52:06.278 platinum[228:207] BT_screen_audio: didReceiveResponse: 2012-01-02 07:52:06.343 platinum[228:207] BT_screen_audio: viewDidAppear
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
02/19/12 02:35 AM (13 years ago)
David any thoughts?
 
thegibcoyote
Apple Fan
Profile
Posts: 139
Reg: Feb 01, 2011
Gibraltar
1,390
like
03/21/12 05:14 AM (13 years ago)
I am having same issue any ideas ?
 

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.