Skip to main content
updateSendSettings(settings) Prebuilt Custom Controls simulcast layer configuration and which layers are sent. Useful for adapting to poor network conditions or high CPU load, or for ensuring high-quality video when conditions allow.

Parameters

DailySendSettings
required
An object configuring send settings per track type. All keys are optional. Each value accepts a preset string (see below) or a DailyVideoSendSettings object:
  • video — local camera track. Also supports allowAdaptiveLayers (see below).
  • customVideoDefaults — default settings for all custom video tracks. Uses camera presets.
  • screenVideo — screen share track. Uses screen share presets.
  • [customKey: string] — settings for a specific named custom track, using the track’s trackName as the key.

Camera and custom track presets

Screen share presets

Send only a single simulcast layer for screen video. Define only the "low" layer and set maxQuality to "low". Multiple layers are supported but screen shares are bandwidth-intensive and additional layers can degrade performance.

Return value

Returns Promise<DailySendSettings> that resolves with the updated send settings. Also triggers a send-settings-updated event.

Examples

See also