Takes a snapshot of the live video in a MediaStreamTrack, returning an ImageBitmap, if successful.
Takes a single exposure using the video capture device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.
Returns a reference to the MediaStreamTrack passed to the constructor.
The ImageCapture interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device referenced through a valid MediaStreamTrack.