Web platform features explorer

captureStream() for <audio> and <video>

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.

Status

Limited availability

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
  • Safari on iOS

Baseline availability blocked since March 2026 by Safari (1 months)

Developer votes

Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.