Add support for audio sharing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
6456a6b0c0
commit
e63b3d1b3e
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue