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

Demo app: Sometimes camera is not working at all #1158

Open
Miara opened this issue Aug 22, 2024 · 3 comments
Open

Demo app: Sometimes camera is not working at all #1158

Miara opened this issue Aug 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Miara
Copy link

Miara commented Aug 22, 2024

Describe the bug
Sometimes when I start call, camera is not working. It happens randomly. when I start call 3-4 times, I will always recreate it at least 1 time.

SDK version

  • 10.0.12

To Reproduce
Steps to reproduce the behavior:

  1. Open demo-app and start call
  2. Grant camera permission
  3. Click on 'Join call'
  4. Sometimes camera is not working, and clicking on camera button doesn't work

Expected behavior
Camera should work

Device:

  • Vendor and model: Samsung Galaxy Note 10+
  • Android version: 12

Screenshots
image

@Miara Miara added the bug Something isn't working label Aug 22, 2024
@aleksandar-apostolov
Copy link
Collaborator

Hi @Miara

Thanks for your report.
I was unable to reproduce this on a Pixel 7 (Android 14) and a Xiaomi Redmi SE Pad.
In general I don't think this is an SDK issue, since the camera is disconnected and I suspect its device related or something similar, we cannot do much if the camera is disconnected in this way.
A solution would be more in the direction to try to restart the camera or notify the user that their camera is not working.

To clarify maybe you can provide further information:

  1. Does this happen with the device camera or an external camera?
  2. Is there a way to reliably reproduce this? Maybe another app is running that uses the camera etc..
  3. Has it happened on other apps on the same device?

Thanks for your update,
Regards,
Alex

@aleksandar-apostolov aleksandar-apostolov added the waiting for response Further information is requested label Aug 26, 2024
@Miara
Copy link
Author

Miara commented Aug 28, 2024

Hi Alex! Thanks for your response

Regarding your questions:

  1. It happens on the device camera
  2. It seems to be random issue.
  3. No - it doesn't happen on other apps.

If you find it helpful, here is logcat file with demo-app logs:

camera_missing.txt

@github-actions github-actions bot removed the waiting for response Further information is requested label Aug 28, 2024
@aleksandar-apostolov
Copy link
Collaborator

Hi @Miara

Thanks for the logs, we are going to look into those. We tried also to reproduce it on other devices and it happened only once, randomly, so not much luck in debugging it.
Hope with your additional logs we can do better.

Thanks,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants