aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/mediastream/clone
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/mediastream/clone
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/mediastream/clone')
-rw-r--r--files/ja/web/api/mediastream/clone/index.html91
1 files changed, 91 insertions, 0 deletions
diff --git a/files/ja/web/api/mediastream/clone/index.html b/files/ja/web/api/mediastream/clone/index.html
new file mode 100644
index 0000000000..8769325d73
--- /dev/null
+++ b/files/ja/web/api/mediastream/clone/index.html
@@ -0,0 +1,91 @@
+---
+title: MediaStream.clone()
+slug: Web/API/MediaStream/clone
+translation_of: Web/API/MediaStream/clone
+---
+<p>{{APIRef("Media Capture and Streams")}}</p>
+
+<p>{{domxref("MediaStream")}}インタフェースの<strong><code>clone()</code></strong>メソッドは、その<code>MediaStream</code>の複製を作成します。この新しい<code>MediaStream</code>オブジェクトは、新しい固有の{{domxref("MediaStream.id", "id")}}を持ち、<code>MediaStream</code>に含まれる{{domxref("MediaStreamTrack")}}もそれぞれ<code>clone()</code>を呼び出して得られたものになります。</p>
+
+<h2 id="文法">文法</h2>
+
+<pre class="syntaxbox">var <em>stream</em> = <em>MediaStream</em>.clone();</pre>
+
+<h3 id="パラメータ">パラメータ</h3>
+
+<p>なし。</p>
+
+<h3 id="戻り値">戻り値</h3>
+
+<p>新しい{{domxref("MediaStream")}}インスタンスを返します。このインスタンスは新しい固有IDを持ち、<code>MediaStream</code>に含まれる全ての{{domxref("MediaStreamTrack")}}を含みます。この{{domxref("MediaStreamTrack")}}はそれぞれ<code>clone()</code>によって呼び出されたものになります。</p>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">状況</th>
+ <th scope="col">コメント</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('Media Capture', '#widl-MediaStream-clone-MediaStream', 'MediaStream.clone()')}}</td>
+ <td>{{Spec2('Media Capture')}}</td>
+ <td>初版</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザ互換性">ブラウザ互換性</h2>
+
+<p>{{ CompatibilityTable }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatVersionUnknown }}</td>
+ <td>{{CompatGeckoDesktop(48) }}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>{{ CompatUnknown }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Android Webview</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ <th>Chrome for Android</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>{{ CompatGeckoMobile(48) }}</td>
+ <td>{{CompatGeckoMobile(48) }}</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>{{ CompatVersionUnknown }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>