[TIMOB-906] createAudioPlayer() can't find audio data with .M3U and .PLS files
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-25T14:58:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, audio, createaudioplayer, feature, ios, m3u, pls |
Reporter | Doney |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:38:57.000+0000 |
Updated | 2012-07-28T16:23:21.000+0000 |
Description
When trying to play (stream) .m3u and .pls files in the background, you get the following error:
== AUDIO ERROR == No audio data found.
Can someone add support for these file types?
It might be best for you to actually download the file and parse out the mp3 urls yourself. They're usually a simple text format. Then you could build your own playlist array inside your app.
It actually is for a radio streaming app which needs to access these file types.
I'm getting the same issue with the video player. The m3u8 file contains different streams for different bandwidths.
I've created a test app in Objective C using MPMoviePlayerController (what Titanium uses) and it plays the file just fine. It must be something with how Titanium is setting up the player.
These are playlist files, not audio files. AudioStreamer is for streaming audio only but will discuss this in planning triage. Likely to be marked invalid.
Mark as invalid based on the last comment.