14 lines
499 B
Text
14 lines
499 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into webref
|
|
// (https://github.com/w3c/webref)
|
|
// Source: Viewport Capture (https://w3c.github.io/mediacapture-viewport/)
|
|
|
|
partial interface MediaDevices {
|
|
Promise<MediaStream> getViewportMedia(
|
|
optional ViewportMediaStreamConstraints constraints = {});
|
|
};
|
|
|
|
dictionary ViewportMediaStreamConstraints {
|
|
(boolean or MediaTrackConstraints) video = true;
|
|
(boolean or MediaTrackConstraints) audio = false;
|
|
};
|