This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

kind

Summary

Returns the string “audio” if the object represents an audio track or “video” if object represents a video track.

Property of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack

Syntax

Note: This property is read-only.

var result = track.kind;

Return Value

Returns an object of type StringString