Updates settings applied to local media inputs during a Daily call. Returns a
Promise that does not resolve until settings are updated.
Input settings are passed as an object with
video being the only currently supported key (
audio may be supported in the future).
video also takes an object for defining its settings, for which there is only currently 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 it off.
"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.