星期五, 4月 04, 2014

WebRTC + Preloaded Frame Process

Let's Play Fun!
CAUTION: still need to fix the "vertical picture"'s cropping
DD Ref:
1.Basic Tutorial: MDN WebRTC Tutorial
2.Cross Compatibility: Cross-Browser-Compatible-WebRTC
This example is (1) + (2)'s window.URL = window.URL || window.webkitURL || window.mozURL || window.msURL;
This is a light, simple, fast demo of WebRTC picture shot.
The preloaded frame on Preview WebRTC is img with remote link. This image doesn't need to be processed by Pixastic's Canvas





photo

The image here is expressed by dataURL type due to this image will be processed by Pixastic's canvas operation

- jsFiddle demo

沒有留言: