@webref/idl 3.17.1 → 3.17.2

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.
@@ -36,5 +36,5 @@ dictionary PressureRecord {
36
36
  };
37
37
 
38
38
  dictionary PressureObserverOptions {
39
- double sampleRate;
39
+ double sampleRate = 1.0;
40
40
  };
package/media-source.idl CHANGED
@@ -17,7 +17,10 @@ enum EndOfStreamError {
17
17
  [Exposed=(Window,DedicatedWorker)]
18
18
  interface MediaSource : EventTarget {
19
19
  constructor();
20
- [SameObject] readonly attribute MediaSourceHandle handle;
20
+
21
+ [ SameObject, Exposed=DedicatedWorker ]
22
+ readonly attribute MediaSourceHandle handle;
23
+
21
24
  readonly attribute SourceBufferList sourceBuffers;
22
25
  readonly attribute SourceBufferList activeSourceBuffers;
23
26
  readonly attribute ReadyState readyState;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.17.1",
4
+ "version": "3.17.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/video-rvfc.idl CHANGED
@@ -3,7 +3,7 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: HTMLVideoElement.requestVideoFrameCallback() (https://wicg.github.io/video-rvfc/)
5
5
 
6
- dictionary VideoFrameMetadata {
6
+ dictionary VideoFrameCallbackMetadata {
7
7
  required DOMHighResTimeStamp presentationTime;
8
8
  required DOMHighResTimeStamp expectedDisplayTime;
9
9
 
@@ -19,7 +19,7 @@ dictionary VideoFrameMetadata {
19
19
  unsigned long rtpTimestamp;
20
20
  };
21
21
 
22
- callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now, VideoFrameMetadata metadata);
22
+ callback VideoFrameRequestCallback = undefined(DOMHighResTimeStamp now, VideoFrameCallbackMetadata metadata);
23
23
 
24
24
  partial interface HTMLVideoElement {
25
25
  unsigned long requestVideoFrameCallback(VideoFrameRequestCallback callback);
package/webrtc-stats.idl CHANGED
@@ -159,6 +159,7 @@ dictionary RTCAudioSourceStats : RTCMediaSourceStats {
159
159
  double echoReturnLoss;
160
160
  double echoReturnLossEnhancement;
161
161
  double droppedSamplesDuration;
162
+ unsigned long droppedSamplesEvents;
162
163
  double totalCaptureDelay;
163
164
  unsigned long long totalSamplesCaptured;
164
165
  };
@@ -171,10 +172,11 @@ dictionary RTCVideoSourceStats : RTCMediaSourceStats {
171
172
  };
172
173
 
173
174
  dictionary RTCAudioPlayoutStats : RTCStats {
174
- double synthesizedSamplesDuration;
175
- double totalSamplesDuration;
176
- double totalPlayoutDelay;
177
- double totalSamplesCount;
175
+ double synthesizedSamplesDuration;
176
+ unsigned long synthesizedSamplesEvents;
177
+ double totalSamplesDuration;
178
+ double totalPlayoutDelay;
179
+ double totalSamplesCount;
178
180
  };
179
181
 
180
182
  dictionary RTCPeerConnectionStats : RTCStats {
package/webxrlayers.idl CHANGED
@@ -16,6 +16,7 @@ enum XRLayerLayout {
16
16
 
17
17
  attribute boolean blendTextureSourceAlpha;
18
18
  attribute boolean? chromaticAberrationCorrection;
19
+ attribute boolean forceMonoPresentation;
19
20
  attribute float opacity;
20
21
  readonly attribute unsigned long mipLevels;
21
22