captureStream() for <audio> and <video>
Limited availability
The captureStream() method for <audio> and <video> elements returns a MediaStream for the media element's content. You can use this to record media or send it elsewhere, such as a canvas or WebRTC connection.
Browser support
- Chrome 62 Released on 2017-10-17
- Chrome Android 62 Released on 2017-10-24
- Edge 79 Released on 2020-01-15
- Firefox 149 Released on 2026-03-24
- Firefox for Android 149 Released on 2026-03-24
- Safari Not supported
- Safari on iOS Not supported
Baseline availability blocked since March 2026 by Safari (4 months)
Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.
MDN documentation
Specifications
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist