From 70c099c4b54ff956300e8e862a1bde04a724b5ab Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 29 Apr 2022 18:56:17 +0100 Subject: [PATCH] Wire up pressing the PTT button to unmute as well as spacebar --- src/room/PTTButton.jsx | 4 ++++ src/room/PTTCallView.jsx | 4 ++++ src/room/usePTT.js | 34 ++++++++++++++++++++++------------ 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/src/room/PTTButton.jsx b/src/room/PTTButton.jsx index 1e0ba2fd..6da9b863 100644 --- a/src/room/PTTButton.jsx +++ b/src/room/PTTButton.jsx @@ -11,6 +11,8 @@ export function PTTButton({ activeSpeakerAvatarUrl, activeSpeakerIsLocalUser, size, + startTalking, + stopTalking, }) { return (