ImageCapture.track
The track
read-only property of the ImageCapture
interface returns a reference to the MediaStreamTrack
passed to the ImageCapture()
constructor.
Syntax
const mediaStreamTrack = imageCaptureObj.track
Value
A MediaStreamTrack
object.
Specifications
Specification |
---|
MediaStream Image Capture # dom-imagecapture-track |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
track |
59 |
≤79 |
No
See bug 888177.
|
No |
46 |
No |
59 |
59 |
No
See bug 888177.
|
43 |
No |
7.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ImageCapture/track