New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playing mp3 - for Android from raw folder #556
Comments
Why would you like to use the raw folder instead of moving them to assets? |
Read that parsing the assets takes more time than from raw folder. http://stackoverflow.com/questions/9563373/the-reason-for-assets-and-raw-resources-in-android |
It's doubtful there's a significant difference, and it's unlikely to make a difference anyway because media is streamed (you'll always be able to load it way faster than you need to to play it back, given it's a local file). So just use assets ;). |
Thanks for your response. |
I've seen some clarifications regarding my problem here (#532) but not directly pointing to raw folder. Raw folder is not mentioned in the docs either (http://google.github.io/ExoPlayer/doc/reference/com/google/android/exoplayer/upstream/DefaultUriDataSource.html)
Is there any possibility to achieve this? I would like to maintain the media files in raw folder instead of moving them to assets.
The text was updated successfully, but these errors were encountered: