google / model-viewer

Easily display interactive 3D models on the web and in AR!
https://modelviewer.dev
Apache License 2.0
6.88k stars 816 forks source link

Enable video capture with MediaRecorder #1009

Open cdata opened 4 years ago

cdata commented 4 years ago

If we exposed a captureStream method then our users could use MediaRecorder to capture video without any additional coordination on our side.

Our captureStream method would probably have to do two things:

  1. Force multi-context rendering
  2. Forward the result of invoking captureStream on the 2D canvas
cdata commented 4 years ago

Related Twitter thread: https://twitter.com/msolis488/status/1226713803343179776?s=20