mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add MediaDevices::GetUserMedia
This commit is contained in:
parent
eee183d7f4
commit
8b0719a6f2
5 changed files with 40 additions and 12 deletions
|
@ -18,7 +18,7 @@ partial interface Navigator {
|
|||
|
||||
partial interface MediaDevices {
|
||||
// MediaTrackSupportedConstraints getSupportedConstraints();
|
||||
// Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints);
|
||||
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue