Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

State problem with multiple player instances #1656

Closed
madhurkapadia opened this issue Jul 7, 2016 · 2 comments
Closed

State problem with multiple player instances #1656

madhurkapadia opened this issue Jul 7, 2016 · 2 comments

Comments

@madhurkapadia
Copy link

I have two exoplayer instance in which one i'm playing content and particular adpoints i'm playing advertise but when i am trying multiple MID ads exo player doesn't play the ad videos, it goes to PREPARING STATE and doesnt reach BUFFERING or END STATE, it happens after playing 2 ads repeatedly on 3rd AD and it gives below error:

MessageQueue: Handler (com.google.android.exoplayer.upstream.Loader$LoadTask) {2b0939e5} sending message to a Handler on a dead thread
                                                                     java.lang.IllegalStateException: Handler (com.google.android.exoplayer.upstream.Loader$LoadTask) {2b0939e5} sending message to a Handler on a dead thread
                                                                         at android.os.MessageQueue.enqueueMessage(MessageQueue.java:325)
                                                                         at android.os.Handler.enqueueMessage(Handler.java:631)
                                                                         at android.os.Handler.sendMessageAtTime(Handler.java:600)
                                                                         at android.os.Handler.sendMessageDelayed(Handler.java:570)
                                                                         at android.os.Handler.sendEmptyMessageDelayed(Handler.java:534)
                                                                         at android.os.Handler.sendEmptyMessage(Handler.java:519)
                                                                         at com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:212)
                                                                         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
                                                                         at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                         at java.lang.Thread.run(Thread.java:818)
@andrewlewis
Copy link
Collaborator

The stack trace is likely unrelated (see #426).

More information is needed to diagnose this. Can you reproduce the failure to complete preparation when playing the same media in the demo app? Please attach a bug report or send it to dev.exoplayer@gmail.com.

@ojw28 ojw28 changed the title STATE PROBLEM State problem with multiple player instances Jul 15, 2016
@ojw28
Copy link
Contributor

ojw28 commented Aug 8, 2016

Closing due to lack of information.

@ojw28 ojw28 closed this as completed Aug 8, 2016
@google google locked and limited conversation to collaborators Jun 28, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants