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

Choose camera in multi-camera mobile devices #6829

Closed
mjk-gh opened this issue May 22, 2020 · 5 comments
Closed

Choose camera in multi-camera mobile devices #6829

mjk-gh opened this issue May 22, 2020 · 5 comments
Labels
devices Issue related to bug or hardware problems like microphone or camera mobile Issue related to any mobile system running Jitsi Meet wontfix Issue won't be fixed

Comments

@mjk-gh
Copy link

mjk-gh commented May 22, 2020

Please let people choose from a list of all available cameras on a
multiple-camera mobile device.

Example of an open-source camera app that has this ability: OpenCamera:

https://opencamera.sourceforge.io/
(Available on F-Droid)

It can also determine if a camera is a front- or back-camera. As of 1.48.1,
it has 1 flip front/back icon (alas, it doesn't remember which back camera
was selected last) and directly above that icon, it has another icon, which
enables you to cycle through all availble back-cameras (or probably front-
cameras, if you had multiple of those and were in front-camera mode) by
pressing it shortly. One of my back-cameras gets listed under 2 different IDs,
but I can live with such a small bug.

Suggestion:

Add one icon to the main screen, between the camera on/off icon and the
overflow menu (3 vertical dots); I think there should be just enough space
left to press all buttons comfortably, even on devices with a smaller screen.
Short-pressing this new icon acts as "toggle camera between (last selected)
front-camera and (last selected) back-camera", while long-pressing it opens
a list of cameras for the current mode (front or back), with their name (if
available) and their IDs, e.g.

3: Back camera, ultra-wide
4: Back camera, normal
5: Back camera, tele
6: Back camera, <unknown>

and if in front-camera mode, the list would look similar:

1: Front camera, normal
2: Front camera, eye lash mites analysis mode

Thanks for your consideration!

@luixxiul luixxiul added devices Issue related to bug or hardware problems like microphone or camera mobile Issue related to any mobile system running Jitsi Meet labels May 22, 2020
@stale
Copy link

stale bot commented Aug 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Issue won't be fixed label Aug 22, 2020
@stale stale bot closed this as completed Aug 29, 2020
@rananajam1
Copy link

Hey @mjk-gh did you find a solution for this?

@mjk-gh
Copy link
Author

mjk-gh commented Sep 17, 2020

Alas, not yet; version 20.3.2 of Jitsi still doesn't seem to let the user choose all cameras.

As soon as I find some time, I am going to (re-)visit

  • Riot
  • Jami
  • Wire

and check out their video conferencing practicability, including selection of cameras.

If you don't mind giving away your telephone number, you could also try "Signal".

@rananajam1
Copy link

Wonderful. Thanks man @mjk-gh

@mjk-gh
Copy link
Author

mjk-gh commented Jan 25, 2021

Just tried to narrow down how OpenCamera selects different cameras
and hoped that I could give some hints to the Jitsi developers on how
to copy the appropriate code and/or algorithm from OpenCamera.

Alas, it seems that while OpenCamera uses the official Android
APIs android.hardware.camera and android.hardware.camera2,
Jitsi Meet /claims/ to use android.hardware.camera in their
Manifest file, but instead uses ... I don't know, I could not identify
it, it's all some JavaScript black magic.

I hope one of these days someone takes pity on us "poor" :-} multi-
camera users, because the default non-wide-angle back camera
picked on my phone is really annoying. :-/

Also: Why is toggling between back and front camera not on a
button/icon (be it short-tap or long-tap), but in an extra popup
under "More options ..."? Maybe I should open an extra issue
for that ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Issue related to bug or hardware problems like microphone or camera mobile Issue related to any mobile system running Jitsi Meet wontfix Issue won't be fixed
Projects
None yet
Development

No branches or pull requests

3 participants