diff options
author | MDN <actions@users.noreply.github.com> | 2021-10-14 00:47:38 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-10-14 00:47:38 +0000 |
commit | df821208c608de1b7cdc6fe69ae28724ac1f01a0 (patch) | |
tree | 265d5165067499173a2b36626798e3504b291909 /files/ja/web/api/rtcpeerconnection | |
parent | d362676d3d14ab1bf938c80a90b7a6f2665d9f3c (diff) | |
download | translated-content-df821208c608de1b7cdc6fe69ae28724ac1f01a0.tar.gz translated-content-df821208c608de1b7cdc6fe69ae28724ac1f01a0.tar.bz2 translated-content-df821208c608de1b7cdc6fe69ae28724ac1f01a0.zip |
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/api/rtcpeerconnection')
-rw-r--r-- | files/ja/web/api/rtcpeerconnection/rtcpeerconnection/index.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/files/ja/web/api/rtcpeerconnection/rtcpeerconnection/index.html b/files/ja/web/api/rtcpeerconnection/rtcpeerconnection/index.html new file mode 100644 index 0000000000..1527f34ea2 --- /dev/null +++ b/files/ja/web/api/rtcpeerconnection/rtcpeerconnection/index.html @@ -0,0 +1,65 @@ +--- +title: RTCConfiguration +slug: Web/API/RTCPeerConnection/RTCPeerConnection +translation_of: Web/API/RTCConfiguration +original_slug: 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> |