@@ -77,6 +77,7 @@ MediaSettingsRange.prototype.step;
77
77
* @interface
78
78
* @see https://www.w3.org/TR/mediacapture-streams/#idl-def-MediaTrackCapabilities
79
79
* @see https://w3c.github.io/mediacapture-image/#mediatrackcapabilities-section
80
+ * @see https://www.w3.org/TR/screen-capture
80
81
*/
81
82
function MediaTrackCapabilities ( ) { }
82
83
@@ -158,8 +159,18 @@ MediaTrackCapabilities.prototype.zoom
158
159
/** @type {boolean } */
159
160
MediaTrackCapabilities . prototype . torch
160
161
162
+ /** @type {string|undefined } */
163
+ MediaTrackCapabilities . prototype . displaySurface ;
164
+
165
+ /** @type {boolean|undefined } */
166
+ MediaTrackCapabilities . prototype . logicalSurface ;
167
+
168
+ /** @type {Array<string> } */
169
+ MediaTrackCapabilities . prototype . cursor ;
170
+
161
171
/**
162
172
* @interface
173
+ * @see https://www.w3.org/TR/screen-capture
163
174
* @see https://www.w3.org/TR/screen-capture/#extensions-to-mediatracksettings
164
175
* @see https://www.w3.org/TR/mediacapture-streams/#media-track-settings
165
176
* @see https://w3c.github.io/mediacapture-image/#mediatracksettings-section
@@ -187,6 +198,18 @@ MediaTrackSettings.prototype.resizeMode;
187
198
/** @type {string|undefined } */
188
199
MediaTrackSettings . prototype . displaySurface ;
189
200
201
+ /** @type {boolean|undefined } */
202
+ MediaTrackSettings . prototype . logicalSurface ;
203
+
204
+ /** @type {string|undefined } */
205
+ MediaTrackSettings . prototype . cursor ;
206
+
207
+ /** @type {boolean|undefined } */
208
+ MediaTrackSettings . prototype . restrictOwnAudio ;
209
+
210
+ /** @type {boolean|undefined } */
211
+ MediaTrackSettings . prototype . suppressLocalAudioPlayback ;
212
+
190
213
/** @type {number } */
191
214
MediaTrackSettings . prototype . volume ;
192
215
@@ -260,6 +283,8 @@ MediaTrackSettings.prototype.torch
260
283
/**
261
284
* @interface
262
285
* @see https://w3c.github.io/mediacapture-main/#media-track-supported-constraints
286
+ * @see https://w3c.github.io/mediacapture-screen-share/#extensions-to-mediatracksupportedconstraints
287
+ * @see https://www.w3.org/TR/screen-capture
263
288
*/
264
289
function MediaTrackSupportedConstraints ( ) { }
265
290
@@ -311,6 +336,20 @@ MediaTrackSupportedConstraints.prototype.deviceId;
311
336
/** @type {boolean|undefined } */
312
337
MediaTrackSupportedConstraints . prototype . groupId ;
313
338
339
+ /** @type {boolean|undefined } */
340
+ MediaTrackSupportedConstraints . prototype . displaySurface ;
341
+
342
+ /** @type {boolean|undefined } */
343
+ MediaTrackSupportedConstraints . prototype . logicalSurface ;
344
+
345
+ /** @type {boolean|undefined } */
346
+ MediaTrackSupportedConstraints . prototype . cursor ;
347
+
348
+ /** @type {boolean|undefined } */
349
+ MediaTrackSupportedConstraints . prototype . restrictOwnAudio ;
350
+
351
+ /** @type {boolean|undefined } */
352
+ MediaTrackSupportedConstraints . prototype . suppressLocalAudioPlayback ;
314
353
315
354
/**
316
355
* @constructor
@@ -1179,6 +1218,8 @@ var ConstrainLong;
1179
1218
1180
1219
/**
1181
1220
* @see https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediatrackconstraintset
1221
+ * @see https://w3c.github.io/mediacapture-screen-share/#extensions-to-mediatrackconstraintset
1222
+ * @see https://www.w3.org/TR/screen-capture
1182
1223
* @record
1183
1224
*/
1184
1225
function MediaTrackConstraintSet ( ) { }
@@ -1263,6 +1304,20 @@ MediaTrackConstraintSet.prototype.volume;
1263
1304
*/
1264
1305
MediaTrackConstraintSet . prototype . width ;
1265
1306
1307
+ /** @type {ConstrainDOMString|undefined } */
1308
+ MediaTrackConstraintSet . prototype . displaySurface ;
1309
+
1310
+ /** @type {ConstrainBoolean|undefined } */
1311
+ MediaTrackConstraintSet . prototype . logicalSurface ;
1312
+
1313
+ /** @type {ConstrainDOMString|undefined } */
1314
+ MediaTrackConstraintSet . prototype . cursor ;
1315
+
1316
+ /** @type {ConstrainBoolean|undefined } */
1317
+ MediaTrackConstraintSet . prototype . restrictOwnAudio ;
1318
+
1319
+ /** @type {ConstrainBoolean|undefined } */
1320
+ MediaTrackConstraintSet . prototype . suppressLocalAudioPlayback ;
1266
1321
1267
1322
/**
1268
1323
* @record
0 commit comments