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 two allowed values:
"background-blur" is set, changing
"none" to turns it off.
"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 from 0-1, with 1, also the default, being the strongest blur.
"background-blur" is currently only supported on desktop Chrome, Firefox, and Chromium-based browsers.
publish defaults to
false will apply the processor settings locally, but still send the raw media stream across the connection (if the media stream is not muted). This could be used, for example, to test new
inputSettings before updating and sending them.