Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. MediaStreamTrack
  4. clone()

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⁩.

Theclone() method of theMediaStreamTrackinterface creates a duplicate of theMediaStreamTrack. This newMediaStreamTrack object is identical except for its uniqueid.

Syntax

js
clone()

Parameters

None.

Return value

A newMediaStreamTrack instance which is identical to the oneclone() was called, except for its new uniqueid.

Specifications

Specification
Media Capture and Streams
# dom-mediastreamtrack-clone

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp