Skip to main content
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 a Promise<DailyInputSettings>:
audio
DailyInputAudioSettings
Audio input settings.
video
DailyInputVideoSettings
Video input settings.

Example

const settings = await call.getInputSettings();

if (settings.video?.processor?.type === 'background-blur') {
  console.log('Background blur strength:', settings.video.processor.config?.strength);
}

See also