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

Possible NPE in new ExoPlayer.isTunnelingEnabled method #10997

Closed
1 task
TheBeastLT opened this issue Feb 17, 2023 · 1 comment
Closed
1 task

Possible NPE in new ExoPlayer.isTunnelingEnabled method #10997

TheBeastLT opened this issue Feb 17, 2023 · 1 comment
Assignees

Comments

@TheBeastLT
Copy link

TheBeastLT commented Feb 17, 2023

ExoPlayer Version

2.18.2

Devices that reproduce the issue

Any

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Here a NPE can happen when you have alternative renderers in the factory, ie. having a FfmpegRenderer. In this case, when it's not selected by any track rendererConfigurations array will have a null entry in it.

Expected result

A null check should be added to avoid NPE.

Actual result

A NPE is thrown when invoking this method with FfmpegRenderer present.

Media

None

Bug Report

@microkatz
Copy link
Contributor

Duplicate of #10977.

Fixed in 5e3cd7a

@google google locked and limited conversation to collaborators Apr 22, 2023
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