Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Steam video from camera to HTML5 canvas in web view: Is it possible?

$
0
0

Hi. I'm aiming to build an augmented reality (AR) app, superimposing a 3D model over a live camera view. One way to do this is to make use of the JSARToolKit JavaScript library, HTML5 canvas and getUserMedia() JavaScript function (no actual app required!)... Here's a very nice blog post on capturing video and example of the augmented part with a pre-recorded video (I'm going for live video).

However, Apple Safari (Desktop and iOS) doesn't support streaming video using getUserMedia() or from the camera to a web page without some kind of extra plugin. Some people have gotten around this with a PhoneGap solution (reading rumors, not finding the exact solution yet), or some other native voodoo.

Do you know where I can find iOS native voodoo I can plug into a Ti web view or some other general ideas I can look into? I did see a nice AR solution in the Appcelerator Marketplace, but it costs a lot for a license that covers 6 months... I might still look into it but want to explore all options first.

Thanks for taking a look. :D


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>