From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/rtcconfiguration/index.html | 64 ++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 files/ja/web/api/rtcconfiguration/index.html (limited to 'files/ja/web/api/rtcconfiguration/index.html') 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 +--- +

{{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