W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2017

Re: Recording of divs on a page

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Mon, 20 Nov 2017 11:35:19 +0100
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>, public-webrtc <public-webrtc@w3.org>
Message-ID: <c6c4fb25-f8b0-af0e-3217-85a9695994b0@w3.org>
Le 20/11/2017 à 05:24, Silvia Pfeiffer a écrit :
> Hi all,
> 
> The MediaRecorder API is defined to record media streams (audio or
> video) on a page.
> 
> I remember there were discussions in the past to allow recording of
> divs on a page rather than just MediaStream objects. Does anybody know
> the status of such discussions? I wasn't able to find any specs about
> it.

I think the way you would do this would be to overlay a canvas on the
div, and use Media Capture From Element to get a mediastream out of the
canvas

https://w3c.github.io/mediacapture-fromelement/#html-canvas-element-media-capture-extensions

Dom
Received on Monday, 20 November 2017 10:35:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 20 November 2017 10:35:28 UTC