diff --git a/src/room/useGroupCall.ts b/src/room/useGroupCall.ts index b3697cc..49979a5 100644 --- a/src/room/useGroupCall.ts +++ b/src/room/useGroupCall.ts @@ -302,7 +302,7 @@ export function useGroupCall(groupCall: GroupCall): UseGroupCallType { const toggleScreensharing = useCallback(() => { updateState({ requestingScreenshare: true }); - groupCall.setScreensharingEnabled(!groupCall.isScreensharing()).then(() => { + groupCall.setScreensharingEnabled(!groupCall.isScreensharing(), { audio: true }).then(() => { updateState({ requestingScreenshare: false }); }); }, [groupCall]);