kind property
Describes the kind of the represented device.
This property is read-only.
Syntax
| JavaScript |
|---|
ptr = object.kind |
Property values
Type: string
Remarks
MediaStreamTrack.kind will return "audio" if the object represents an audio track or "video" if the object represents a video track.
See also
Show: