From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/rtcpeerconnectioniceevent/index.html | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 files/ja/web/api/rtcpeerconnectioniceevent/index.html (limited to 'files/ja/web/api/rtcpeerconnectioniceevent') diff --git a/files/ja/web/api/rtcpeerconnectioniceevent/index.html b/files/ja/web/api/rtcpeerconnectioniceevent/index.html new file mode 100644 index 0000000000..124472eda4 --- /dev/null +++ b/files/ja/web/api/rtcpeerconnectioniceevent/index.html @@ -0,0 +1,113 @@ +--- +title: RTCPeerConnectionIceEvent +slug: Web/API/RTCPeerConnectionIceEvent +translation_of: Web/API/RTCPeerConnectionIceEvent +--- +

{{APIRef("WebRTC")}}{{SeeCompatTable}}

+ +

RTCPeerConnectionIceEvent インタフェースは、通常 {{domxref("RTCPeerConnection")}}のICE候補に関連して発生するイベントを表現します。イベントのタイプは{{event("icecandidate")}}です。

+ +

プロパティ

+ +

{{domxref("RTCPeerConnectionIceEvent")}} は {{domxref("Event")}} であり, {{domxref("Event")}}のプロパティも実装されています。

+ +
+
{{domxref("RTCPeerConnectionIceEvent.candidate")}} {{readOnlyInline}}
+
このイベントに関連した候補を含む{{domxref("RTCIceCandidate")}}です。
+
+ +

コンストラクタ

+ +
+
{{domxref("RTCPeerConnectionIceEvent.RTCPeerConnectionIceEvent()", "RTCPeerConnectionIceEvent()")}}
+
新しいRTCPeerConnectionIceEventを返します。このコンストラクタは2つの引数を持ち、最初の引数はイベントのタイプを表す{{domxref("DOMString")}}であり、二つ目の引数は、{{domxref("RTCIceCandidate")}}を含むディクショナリです。
+
+ +

メソッド

+ +

{{domxref("RTCPeerConnectionIceEvent")}} は {{domxref("Event")}}であり、このイベントは{{domxref("Event")}}のプロパティも実装します。具体的な {{domxref("RTCPeerConnectionIceEvent")}} メソッドはありません。

+ +

+ +
pc.onicecandidate = function( ev ) {
+                      alert("The ICE candidate (transport address: '" +
+                            ev.candidate.candidate +
+                            "') has been added to this connection.");
+                   }
+
+ +

仕様

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{ SpecName('WebRTC 1.0', '#idl-def-RTCPeerConnectionIceEvent', 'RTCPeerConnectionIceEvent') }}{{Spec2('WebRTC 1.0')}}Initial definition.
+ +

ブラウザ互換性

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown }}{{ CompatNo() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
+
+ +

その他の記事

+ + -- cgit v1.2.3-54-g00ecf