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

Multiple Instances for ExoPlayer #1357

Closed
gaganjawa opened this issue Mar 10, 2016 · 3 comments
Closed

Multiple Instances for ExoPlayer #1357

gaganjawa opened this issue Mar 10, 2016 · 3 comments

Comments

@gaganjawa
Copy link

Does ExoPlayer support multiple HLS videos on a single activity ?
I am trying to play multiple videos(currently two) from one activity. One of the video plays fine but for the other one , unable to initiate decoder OMX.Google.xxxx appears.
How can I solve this ?

@andrewlewis
Copy link
Collaborator

See #273. Though it is possible to create and use more than one player at the same time on many devices, unfortunately there are some devices where this doesn't work.

You may be able to work around the limitation by using software codecs, but this is very inefficient. Also, based on your comment, the device is already trying to use a OMX.google. software decoder, so even that appears not to work. On what device did you see the error message?

@gaganjawa
Copy link
Author

It was on Nexus 5x.
It showed unable to initialize OMX.google.H264 decoder.
Isn't there any reliable way to achieve this ?

@andrewlewis
Copy link
Collaborator

I don't know of a reliable way that works for all formats across all devices/builds, except using a software codec.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants