A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/kind below:

MediaStreamTrack: kind property - Web APIs

MDN Web Docs
  1. References
  2. Web APIs
  3. MediaStreamTrack
  4. kind

Filter sidebar

In this article
  1. Media Capture and Streams API (Media Stream)
  2. MediaStreamTrack
  3. Instance properties
    1. contentHint
    2. enabled
    3. id
    4. kind
    5. label
    6. muted
    7. readyState
  4. Instance methods
    1. applyConstraints()
    2. clone()
    3. getCapabilities()
    4. getConstraints()
    5. getSettings()
    6. stop()
  5. Events
    1. ended
    2. mute
    3. unmute
  6. Inheritance
    1. EventTarget
  7. Related pages for Media Capture and Streams
    1. CanvasCaptureMediaStreamTrack
    2. HTMLCanvasElement.captureStream()
    3. HTMLMediaElement.captureStream()
    4. InputDeviceInfo
    5. MediaDeviceInfo
    6. MediaDevices
    7. MediaStream
    8. MediaStreamTrackEvent
    9. MediaTrackConstraints
    10. MediaTrackSettings
    11. MediaTrackSupportedConstraints
    12. Navigator.mediaDevices
    13. OverconstrainedError
  8. Guides
    1. Capabilities, constraints, and settings
    2. Taking still photos with getUserMedia()
In this article MediaStreamTrack: kind property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2017.

The kind read-only property of the MediaStreamTrack interface returns a string set to "audio" if the track is an audio track and to "video" if it is a video track. It doesn't change if the track is disassociated from its source.

Value

The possible values are a string with one of the following values:

Specifications Specification Media Capture and Streams
# dom-mediastreamtrack-kind
Browser compatibility See also Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Dec 25, 2023 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4