Advertisement
Guest User

Untitled

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