From df821208c608de1b7cdc6fe69ae28724ac1f01a0 Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 14 Oct 2021 00:47:38 +0000 Subject: [CRON] sync translated content --- .../rtcpeerconnection/rtcpeerconnection/index.html | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 files/ja/web/api/rtcpeerconnection/rtcpeerconnection/index.html (limited to 'files/ja/web/api/rtcpeerconnection') 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 +--- +

{{APIRef("WebRTC")}}RTCConfigurationは、{{domxref("RTCPeerConnection")}} オブジェクトを介して ice server設定を初期化するためのものです 。 

+ +

+ +
var configuration = { iceServers: [{ url: "stun:stun.services.mozilla.com",
+                                     username: "louis@mozilla.com",
+                                     credential: "webrtcdemo" }]
+}
+var pc = new RTCPeerConnection(configuration);
+ +

プロパティ

+ + + + + + + + + + + + + + + + +
名前説明
iceServersRTCIceServer[]ice server オブジェクトの配列
+ +

RTCIceServer プロパティ

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
名前説明
url{{domxref("DOMString")}}使用するTURNまたはSTUNサーバーのURL
username{{domxref("DOMString")}}アカウントのユーザ名 (任意)
credential{{domxref("DOMString")}}ユーザ名に関連付けられたパスワード (任意)
+ +

 

-- cgit v1.2.3-54-g00ecf