Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/web/api/devicemotionevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The **`DeviceMotionEvent`** interface of the {{domxref("Device Orientation Event

## Static methods

- {{DOMxRef("DeviceMotionEvent.requestPermission_static", "DeviceMotionEvent.requestPermission()")}} {{experimental_inline}}
- {{DOMxRef("DeviceMotionEvent.requestPermission_static", "DeviceMotionEvent.requestPermission()")}}
- : Requests the user's permission to access device motion data from the accelerometer and gyroscope sensors. Returns a {{jsxref("Promise")}} that resolves with a string of `"granted"` or `"denied"`.

## Instance properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "DeviceMotionEvent: requestPermission() static method"
short-title: requestPermission()
slug: Web/API/DeviceMotionEvent/requestPermission_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.DeviceMotionEvent.requestPermission_static
---

{{APIRef("Device Orientation Events")}}{{SeeCompatTable}}{{securecontext_header}}
{{APIRef("Device Orientation Events")}}{{securecontext_header}}

The **`requestPermission()`** static method of the {{domxref("DeviceMotionEvent")}} interface requests the user's permission to access device motion data from the accelerometer and gyroscope sensors. This method requires {{Glossary("transient activation")}}, meaning that it must be triggered by a UI event such as a button click.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/deviceorientationevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The **`DeviceOrientationEvent`** interface of the {{domxref("Device Orientation

## Static methods

- {{domxref("DeviceOrientationEvent.requestPermission_static", "DeviceOrientationEvent.requestPermission()")}} {{experimental_inline}}
- {{domxref("DeviceOrientationEvent.requestPermission_static", "DeviceOrientationEvent.requestPermission()")}}
- : Requests the user's permission to access device orientation data. Returns a {{jsxref("Promise")}} that resolves with a string of `"granted"` or `"denied"`.

## Instance properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "DeviceOrientationEvent: requestPermission() static method"
short-title: requestPermission()
slug: Web/API/DeviceOrientationEvent/requestPermission_static
page-type: web-api-static-method
status:
- experimental
browser-compat: api.DeviceOrientationEvent.requestPermission_static
---

{{APIRef("Device Orientation Events")}}{{SeeCompatTable}}{{securecontext_header}}
{{APIRef("Device Orientation Events")}}{{securecontext_header}}

The **`requestPermission()`** static method of the {{domxref("DeviceOrientationEvent")}} interface requests the user's permission to access device orientation data from the accelerometer and gyroscope sensors. It can also request permission to access magnetometer data when absolute orientation is needed. This method requires {{Glossary("transient activation")}}, meaning that it must be triggered by a UI event such as a button click.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "MediaStreamTrackProcessor: discardedFrames property"
short-title: discardedFrames
slug: Web/API/MediaStreamTrackProcessor/discardedFrames
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.MediaStreamTrackProcessor.discardedFrames
---

{{APIRef("Insertable Streams for MediaStreamTrack API")}}
{{APIRef("Insertable Streams for MediaStreamTrack API")}}{{SeeCompatTable}}

The **`discardedFrames`** property of the {{domxref("MediaStreamTrackProcessor")}} interface returns a number indicating how many frames have been dropped by the processor.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "MediaStreamTrackProcessor: totalFrames property"
short-title: totalFrames
slug: Web/API/MediaStreamTrackProcessor/totalFrames
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.MediaStreamTrackProcessor.totalFrames
---

{{APIRef("Insertable Streams for MediaStreamTrack API")}}
{{APIRef("Insertable Streams for MediaStreamTrack API")}}{{SeeCompatTable}}

The **`totalFrames`** property of the {{domxref("MediaStreamTrackProcessor")}} interface returns a number indicating how many frames have been received by the processor in total.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/rtccertificatestats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The report can be obtained by iterating the {{domxref("RTCStatsReport")}} return
- : A string containing the certificate fingerprint, which is calculated using the hash function specified in [`fingerprintAlgorithm`](/en-US/docs/Web/API/RTCCertificateStats/fingerprintAlgorithm).
- {{domxref("RTCCertificateStats.fingerprintAlgorithm", "fingerprintAlgorithm")}}
- : A string containing the hash function used to compute the certificate [`fingerprint`](/en-US/docs/Web/API/RTCCertificateStats/fingerprint), such as "sha-256".
- {{domxref("RTCCertificateStats.issuerCertificateId", "issuerCertificateId")}}
- {{domxref("RTCCertificateStats.issuerCertificateId", "issuerCertificateId")}} {{experimental_inline}}
- : A string containing the `id` of the {{domxref("RTCCertificateStats")}} object in this report that contains the next certificate in the certificate chain.
This will not be set if the current certificate is a self-signed certificate or the end of the certificate chain (a root certificate).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "RTCCertificateStats: issuerCertificateId property"
short-title: issuerCertificateId
slug: Web/API/RTCCertificateStats/issuerCertificateId
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.RTCStatsReport.type_certificate.issuerCertificateId
---

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

The **`issuerCertificateId`** property of the {{domxref("RTCCertificateStats")}} dictionary is a string containing the {{domxref("RTCCertificateStats.id", "id")}} of the {{domxref("RTCCertificateStats")}} object in this report that contains the next certificate in the certificate chain.

Expand Down
8 changes: 5 additions & 3 deletions files/en-us/web/api/rtcicecandidatepair/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@
title: RTCIceCandidatePair
slug: Web/API/RTCIceCandidatePair
page-type: web-api-interface
status:
- experimental
browser-compat: api.RTCIceCandidatePair
---

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

The **`RTCIceCandidatePair`** dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints. It is used as the return value from {{domxref("RTCIceTransport.getSelectedCandidatePair()")}} to identify the currently-selected candidate pair identified by the ICE agent.

## Instance properties

- {{domxref("RTCIceCandidatePair.local", "local")}}
- {{domxref("RTCIceCandidatePair.local", "local")}} {{experimental_inline}}
- : An {{domxref("RTCIceCandidate")}} describing the configuration of the local end of the connection.
- {{domxref("RTCIceCandidatePair.remote", "remote")}}
- {{domxref("RTCIceCandidatePair.remote", "remote")}} {{experimental_inline}}
- : The **`RTCIceCandidate`** describing the configuration of the remote end of the connection.

## Examples
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/rtcicecandidatepair/local/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "RTCIceCandidatePair: local property"
short-title: local
slug: Web/API/RTCIceCandidatePair/local
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.RTCIceCandidatePair.local
---

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

The **`local`** property of the {{domxref("RTCIceCandidatePair")}} interface specifies the {{domxref("RTCIceCandidate")}} that describes the configuration of the local end of a viable WebRTC connection.

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/rtcicecandidatepair/remote/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "RTCIceCandidatePair: remote property"
short-title: remote
slug: Web/API/RTCIceCandidatePair/remote
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.RTCIceCandidatePair.remote
---

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

The **`remote`** property of the {{domxref("RTCIceCandidatePair")}} interface specifies the {{domxref("RTCIceCandidate")}} that describes the configuration of the remote end of a viable WebRTC connection.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/rtctransportstats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ These statistics can be obtained by iterating the {{domxref("RTCStatsReport")}}
- {{domxref("RTCTransportStats.localCertificateId", "localCertificateId")}} {{optional_inline}}
- : A string containing the id of the local certificate used by this transport.
Only present for DTLS transports, and after DTLS has been negotiated.
- {{domxref("RTCTransportStats.packetsReceived", "packetsReceived")}} {{optional_inline}} {{experimental_inline}}
- {{domxref("RTCTransportStats.packetsReceived", "packetsReceived")}} {{optional_inline}}
- : The total number of packets received on this transport.
- {{domxref("RTCTransportStats.packetsSent", "packetsSent")}} {{optional_inline}} {{experimental_inline}}
- {{domxref("RTCTransportStats.packetsSent", "packetsSent")}} {{optional_inline}}
- : The total number of packets sent over this transport.
- {{domxref("RTCTransportStats.remoteCertificateId", "remoteCertificateId")}} {{optional_inline}}
- : A string containing the id or the remote certificate used by this transport.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "RTCTransportStats: packetsReceived property"
short-title: packetsReceived
slug: Web/API/RTCTransportStats/packetsReceived
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.RTCStatsReport.type_transport.packetsReceived
---

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

The **`packetsReceived`** property of the {{domxref("RTCTransportStats")}} dictionary indicates the total number of packets received on this transport.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/rtctransportstats/packetssent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "RTCTransportStats: packetsSent property"
short-title: packetsSent
slug: Web/API/RTCTransportStats/packetsSent
page-type: web-api-instance-property
status:
- experimental
browser-compat: api.RTCStatsReport.type_transport.packetsSent
---

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

The **`packetsSent`** property of the {{domxref("RTCTransportStats")}} dictionary indicates the total number of packets sent over this transport.

Expand Down
Loading
Loading