W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2012

Re: Describing recording by means of the Media Source interface

From: Rich Tibbett <richt@opera.com>
Date: Thu, 23 Aug 2012 19:13:18 +0200
Message-ID: <503664AE.3070607@opera.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:11 UTC