Created
February 8, 2018 14:43
-
-
Save matt-mcalister/7f5a7000261d49309111d404bf6815d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* request access to just the user's camera */ | |
{ video: true } | |
/* request access to the user's microphone and camera, with a preferred resolution of 1280X720 */ | |
{ | |
audio: true, | |
video: { width: 1280, height: 720 } | |
} | |
/* request access to the user's microphone and camera, with a minimum resolution of 1280X720 */ | |
{ | |
audio: true, | |
video: { | |
width: { min: 1280 }, | |
height: { min: 720 } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment