Wire up pressing the PTT button to unmute as well as spacebar
This commit is contained in:
@@ -11,6 +11,8 @@ export function PTTButton({
|
||||
activeSpeakerAvatarUrl,
|
||||
activeSpeakerIsLocalUser,
|
||||
size,
|
||||
startTalking,
|
||||
stopTalking,
|
||||
}) {
|
||||
return (
|
||||
<button
|
||||
@@ -18,6 +20,8 @@ export function PTTButton({
|
||||
[styles.talking]: activeSpeakerUserId,
|
||||
[styles.error]: showTalkOverError,
|
||||
})}
|
||||
onMouseDown={startTalking}
|
||||
onMouseUp={stopTalking}
|
||||
>
|
||||
{activeSpeakerIsLocalUser || !activeSpeakerUserId ? (
|
||||
<MicIcon
|
||||
|
||||
Reference in New Issue
Block a user