aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/rtcconfiguration/index.html
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/rtcconfiguration/index.html
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/rtcconfiguration/index.html')
-rw-r--r--files/ja/web/api/rtcconfiguration/index.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/files/ja/web/api/rtcconfiguration/index.html b/files/ja/web/api/rtcconfiguration/index.html
new file mode 100644
index 0000000000..2e26eaceef
--- /dev/null
+++ b/files/ja/web/api/rtcconfiguration/index.html
@@ -0,0 +1,64 @@
+---
+title: RTCConfiguration
+slug: Web/API/RTCConfiguration
+translation_of: Web/API/RTCConfiguration
+---
+<p>{{APIRef("WebRTC")}}<span class="seoSummary"><code>RTCConfigurationは、</code>{{domxref("RTCPeerConnection")}} オブジェクトを介して ice server設定を初期化するためのものです 。 </span></p>
+
+<h2 id="例">例</h2>
+
+<pre class="brush: js">var configuration = { iceServers: [{ url: "stun:stun.services.mozilla.com",
+ username: "louis@mozilla.com",
+ credential: "webrtcdemo" }]
+}
+var pc = new RTCPeerConnection(configuration);</pre>
+
+<h2 id="プロパティ">プロパティ</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">名前</th>
+ <th scope="col">型</th>
+ <th scope="col">説明</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>iceServers</code></td>
+ <td>RTCIceServer[]</td>
+ <td>ice server オブジェクトの配列</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="RTCIceServer_プロパティ">RTCIceServer プロパティ</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">名前</th>
+ <th scope="col">型</th>
+ <th scope="col">説明</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>url</code></td>
+ <td>{{domxref("DOMString")}}</td>
+ <td>使用するTURNまたはSTUNサーバーのURL</td>
+ </tr>
+ <tr>
+ <td><code>username</code></td>
+ <td>{{domxref("DOMString")}}</td>
+ <td>アカウントのユーザ名 (任意)</td>
+ </tr>
+ <tr>
+ <td><code>credential</code></td>
+ <td>{{domxref("DOMString")}}</td>
+ <td>ユーザ名に関連付けられたパスワード (任意)</td>
+ </tr>
+ </tbody>
+</table>
+
+<p> </p>