@webref/idl 3.29.0 → 3.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +19 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +16 -0
- package/compute-pressure.idl +40 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +645 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +97 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2716 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +101 -0
- package/orientation-event.idl +82 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +29 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessForOrigin.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +57 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +52 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +240 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +63 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +44 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +110 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +251 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +349 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1267 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +628 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Identity for WebRTC 1.0 (https://w3c.github.io/webrtc-identity/)
|
|
5
|
+
|
|
6
|
+
[Global=(Worker,RTCIdentityProvider), Exposed=RTCIdentityProvider]
|
|
7
|
+
interface RTCIdentityProviderGlobalScope : WorkerGlobalScope {
|
|
8
|
+
readonly attribute RTCIdentityProviderRegistrar rtcIdentityProvider;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=RTCIdentityProvider]
|
|
12
|
+
interface RTCIdentityProviderRegistrar {
|
|
13
|
+
undefined register (RTCIdentityProvider idp);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary RTCIdentityProvider {
|
|
17
|
+
required GenerateAssertionCallback generateAssertion;
|
|
18
|
+
required ValidateAssertionCallback validateAssertion;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
callback GenerateAssertionCallback = Promise<RTCIdentityAssertionResult>
|
|
22
|
+
(DOMString contents, DOMString origin, RTCIdentityProviderOptions options);
|
|
23
|
+
|
|
24
|
+
callback ValidateAssertionCallback = Promise<RTCIdentityValidationResult>
|
|
25
|
+
(DOMString assertion, DOMString origin);
|
|
26
|
+
|
|
27
|
+
dictionary RTCIdentityAssertionResult {
|
|
28
|
+
required RTCIdentityProviderDetails idp;
|
|
29
|
+
required DOMString assertion;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
dictionary RTCIdentityProviderDetails {
|
|
33
|
+
required DOMString domain;
|
|
34
|
+
DOMString protocol = "default";
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary RTCIdentityValidationResult {
|
|
38
|
+
required DOMString identity;
|
|
39
|
+
required DOMString contents;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
partial interface RTCPeerConnection {
|
|
43
|
+
undefined setIdentityProvider (DOMString provider, optional RTCIdentityProviderOptions options = {});
|
|
44
|
+
Promise<DOMString> getIdentityAssertion ();
|
|
45
|
+
readonly attribute Promise<RTCIdentityAssertion> peerIdentity;
|
|
46
|
+
readonly attribute DOMString? idpLoginUrl;
|
|
47
|
+
readonly attribute DOMString? idpErrorInfo;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
partial dictionary RTCConfiguration {
|
|
51
|
+
DOMString peerIdentity;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
dictionary RTCIdentityProviderOptions {
|
|
55
|
+
DOMString protocol = "default";
|
|
56
|
+
DOMString usernameHint;
|
|
57
|
+
DOMString peerIdentity;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
[Exposed=Window]
|
|
61
|
+
interface RTCIdentityAssertion {
|
|
62
|
+
constructor(DOMString idp, DOMString name);
|
|
63
|
+
attribute DOMString idp;
|
|
64
|
+
attribute DOMString name;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
partial interface RTCError {
|
|
68
|
+
readonly attribute long? httpRequestStatusCode;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
partial dictionary RTCErrorInit {
|
|
72
|
+
long httpRequestStatusCode;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
// This is an extension of RTCErrorDetailType from [[WEBRTC-PC]]
|
|
76
|
+
// Unfortunately, WebIDL does not support partial enums (yet).
|
|
77
|
+
//
|
|
78
|
+
// partial enum RTCErrorDetailType {
|
|
79
|
+
enum RTCErrorDetailTypeIdp {
|
|
80
|
+
"idp-bad-script-failure",
|
|
81
|
+
"idp-execution-failure",
|
|
82
|
+
"idp-load-failure",
|
|
83
|
+
"idp-need-login",
|
|
84
|
+
"idp-timeout",
|
|
85
|
+
"idp-tls-failure",
|
|
86
|
+
"idp-token-expired",
|
|
87
|
+
"idp-token-invalid",
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
partial dictionary MediaStreamConstraints {
|
|
91
|
+
DOMString peerIdentity;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
partial interface MediaStreamTrack {
|
|
95
|
+
readonly attribute boolean isolated;
|
|
96
|
+
attribute EventHandler onisolationchange;
|
|
97
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebRTC Priority Control API (https://w3c.github.io/webrtc-priority/)
|
|
5
|
+
|
|
6
|
+
enum RTCPriorityType {
|
|
7
|
+
"very-low",
|
|
8
|
+
"low",
|
|
9
|
+
"medium",
|
|
10
|
+
"high"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
partial dictionary RTCRtpEncodingParameters {
|
|
14
|
+
RTCPriorityType priority = "low";
|
|
15
|
+
RTCPriorityType networkPriority;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
partial interface RTCDataChannel {
|
|
19
|
+
readonly attribute RTCPriorityType priority;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
partial dictionary RTCDataChannelInit {
|
|
23
|
+
RTCPriorityType priority = "low";
|
|
24
|
+
};
|
package/webrtc-stats.idl
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Identifiers for WebRTC's Statistics API (https://w3c.github.io/webrtc-stats/)
|
|
5
|
+
|
|
6
|
+
enum RTCStatsType {
|
|
7
|
+
"codec",
|
|
8
|
+
"inbound-rtp",
|
|
9
|
+
"outbound-rtp",
|
|
10
|
+
"remote-inbound-rtp",
|
|
11
|
+
"remote-outbound-rtp",
|
|
12
|
+
"media-source",
|
|
13
|
+
"media-playout",
|
|
14
|
+
"peer-connection",
|
|
15
|
+
"data-channel",
|
|
16
|
+
"stream",
|
|
17
|
+
"track",
|
|
18
|
+
"transport",
|
|
19
|
+
"candidate-pair",
|
|
20
|
+
"local-candidate",
|
|
21
|
+
"remote-candidate",
|
|
22
|
+
"certificate"
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
dictionary RTCRtpStreamStats : RTCStats {
|
|
26
|
+
required unsigned long ssrc;
|
|
27
|
+
required DOMString kind;
|
|
28
|
+
DOMString transportId;
|
|
29
|
+
DOMString codecId;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
dictionary RTCCodecStats : RTCStats {
|
|
33
|
+
required unsigned long payloadType;
|
|
34
|
+
required DOMString transportId;
|
|
35
|
+
required DOMString mimeType;
|
|
36
|
+
unsigned long clockRate;
|
|
37
|
+
unsigned long channels;
|
|
38
|
+
DOMString sdpFmtpLine;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
|
|
42
|
+
unsigned long long packetsReceived;
|
|
43
|
+
long long packetsLost;
|
|
44
|
+
double jitter;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
48
|
+
required DOMString trackIdentifier;
|
|
49
|
+
required DOMString kind;
|
|
50
|
+
DOMString mid;
|
|
51
|
+
DOMString remoteId;
|
|
52
|
+
unsigned long framesDecoded;
|
|
53
|
+
unsigned long keyFramesDecoded;
|
|
54
|
+
unsigned long framesRendered;
|
|
55
|
+
unsigned long framesDropped;
|
|
56
|
+
unsigned long frameWidth;
|
|
57
|
+
unsigned long frameHeight;
|
|
58
|
+
double framesPerSecond;
|
|
59
|
+
unsigned long long qpSum;
|
|
60
|
+
double totalDecodeTime;
|
|
61
|
+
double totalInterFrameDelay;
|
|
62
|
+
double totalSquaredInterFrameDelay;
|
|
63
|
+
unsigned long pauseCount;
|
|
64
|
+
double totalPausesDuration;
|
|
65
|
+
unsigned long freezeCount;
|
|
66
|
+
double totalFreezesDuration;
|
|
67
|
+
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
|
68
|
+
unsigned long long headerBytesReceived;
|
|
69
|
+
unsigned long long packetsDiscarded;
|
|
70
|
+
unsigned long long fecPacketsReceived;
|
|
71
|
+
unsigned long long fecPacketsDiscarded;
|
|
72
|
+
unsigned long long bytesReceived;
|
|
73
|
+
unsigned long nackCount;
|
|
74
|
+
unsigned long firCount;
|
|
75
|
+
unsigned long pliCount;
|
|
76
|
+
double totalProcessingDelay;
|
|
77
|
+
DOMHighResTimeStamp estimatedPlayoutTimestamp;
|
|
78
|
+
double jitterBufferDelay;
|
|
79
|
+
double jitterBufferTargetDelay;
|
|
80
|
+
unsigned long long jitterBufferEmittedCount;
|
|
81
|
+
double jitterBufferMinimumDelay;
|
|
82
|
+
unsigned long long totalSamplesReceived;
|
|
83
|
+
unsigned long long concealedSamples;
|
|
84
|
+
unsigned long long silentConcealedSamples;
|
|
85
|
+
unsigned long long concealmentEvents;
|
|
86
|
+
unsigned long long insertedSamplesForDeceleration;
|
|
87
|
+
unsigned long long removedSamplesForAcceleration;
|
|
88
|
+
double audioLevel;
|
|
89
|
+
double totalAudioEnergy;
|
|
90
|
+
double totalSamplesDuration;
|
|
91
|
+
unsigned long framesReceived;
|
|
92
|
+
DOMString decoderImplementation;
|
|
93
|
+
DOMString playoutId;
|
|
94
|
+
boolean powerEfficientDecoder;
|
|
95
|
+
unsigned long framesAssembledFromMultiplePackets;
|
|
96
|
+
double totalAssemblyTime;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
100
|
+
DOMString localId;
|
|
101
|
+
double roundTripTime;
|
|
102
|
+
double totalRoundTripTime;
|
|
103
|
+
double fractionLost;
|
|
104
|
+
unsigned long long roundTripTimeMeasurements;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
|
|
108
|
+
unsigned long long packetsSent;
|
|
109
|
+
unsigned long long bytesSent;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
113
|
+
DOMString mid;
|
|
114
|
+
DOMString mediaSourceId;
|
|
115
|
+
DOMString remoteId;
|
|
116
|
+
DOMString rid;
|
|
117
|
+
unsigned long long headerBytesSent;
|
|
118
|
+
unsigned long long retransmittedPacketsSent;
|
|
119
|
+
unsigned long long retransmittedBytesSent;
|
|
120
|
+
double targetBitrate;
|
|
121
|
+
unsigned long long totalEncodedBytesTarget;
|
|
122
|
+
unsigned long frameWidth;
|
|
123
|
+
unsigned long frameHeight;
|
|
124
|
+
double framesPerSecond;
|
|
125
|
+
unsigned long framesSent;
|
|
126
|
+
unsigned long hugeFramesSent;
|
|
127
|
+
unsigned long framesEncoded;
|
|
128
|
+
unsigned long keyFramesEncoded;
|
|
129
|
+
unsigned long long qpSum;
|
|
130
|
+
double totalEncodeTime;
|
|
131
|
+
double totalPacketSendDelay;
|
|
132
|
+
RTCQualityLimitationReason qualityLimitationReason;
|
|
133
|
+
record<DOMString, double> qualityLimitationDurations;
|
|
134
|
+
unsigned long qualityLimitationResolutionChanges;
|
|
135
|
+
unsigned long nackCount;
|
|
136
|
+
unsigned long firCount;
|
|
137
|
+
unsigned long pliCount;
|
|
138
|
+
DOMString encoderImplementation;
|
|
139
|
+
boolean powerEfficientEncoder;
|
|
140
|
+
boolean active;
|
|
141
|
+
DOMString scalabilityMode;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
enum RTCQualityLimitationReason {
|
|
145
|
+
"none",
|
|
146
|
+
"cpu",
|
|
147
|
+
"bandwidth",
|
|
148
|
+
"other",
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
dictionary RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
152
|
+
DOMString localId;
|
|
153
|
+
DOMHighResTimeStamp remoteTimestamp;
|
|
154
|
+
unsigned long long reportsSent;
|
|
155
|
+
double roundTripTime;
|
|
156
|
+
double totalRoundTripTime;
|
|
157
|
+
unsigned long long roundTripTimeMeasurements;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
dictionary RTCMediaSourceStats : RTCStats {
|
|
161
|
+
required DOMString trackIdentifier;
|
|
162
|
+
required DOMString kind;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
dictionary RTCAudioSourceStats : RTCMediaSourceStats {
|
|
166
|
+
double audioLevel;
|
|
167
|
+
double totalAudioEnergy;
|
|
168
|
+
double totalSamplesDuration;
|
|
169
|
+
double echoReturnLoss;
|
|
170
|
+
double echoReturnLossEnhancement;
|
|
171
|
+
double droppedSamplesDuration;
|
|
172
|
+
unsigned long droppedSamplesEvents;
|
|
173
|
+
double totalCaptureDelay;
|
|
174
|
+
unsigned long long totalSamplesCaptured;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
dictionary RTCVideoSourceStats : RTCMediaSourceStats {
|
|
178
|
+
unsigned long width;
|
|
179
|
+
unsigned long height;
|
|
180
|
+
unsigned long frames;
|
|
181
|
+
double framesPerSecond;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
dictionary RTCAudioPlayoutStats : RTCStats {
|
|
185
|
+
required DOMString kind;
|
|
186
|
+
double synthesizedSamplesDuration;
|
|
187
|
+
unsigned long synthesizedSamplesEvents;
|
|
188
|
+
double totalSamplesDuration;
|
|
189
|
+
double totalPlayoutDelay;
|
|
190
|
+
unsigned long long totalSamplesCount;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
dictionary RTCPeerConnectionStats : RTCStats {
|
|
194
|
+
unsigned long dataChannelsOpened;
|
|
195
|
+
unsigned long dataChannelsClosed;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
dictionary RTCDataChannelStats : RTCStats {
|
|
199
|
+
DOMString label;
|
|
200
|
+
DOMString protocol;
|
|
201
|
+
unsigned short dataChannelIdentifier;
|
|
202
|
+
required RTCDataChannelState state;
|
|
203
|
+
unsigned long messagesSent;
|
|
204
|
+
unsigned long long bytesSent;
|
|
205
|
+
unsigned long messagesReceived;
|
|
206
|
+
unsigned long long bytesReceived;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
dictionary RTCTransportStats : RTCStats {
|
|
210
|
+
unsigned long long packetsSent;
|
|
211
|
+
unsigned long long packetsReceived;
|
|
212
|
+
unsigned long long bytesSent;
|
|
213
|
+
unsigned long long bytesReceived;
|
|
214
|
+
RTCIceRole iceRole;
|
|
215
|
+
DOMString iceLocalUsernameFragment;
|
|
216
|
+
required RTCDtlsTransportState dtlsState;
|
|
217
|
+
RTCIceTransportState iceState;
|
|
218
|
+
DOMString selectedCandidatePairId;
|
|
219
|
+
DOMString localCertificateId;
|
|
220
|
+
DOMString remoteCertificateId;
|
|
221
|
+
DOMString tlsVersion;
|
|
222
|
+
DOMString dtlsCipher;
|
|
223
|
+
RTCDtlsRole dtlsRole;
|
|
224
|
+
DOMString srtpCipher;
|
|
225
|
+
unsigned long selectedCandidatePairChanges;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
enum RTCDtlsRole {
|
|
229
|
+
"client",
|
|
230
|
+
"server",
|
|
231
|
+
"unknown",
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
dictionary RTCIceCandidateStats : RTCStats {
|
|
235
|
+
required DOMString transportId;
|
|
236
|
+
DOMString? address;
|
|
237
|
+
long port;
|
|
238
|
+
DOMString protocol;
|
|
239
|
+
required RTCIceCandidateType candidateType;
|
|
240
|
+
long priority;
|
|
241
|
+
DOMString url;
|
|
242
|
+
RTCIceServerTransportProtocol relayProtocol;
|
|
243
|
+
DOMString foundation;
|
|
244
|
+
DOMString relatedAddress;
|
|
245
|
+
long relatedPort;
|
|
246
|
+
DOMString usernameFragment;
|
|
247
|
+
RTCIceTcpCandidateType tcpType;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
dictionary RTCIceCandidatePairStats : RTCStats {
|
|
251
|
+
required DOMString transportId;
|
|
252
|
+
required DOMString localCandidateId;
|
|
253
|
+
required DOMString remoteCandidateId;
|
|
254
|
+
required RTCStatsIceCandidatePairState state;
|
|
255
|
+
boolean nominated;
|
|
256
|
+
unsigned long long packetsSent;
|
|
257
|
+
unsigned long long packetsReceived;
|
|
258
|
+
unsigned long long bytesSent;
|
|
259
|
+
unsigned long long bytesReceived;
|
|
260
|
+
DOMHighResTimeStamp lastPacketSentTimestamp;
|
|
261
|
+
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
|
262
|
+
double totalRoundTripTime;
|
|
263
|
+
double currentRoundTripTime;
|
|
264
|
+
double availableOutgoingBitrate;
|
|
265
|
+
double availableIncomingBitrate;
|
|
266
|
+
unsigned long long requestsReceived;
|
|
267
|
+
unsigned long long requestsSent;
|
|
268
|
+
unsigned long long responsesReceived;
|
|
269
|
+
unsigned long long responsesSent;
|
|
270
|
+
unsigned long long consentRequestsSent;
|
|
271
|
+
unsigned long packetsDiscardedOnSend;
|
|
272
|
+
unsigned long long bytesDiscardedOnSend;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
enum RTCStatsIceCandidatePairState {
|
|
276
|
+
"frozen",
|
|
277
|
+
"waiting",
|
|
278
|
+
"in-progress",
|
|
279
|
+
"failed",
|
|
280
|
+
"succeeded"
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
dictionary RTCCertificateStats : RTCStats {
|
|
284
|
+
required DOMString fingerprint;
|
|
285
|
+
required DOMString fingerprintAlgorithm;
|
|
286
|
+
required DOMString base64Certificate;
|
|
287
|
+
DOMString issuerCertificateId;
|
|
288
|
+
};
|
package/webrtc-svc.idl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Scalable Video Coding (SVC) Extension for WebRTC (https://w3c.github.io/webrtc-svc/)
|
|
5
|
+
|
|
6
|
+
partial dictionary RTCRtpEncodingParameters {
|
|
7
|
+
DOMString scalabilityMode;
|
|
8
|
+
};
|