Re: Describing recording by means of the Media Source interface

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