Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MediaStreamTrack.getSettings()

Nuestros voluntarios aún no han traducido este artículo al Español. Únete a nosotros y ayúdanos a traducirlo

The getSettings() method of the MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current MediaStreamTrack. See Capabilities, constraints, and settings for details on how to work with constrainable properties.

Syntax

var settings = MediaStreamTrack.getSettings();

Parameters

None.

Returns

MediaTrackSettings object describing the current configuration of the track's constrainable properties.

The returned object identifies the current values of every constrainable property, including those which are platform defaults rather than having been expressly set by the site's code. To instead fetch the most-recently established constraints for the track's properties, as specified by the site's code, use getConstraints().

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'getSettings()' in that specification.
Editor's Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 53.0 50 (50) ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 53.0 50 (50) ? ? ? 52.0

Etiquetas y colaboradores del documento

 Colaboradores en esta página: Sheppy, jpmedley
 Última actualización por: Sheppy,