unable to switch camera on android devices
praveshkhatana opened this issue · 8 comments
Camera selection isn't working on android devices(browser).
Hi @praveshkhatana, thanks for the report. Can you give me a bit more detail please? Are you seeing any error messages, for example? The more detail you can give, the more chance I can find out what's going on.
Thanks!
Hi @philnash,
I am simply trying to run your code preview in the android browser. It is showing all available cameras list in the dropdown but nothing happens upon selection.
Even tried to stop localVideotrack
before initiating Video.createVideoTrack
current twilio-video version 2.3.0
if (previewTracks) {
previewTracks.forEach(function (track) {
track.stop();
});
}
Video.createLocalVideoTrack({
I haven't run this project for a while. I'll take a look and see what I find.
Does the simple example, without video chat, work for you? (Note, you have to press the button on this one to change the camera.)
Please check it on samsung s8/s9 device.
I'll have to leave you to check it on the Samsung devices. I have a Motorola Moto G4 for Android testing. Will be looking at this soon.
Ok, I've pushed an update that seemed to work for me. Give it a test and see what happens.
Thanks @philnash, finally it's fixed