mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
17 lines
469 B
Plaintext
17 lines
469 B
Plaintext
// https://w3c.github.io/mediacapture-main/#dom-mediadevicekind
|
|
enum MediaDeviceKind {
|
|
"audioinput",
|
|
"audiooutput",
|
|
"videoinput"
|
|
};
|
|
|
|
// https://w3c.github.io/mediacapture-main/#mediadeviceinfo
|
|
[Exposed=Window, SecureContext]
|
|
interface MediaDeviceInfo {
|
|
readonly attribute DOMString deviceId;
|
|
readonly attribute MediaDeviceKind kind;
|
|
readonly attribute DOMString label;
|
|
readonly attribute DOMString groupId;
|
|
[Default] object toJSON();
|
|
};
|