@@ -229,10 +229,8 @@ <h3>MediaDevices.setCaptureHandleConfig()</h3>
229
229
< ol >
230
230
< li >
231
231
For every capturing application for which the new [=observable=] {{CaptureHandle}}
232
- is different than prior to the call to {{MediaDevices/setCaptureHandleConfig}}, an
233
- event of type {{CaptureHandleChangeEvent}} must be fired with
234
- {{CaptureHandleChangeEvent/captureHandle}} set to the new [=observable=]
235
- {{CaptureHandle}}.
232
+ is different than prior to the call to {{MediaDevices/setCaptureHandleConfig}},
233
+ the user agent MUST fire an event named [=capturehandlechange=].
236
234
</ li >
237
235
< li >
238
236
The user agent MUST report the new [=observable=] {{CaptureHandle}} whenever
@@ -349,11 +347,11 @@ <h3>MediaStreamTrack.getCaptureHandle()</h3>
349
347
</ section >
350
348
< section id ="events ">
351
349
< h3 > On-Change Event</ h3 >
352
- < section id ="capture-handle-change-event ">
353
- < h4 > < dfn > CaptureHandleChangeEvent </ dfn > </ h4 >
350
+ < section id ="capturehandlechange ">
351
+ < h4 > < dfn > capturehandlechange </ dfn > </ h4 >
354
352
< p >
355
353
Whenever the [=observable=] {{CaptureHandle}} for a given capturing application changes,
356
- the user agent fires an event of type CaptureHandleChangeEvent . This can happen in the
354
+ the user agent fires an event named [=capturehandlechange=] . This can happen in the
357
355
following cases:
358
356
</ p >
359
357
< ol >
@@ -372,45 +370,6 @@ <h4><dfn>CaptureHandleChangeEvent</dfn></h4>
372
370
Events are not fired when the track [=track/ended|ends=], nor after it
373
371
[=track/ended|ends=].
374
372
</ p >
375
- < pre class ="idl ">
376
- [Exposed=Window]
377
- interface CaptureHandleChangeEvent : Event {
378
- constructor(optional CaptureHandleChangeEventInit init = {});
379
- [SameObject] CaptureHandle captureHandle();
380
- };
381
- </ pre >
382
- < dl data-link-for ="CaptureHandleChangeEvent " data-dfn-for ="CaptureHandleChangeEvent ">
383
- < dt >
384
- < dfn > captureHandle</ dfn >
385
- </ dt >
386
- < dd >
387
- < p >
388
- The track's {{CaptureHandle}} at the time the event was fired, as [=observable=] by
389
- the capturing application. If not [=observable=] by the capturing application, all
390
- of {{CaptureHandle}}'s fields will be set to their default value - the empty
391
- {{DOMString}}.
392
- </ p >
393
- </ dd >
394
- </ dl >
395
- </ section >
396
- < section >
397
- < h4 > < dfn > CaptureHandleChangeEventInit</ dfn > </ h4 >
398
- < pre class ="idl ">
399
- dictionary CaptureHandleChangeEventInit : EventInit {
400
- CaptureHandle captureHandle;
401
- };
402
- </ pre >
403
- < dl
404
- data-link-for ="CaptureHandleChangeEventInit "
405
- data-dfn-for ="CaptureHandleChangeEventInit "
406
- >
407
- < dt >
408
- < dfn > captureHandle</ dfn >
409
- </ dt >
410
- < dd >
411
- < p > The track's {{CaptureHandle}} at the time the event was fired.</ p >
412
- </ dd >
413
- </ dl >
414
373
</ section >
415
374
< section id ="oncapturehandlechange ">
416
375
< h4 > < dfn > oncapturehandlechange</ dfn > </ h4 >
@@ -428,7 +387,7 @@ <h4><dfn>oncapturehandlechange</dfn></h4>
428
387
< dfn > oncapturehandlechange</ dfn >
429
388
</ dt >
430
389
< dd >
431
- < p > {{EventHandler}} for events of type {{CaptureHandleChangeEvent}} .</ p >
390
+ < p > {{EventHandler}} for events named [=capturehandlechange=] .</ p >
432
391
</ dd >
433
392
</ dl >
434
393
</ section >
0 commit comments