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 and constraints" in Media Capture and Streams API (Media Streams) for details on how to work with constrainable properties.