Open aderrington opened 12 years ago
Someone have a solution for this issue?
I suppose if you use http://csmedia.serverroom.us:8720 and you hard code if it is necessary at line 1299 of AudioStreamer.m the file-type you will be ok. Change AudioFileTypeID fileTypeHint = [AudioStreamer hintForFileExtension:[[url path] pathExtension]]; With: AudioFileTypeID fileTypeHint = kAudioFileMP3Type; I hope this helps...
@whsecurity Thank you very much,谢谢你,方法非常有用~
Hi, I'm trying to play an mp3 stream from the internet however it's just not working at the moment, i keep getting the error message "No audio data found" Can someone else try this stream and see if it plays for them? The address is: http://csmedia.serverroom.us:8720/;stream.mp3 I've tried a lot of different url variations but none of them work, however if i used MPMoviePlayer it will work fine with that, but i need the stream to play in the background and while the user is doing other things within the app.
I Hope someone else out there has an idea why this doesn't seem to work for me.
Many thanks,
Andrew