Skip to main content
updateReceiveSettings(receiveSettings) Prebuilt Custom Updates how you receive video tracks from remote participants — specifically, the maximum simulcast layer to decode for each participant’s video and screenVideo tracks. Higher layers correspond to higher quality. Settings can be applied per-participant, to all current participants at once via '*', or to base — a set of defaults inherited by all participants who don’t have explicit settings applied.
Simulcast layer settings only apply in SFU mode. Desktop clients support 3 layers (0–2); mobile clients support 2 layers (0–1). Requesting a higher layer than is available is allowed — you’ll receive the highest available.
initialReceiveBitrate is a join-time-only setting and can’t be updated with this method. See the receiveSettings call property for details.

Parameters

DailyReceiveSettingsUpdates
required
An object whose keys identify which participants to update, and whose values are the settings to apply.Each value (other than 'inherit') is a DailySingleParticipantReceiveSettingsUpdates object:

Return value

Returns Promise<DailyReceiveSettings> that resolves with the full updated receive settings for all participants.

Examples

See also