---
id: "capture-stream-canvas"
kind: "web-feature"
canonical: "https://timetostable.com/feature/capture-stream-canvas"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# captureStream() for <canvas> (`capture-stream-canvas`)

The captureStream() method for <canvas> elements returns a MediaStream which includes a CanvasCaptureMediaStreamTrack representing real-time video of the canvas image. You can use this to record the canvas, or send it elsewhere, such as another canvas or WebRTC connection.

- **Group**: Canvas
- **Baseline**: Widely Available
- **Newly Available Date**: 2020-01-15
- **Widely Available Date**: 2022-07-15
- **Specification**: https://w3c.github.io/mediacapture-fromelement/#html-canvas-element-media-capture-extensions
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 43 | 2015-12-15 |
| Firefox for Android | 43 | 2015-12-15 |
| Chrome | 51 | 2016-05-25 |
| Chrome Android | 51 | 2016-06-08 |
| Safari | 11 | 2017-09-19 |
| Safari on iOS | 11 | 2017-09-19 |
| Edge | 79 | 2020-01-15 |

