Example using WebRTC to capture images from a video stream