Although getusermedia/sources/js/main.js detects two cameras on my Android phone (Nexus4 with kitkat), the second camera stream stays black when switching. Both cameras are working, so I see the stream of camera1 if I select that one first, but when switching to camera2 afterwards, then camera2 stays black. Same vice versa. I see the stream of camera2 if I select that one first, but when switching to camera1 afterwards, then camera1 stays black. Pretty weird.
Not sure if it's an Android issue, or if you need specific code to properly switch cameras on Android on the fly?
Hi,
Although getusermedia/sources/js/main.js detects two cameras on my Android phone (Nexus4 with kitkat), the second camera stream stays black when switching. Both cameras are working, so I see the stream of camera1 if I select that one first, but when switching to camera2 afterwards, then camera2 stays black. Same vice versa. I see the stream of camera2 if I select that one first, but when switching to camera1 afterwards, then camera1 stays black. Pretty weird.
Not sure if it's an Android issue, or if you need specific code to properly switch cameras on Android on the fly?
Works flawlessly on the Desktop though.
Andreas