opentok / opentok-android-sdk-samples

Sample applications illustrating best practices using OpenTok Android SDK.
https://tokbox.com/developer/sdks/android/
MIT License
210 stars 169 forks source link

Camera preview showing black screen when Resume #440

Closed gitanshubatra239 closed 1 year ago

gitanshubatra239 commented 1 year ago

I've taken help from "Basic-Video-Capturer-Camera-Camera2-java" repo. I am getting issue when i send the app to the background, and resuming the app again. I am getting black screen shown on the publisher view.

code reference: publisher = new Publisher.Builder(context) .capturer(new CameraCaptureClass(context)) .build();

and I've used "MirrorVideoCapture" class as my CameraCaptureClass. Please let me know if any other information is required to look into this issue.

gitanshubatra239 commented 1 year ago

Hey, please update

v-kpheng commented 1 year ago

Thanks, @gitanshubatra239, for filing this issue. Some key details are missing, however, which may make root cause difficult. I'm going to close this issue as a result. Can you please refile using the Bug report template? It asks you some critical details which will help us immensely.

Thanks!