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

Mux init crash when use ExoPlayerImpl #44

Closed
szhangbiao opened this issue Apr 3, 2020 · 4 comments
Closed

Mux init crash when use ExoPlayerImpl #44

szhangbiao opened this issue Apr 3, 2020 · 4 comments

Comments

@szhangbiao
Copy link

I'm use ExoMedia library on my project that use ExoPlayerFactory.newInstance create player instance you can check here

java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.exoplayer2.Player$VideoComponent.setVideoFrameMetadataListener(com.google.android.exoplayer2.video.VideoFrameMetadataListener)' on a null object reference
        at com.mux.stats.sdk.muxstats.e.<init>()
        at com.mux.stats.sdk.muxstats.MuxStatsExoPlayer.<init>()
        at com.mux.stats.sdk.muxstats.MuxStatsExoPlayer.<init>()
        at com.fiton.android.ui.inprogress.InProgressActivity.lambda$initMux$8(InProgressActivity.java:874)
        at com.fiton.android.ui.inprogress.-$$Lambda$InProgressActivity$5y8FZVwFcHxLWDh10AV5SP_HDN8.run(lambda)
        at android.os.Handler.handleCallback(Handler.java:739)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:158)
        at android.app.ActivityThread.main(ActivityThread.java:7229)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
@stevenlyons
Copy link

Hi szhangbiao, good to hear from you. Is Mux Data already integrated with the ExoMedia library or are you trying to build the integration?

@szhangbiao
Copy link
Author

Trying build the integration that Exoplayer base on more than or equals 2.9.6

@skidder
Copy link
Contributor

skidder commented Jul 30, 2021

@szhangbiao can you report on whether this exception is still happening? If not, we'll close out this issue since it's been over 1 year since it was opened.

@skidder
Copy link
Contributor

skidder commented Aug 5, 2021

Closing due to inactivity

@skidder skidder closed this as completed Aug 5, 2021
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

3 participants