diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-13 17:16:08 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-13 17:16:08 -0500 |
commit | a5fcfafb665e96cae5d04dfba927db8dcdfd7f14 (patch) | |
tree | 8eda610157e718083f580c6b31b0e101c3cf0bbc /files/es/web/api/navigator/mediadevices/index.html | |
parent | ba5d6f9610d6bb352eecfa3ded1bb99bc9892916 (diff) | |
download | translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.tar.gz translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.tar.bz2 translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.zip |
2020-12-13
Diffstat (limited to 'files/es/web/api/navigator/mediadevices/index.html')
-rw-r--r-- | files/es/web/api/navigator/mediadevices/index.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/files/es/web/api/navigator/mediadevices/index.html b/files/es/web/api/navigator/mediadevices/index.html new file mode 100644 index 0000000000..0a7e70e7e4 --- /dev/null +++ b/files/es/web/api/navigator/mediadevices/index.html @@ -0,0 +1,49 @@ +--- +title: Navigator.mediaDevices +slug: Web/API/Navigator/mediaDevices +translation_of: Web/API/Navigator/mediaDevices +--- +<div>{{APIRef("Media Capture and Streams")}}</div> + +<p>The <strong><code>Navigator.mediaDevices</code></strong> read-only property returns a {{domxref("MediaDevices")}} object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing.</p> + +<h2 id="Syntax">Syntax</h2> + +<pre class="syntaxbox notranslate">var <em>mediaDevices</em> = navigator.mediaDevices; +</pre> + +<h3 id="Return_value">Return value</h3> + +<p>The {{domxref("MediaDevices")}} singleton object. Usually, you just use this object's members directly, such as by calling {{domxref("navigator.mediaDevices.getUserMedia()")}}.</p> + +<h2 id="Specifications">Specifications</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('Media Capture', '#mediadevices', 'NavigatorUserMedia.mediaDevices')}}</td> + <td>{{Spec2('Media Capture')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility">Browser compatibility</h2> + + + +<p>{{Compat("api.Navigator.mediaDevices")}}</p> + +<h2 id="See_also">See also</h2> + +<ul> + <li><a href="/en-US/docs/Web/API/Media_Streams_API">Media Capture and Streams API</a>: The entry point to the documentation about the entire media stream API.</li> + <li><a href="/en-US/docs/Web/API/WebRTC_API"><font><font>API de WebRTC</font></font></a><font><font> : documentación sobre la API de WebRTC, que está estrechamente relacionada.</font></font></li> +</ul> |