Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Spacebar is used to activate Push-To-Talk
Maxim Voloshin33078a868c97
diff --git a/modules/keyboardshortcut/keyboardshortcut.js b/modules/keyboardshortcut/keyboardshortcut.jsindex 9acd2d504f..310a82efaa 100644--- a/modules/keyboardshortcut/keyboardshortcut.js+++ b/modules/keyboardshortcut/keyboardshortcut.js@@ -17,7 +17,7 @@ function initGlobalShortcuts() {APP.UI.toggleKeyboardShortcutsPanel();}, "keyboardShortcuts.toggleShortcuts");- KeyboardShortcut.registerShortcut("T", null, function() {+ KeyboardShortcut.registerShortcut("SPACE", null, function() {JitsiMeetJS.analytics.sendEvent("shortcut.talk.clicked");APP.conference.muteAudio(true);}, "keyboardShortcuts.pushToTalk");@@ -68,7 +68,7 @@ var KeyboardShortcut = {$(":focus").is("input[type=password]") ||$(":focus").is("textarea"))) {var key = self._getKeyboardKey(e).toUpperCase();- if(key === "T") {+ if(key === "SPACE") {if(APP.conference.isLocalAudioMuted())APP.conference.muteAudio(false);}@@ -139,6 +139,9 @@ var KeyboardShortcut = {* @returns {string} e.key or something close if not supported*/_getKeyboardKey: function (e) {+ if (e.which === 32) {+ return 'SPACE';+ }if (typeof e.key === "string") {return e.key;}