Re: Rendering on a <canvas>

On 04/30/2012 07:57 PM, Anant Narayanan wrote:
> Hi all,
>
> As we try to resolve the<video>  assignment issue, I'd like begin the
> <canvas>  discussion in parallel.
>
> I propose that we allow direct assignment of a MediaStream to a<canvas>
> object, like so:
>
> let stream = [MediaStream obtained by some means]
> let ctx = document.getElementById('canvas').getContext('2d');
> ctx.stream = stream;

If I understand correctly, this would mean that "stream" is added to the 
2d and webgl contexts of canvas. I guess that those specs should be 
updated if we choose to follow this path.

Received on Tuesday, 1 May 2012 06:06:44 UTC