Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavigatorUserMedia no longer exists #63

Closed
lukebjerring opened this issue Aug 2, 2018 · 3 comments
Closed

NavigatorUserMedia no longer exists #63

lukebjerring opened this issue Aug 2, 2018 · 3 comments

Comments

@lukebjerring
Copy link

lukebjerring commented Aug 2, 2018

Found while authoring web-platform-tests/wpt#12284

getUserMedia in mediacapture-streams adds directly to Navigator.

So, this (mediacapture-screen-share) should be changed to

partial interface Navigator {
    Promise<MediaStream> getDisplayMedia(optional MediaStreamConstraints constraints);
};
@lukebjerring
Copy link
Author

cc @foolip

foolip added a commit to foolip/mediacapture-screen-share that referenced this issue Aug 2, 2018
@uysalere
Copy link
Contributor

uysalere commented Aug 3, 2018

This can be a good opportunity to move it to MediaDevices as suggested on #55.

@foolip
Copy link
Member

foolip commented Aug 3, 2018

I'd like to stick to just fixing the IDL problem with this change. Note that the issue was closed and Edge has already shipped it on Navigator, so you'd need to reopen that discussion if you think this is important to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants