Skip to content
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

Closed
zsoltboldizsar opened this issue Jun 17, 2015 · 4 comments
Closed

Playing mp3 - for Android from raw folder #556

zsoltboldizsar opened this issue Jun 17, 2015 · 4 comments

Comments

@zsoltboldizsar
Copy link

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.

@ojw28
Copy link
Contributor

ojw28 commented Jun 18, 2015

Why would you like to use the raw folder instead of moving them to assets?

@zsoltboldizsar
Copy link
Author

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
But I'll move them to assets if there's no other possibility. Please confirm.

@ojw28
Copy link
Contributor

ojw28 commented Jun 18, 2015

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 ;).

@ojw28 ojw28 closed this as completed Jun 18, 2015
@zsoltboldizsar
Copy link
Author

Thanks for your response.

@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants