Draw a frame from the video onto the canvas element using the drawImage() method.
drawImage()
The variables canvas, video and stream are in global scope, so you can inspect them from the console.
canvas
video
stream