Updates settings applied to local media inputs during a Daily call. Returns a
Promise that does not resolve until settings are updated.
A successful call to
updateInputSettings() triggers an
'nonfatal-error' fires on errors.
Input settings are passed as an object with
audio as a key. Both
audio take an object for defining its settings, for which there is currently only one: the processor, keyed on
processor takes yet another object specifying the
type has the following allowed values:
"background-image" is set, changing
"none" turns off the video processor.
Video processors are in beta.
daily-js0.21.0 or newer
daily-js0.23.0 or newer
"background-image" are currently only supported on desktop Firefox and Chromium-based browsers (such as Chrome).
"background-blur" obscures the local participant's background.
"background-blur" is enabled, then an additional
strength value can be passed to
strength value is a float greater than 0 and less than or equal to 1, with 1 being the default and strongest blur.
"background-image" will replace the participant's background with the image passed in the
config property. The nested
source property should be set to either an HTTP or data URI. Supported file extensions are
type has two allowed values:
"noise-cancellation" is set, changing
"none" turns off the audio processor.
Audio processors are in beta.
daily-js0.42.2 or newer
"noise-cancellation" is currently only supported on desktop Firefox and Chromium-based browsers (such as Chrome).
"noise-cancellation" reduces background noise on the microphone input.