Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* This rotation need to be applied since the camera hardware in the
- Galaxy Nexus phone is mounted at an angle inside the device, so the video
- feed is rotated too.
- FIXME: This should come from a system configuration option so that we
- don't have to have a different codebase for each different device we want
- to run on */
- //orientation: device.naturalOrientation === "portrait" ? -90 : 0
- orientation: device.naturalOrientation === "landscape" ? 90 : 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement