Skip to main content
startScreenShare(options?) Does nothing if there is no active meeting or enable_screenshare is disabled for the room or meeting token. See the react-native-daily-js README for platform-specific setup instructions for Android and iOS screen sharing. Listen for local-screen-share-started to confirm sharing is active, local-screen-share-stopped when it ends, and local-screen-share-canceled if the user dismisses the picker.

Parameters

options?: DailyStartScreenShare
screenVideoSendSettings
DailyVideoSendSettings | DailyScreenVideoSendSettingsPreset
Send settings for the screen video track. Accepts the same values as updateSendSettings().

Return value

Returns void.

Example

// Default screen share
call.startScreenShare();

// With custom send settings
call.startScreenShare({
  screenVideoSendSettings: 'motion-and-detail-balanced',
});

See also