This example uses the captureStream method to capture only video from a video element. The audio is captured using the Web Audio API and combined with the video stream to create a MediaStream.
captureStream
video
MediaStream