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

java.lang.NullPointerException when re-publish a live stream on Android #61

Open
chungweileong94 opened this issue Jul 26, 2020 · 0 comments

Comments

@chungweileong94
Copy link
Contributor

Step to reproduce:

  1. Publish a live stream
  2. Swap the camera to back-facing camera
  3. Unpublish the live stream
  4. Publish a new live stream again

Expected Result:
Everything should work fine

Actual Result:
App crashed

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setDisplayOrientation(int)' on a null object reference

It's only happening when I unpublish with the back-facing camera, at least in my case.

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

1 participant