Skip to main content
useSendSettings(params?): Object Use this hook to configure simulcast layer encodings and control which layers a client publishes. See updateSendSettings() for the full options.

Parameters (optional)

onSendSettingsUpdated
Function
Callback for the 'send-settings-updated' event.

Return value

Returns an object with the following properties:
sendSettings
DailySendSettings | null
The send settings for the participant. See daily-js instance method getSendSettings() for an overview.
updateSendSettings
Function
Updates send settings, equivalent to calling the daily-js updateSendSettings() method.

Example

See also