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/clone below:

MediaStreamTrack: clone() method - Web APIs

MDN Web Docs
  1. References
  2. Web APIs
  3. MediaStreamTrack
  4. clone()

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
In this article MediaStreamTrack: clone() method

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 clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack. This new MediaStreamTrack object is identical except for its unique id.

Syntax

js

clone()
Parameters

None.

Return value

A new MediaStreamTrack instance which is identical to the one clone() was called, except for its new unique id.

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

.

This page was last modified on Apr 7, 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.3