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

Is this project still alive? #63

Open
vicmosin opened this issue Sep 24, 2019 · 0 comments
Open

Is this project still alive? #63

vicmosin opened this issue Sep 24, 2019 · 0 comments

Comments

@vicmosin
Copy link

I am facing the issue while creating new instance and playing raw resource.. Somehow player gives me Content not found for an existing resource..

val session = mediaPlayerFactory.createMediaPlayer()
val assetFileDescriptor = context.resources.openRawResourceFd(resourceId)
session.setDataSource(assetFileDescriptor.fileDescriptor)
assetFileDescriptor.close()

session.prepare()
session.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant