-
Notifications
You must be signed in to change notification settings - Fork 13
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
mux-r2.8.0 sends "Player is accessed on the wrong thread" warning #12
Comments
Hi @kai-sarawut - as of right now, this should be a warning based on the threading model that ExoPlayer has taken as of ExoPlayer 2.9.0, but we are looking at how we can address this moving forward. Are you seeing this impact playback within the application? |
Hi, @jsanford8. Good to know this issue is going be addressed. |
Hi @kai-sarawut - absolutely! This is why we're looking into fixing this moving forward, because Google may change this into a hard exception in the future, potentially, or some other issue. I will provide updates on this issue as we have them. |
Hi @jsanford8 - my suggestion is letting pass Looper on constructor of "MuxStatsExoPlayer" likewise "ExoPlayerFactory.newSimpleInstance()". |
I think it's a thread issue in an operation in the libs. |
@OMArikan thanks for the suggestion, we'll look into that! @kai-sarawut - We do have an internal task that loops, querying the player's current playhead position, similar to this comment on ExoPlayer's issue about threading: google/ExoPlayer#4463 (comment). We're trying to come up with a way to do this correctly. |
Hi @jsanford8 it's been so long we have not heard any updates from you. Waiting mux-r2.9.0.aar. |
I integrated mux-2.8.0 version and experience exactly the same issue. ExoPlayer version is 2.10.1 (the latest as of today). Any updates? |
Yeah, it's very disappointed, two years late no new Version. It s just a warning, so, if it s just mux who dont work has expected... no matter. |
fixed by #20 |
After updating version to mux-r2.8.0 I notice that "Player is accessed on the wrong thread" warning is sent repeatedly in Logcat console. The last version has no this issue so I suspect that this could possibly affect ExoPlayer performance on my application? Or this is a known issue? How can I handle with this issue? Thanks.
The text was updated successfully, but these errors were encountered: