Huh? The continue skips to the end of the loop body, causing it to start the next iteration. The return line is not executed.
I've tested this on my device, and I can switch between both cameras in the browser. There is a bug in the browser though - it doesn't initialize the default camera in Oxide until you've changed the setting in the settings page. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libhybris in Ubuntu. https://bugs.launchpad.net/bugs/1535670 Title: Camera selection doesn't work: it always returns the front camera Status in libhybris package in Ubuntu: New Bug description: When testing webrtc sample apps, I noticed that the camera selection was not working. For example: http://webrtc.github.io/samples/src/content/devices /input-output/ The selected camera is always the front camera. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libhybris/+bug/1535670/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp