getInputSettings()
Prebuilt
Custom
Returns the current DailyInputSettings object — the preferred input settings as last set via updateInputSettings(). Returns an empty object if no settings have been applied.
The returned settings reflect what was requested, not necessarily what is active. For example, if you request
frameRate: 30 but the device only supports 15fps, getInputSettings() returns 30. If the constraints cause an OverConstrainedError, Daily clears the settings and this method returns an empty object.Return value
Returns aPromise<DailyInputSettings>:
Audio input settings.
Video input settings.