{"json_modified": "2016-10-18T15:50:44.718871", "uuid": "123ad591-1372-4a16-9387-7a4d9c2b8d2d", "title": "MediaDevices.getUserMedia()", "url": "/en-US/docs/Web/API/MediaDevices/getUserMedia", "tags": ["API", "WebRTC", "video", "MediaDevices", "Reference", "Media Streams API", "Audio", "Video", "getusermedia", "audio", "Media Capture and Streams API", "Method"], "translations": [{"uuid": "03e066dd-b053-44ad-b9fc-1e21f67976d4", "title": "MediaDevices.getUserMedia()", "url": "/es/docs/Web/API/MediaDevices/getUserMedia", "tags": [], "summary": "El m\u00e9todo MediaDevices.getUserMedia() indica al usuario por los permisos a usar en un dispositivo de entrada de v\u00eddeo y/o un audio tal como una c\u00e1mara o\u00a0 compartir pantalla y/o micr\u00f3fono. Si el usuario proporciona los permisos, entonces le retornar\u00e1 un Promise que es resuelto por el resultado del objeto MediaStream. Si el usuario deniega el permiso, o el recurso multimedia no es v\u00e1lido, entonces el promise es rechazado\u00a0con PermissionDeniedError o NotFoundError respectivamente. N\u00f3tese que este es posible por el retornado promise que no rechazar\u00e1 a ninguna, como el usuario no es requerido para tomar una elecci\u00f3n .", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-06-06T06:26:48", "review_tags": []}, {"uuid": "61c35e6a-9382-46e3-aa58-4ef2f64818d0", "title": "MediaDevices.getUserMedia()", "url": "/ja/docs/Web/API/MediaDevices/getUserMedia", "tags": ["MediaDevices", "Method", "Experimental"], "summary": "MediaDevices.getUserMedia()\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30ab\u30e1\u30e9\u3084\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30a7\u30a2\u30ea\u30f3\u30b0\u3001\u30de\u30a4\u30af\u306e\u3088\u3046\u306a\u30d3\u30c7\u30aa\u3084\u30aa\u30fc\u30c7\u30a3\u30aa\u5165\u529b\u88c5\u7f6e\u306e\u4f7f\u7528\u8a31\u53ef\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u8981\u6c42\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u8a31\u53ef\u3092\u51fa\u3057\u305f\u5834\u5408\u3001\u8fd4\u5374\u3055\u308c\u305fPromise \u306f\u7d50\u679c\u3068\u3057\u3066\u751f\u6210\u3055\u308c\u305fMediaStream\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u89e3\u6c7a\u3055\u308c\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u8a31\u53ef\u3092\u62d2\u5426\u3057\u305f\u5834\u5408\u3084\u30e1\u30c7\u30a3\u30a2\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u3001Promise\u306f\u305d\u308c\u305e\u308cPermissionDeniedError\u307e\u305f\u306fNotFoundError \u3067\u62d2\u5426\u3055\u308c\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u9078\u629e\u3092\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3088\u3046\u306b\u3001\u8fd4\u5374\u3055\u308c\u305fPromise\u304c\u89e3\u6c7a\u3082\u62d2\u7d76\u3082\u3057\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-10-05T07:04:56", "review_tags": ["editorial"]}, {"uuid": "43bf1db0-7832-436c-8424-a102657e44f7", "title": "MediaDevices.getUserMedia()", "url": "/zh-CN/docs/Web/API/MediaDevices/getUserMedia", "tags": [], "summary": "", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-09-06T01:01:46", "review_tags": []}], "modified": "2016-10-18T15:50:44", "label": "MediaDevices.getUserMedia()", "localization_tags": [], "locale": "en-US", "id": 146459, "last_edit": "2016-10-18T15:50:37", "summary": "The MediaDevices.getUserMedia() method prompts the user for permission to use one video and/or one audio input device such as a camera or screensharing and/or a microphone. If the user provides permission, then the returned Promise is resolved with the resulting MediaStream object. If the user denies permission, or media is not available, then the promise is rejected with PermissionDeniedError or NotFoundError respectively. Note that it is possible for the returned promise to neither resolve nor reject, as the user is not required to make a choice.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Errors", "title": "Errors"}, {"id": "Examples", "title": null}, {"id": "Width_and_height", "title": "Width and height"}, {"id": "Using_the_new_API_in_older_browsers", "title": "Using the new API in older browsers"}, {"id": "Frame_rate", "title": "Frame rate"}, {"id": "Front_and_back_camera", "title": "Front and back camera"}, {"id": "Permissions", "title": "Permissions"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaDevices/getUserMedia", "review_tags": []}