- From: Rich Tibbett <richt@opera.com>
- Date: Thu, 23 Aug 2012 19:13:18 +0200
- To: Josh Soref <jsoref@rim.com>
- CC: Media Capture <public-media-capture@w3.org>
Josh Soref wrote: > Rich wrote: >> How is this not possible with the following existing pipeline: >> >> MediaStream -> HTMLAudioElement -> Web Audio API [1] -> WebSockets -> >> ASR Service > > Technically, I think you can do something similar for video: > > MediaStream -> HTMLVideoElement -> HTMLCanvas.drawImage() -> HTMLCanvas.toDataURL() Correct. Though I think you meant HTMLCanvas.getImageData() in the last step, which will give you a Uint8ClampedArray of raw image byte data.
Received on Thursday, 23 August 2012 17:13:53 UTC