-
Notifications
You must be signed in to change notification settings - Fork 95
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
I'm having issues switching cameras on some devices. #2878
Comments
@YamatoRyou Could you please try switching video inputs on this WebRTC test page, and let us know the results? https://webrtc.github.io/samples/src/content/devices/input-output/ If this is a general issue with acquiring media streams from the web browser on this device, as I suspect, I don't believe there's much we can do. |
As of now, I visited the address you provided with the default browser on the device that can reproduce the problem, and the camera can be switched normally. Of course, this is still my perspective. Because the webpage does not provide the ability to view my camera from the other party's perspective. After completing the above test, I returned to Element Call in Element X to repeat the test, and the problem still exists. Please note that this problem can only be reproduced from the other party's perspective. |
Update:
Although the rear camera can be used at this time, if the button at the bottom of the screen is used to switch the camera, the problem reappears, but this time from the other party's perspective, I am stuck at the last moment before switching from the rear camera to the front camera. However, from the EC settings, you can switch cameras at will without getting stuck. All in all on this device, I can only switch cameras through the EC settings instead of the buttons at the bottom of the screen, otherwise, my camera will appear to be stuck in the eyes of the other party. |
Steps to reproduce
Outcome
What did you expect?
n/a
What happened instead?
Attempts to switch cameras failed, and it seemed to the other party¹ that I was stuck at the last moment before switching (but from my perspective, it was fine).
Switching back to the original camera did not solve the problem, and I had to restart the call. Since Element Call currently does not remember my camera or microphone selection in Element X (from my observation, it always uses the front camera), this means that Element Call on this device can never use the rear camera.
This problem only occurs on a specific device, and it can be reproduced on that device whether Element Call is running on Element X or in a browser.
I have 3 devices, test results:
OnePlus MT2110 (Pixel OS, based on Android 14): Successfully reproduced the problem
Mi 9T (MIUI 12.5, based on Android 11): OK
Nokia TA-1054 (based on Andorid 8.1): OK
¹ Refers to Element Desktop, version 1.11.87, running on x64 Windows 11 (10.0.22631)
My Element Call instance cannot submit debug logs, please provide a way to save the logs locally.
Operating system
Pixel OS (Android 14)
Browser information
Chromium 124 / Element X Android 0.7.5
URL for webapp
Element Call 0.7.1 (self-hosted)
Will you send logs?
No
The text was updated successfully, but these errors were encountered: