create room instantly
This commit is contained in:
@@ -337,9 +337,6 @@ export default function KeyboardContextProvider({ children }) {
|
||||
|
||||
const handleKeyUp = useCallback(
|
||||
(event) => {
|
||||
console.log("on key up");
|
||||
console.log(event.keyCode);
|
||||
|
||||
// if was recording and released R, then stop recording and send message
|
||||
if (event.keyCode == KeyCode.R && selectedTeammate && isRecording) {
|
||||
console.log("stopped recording");
|
||||
@@ -394,8 +391,6 @@ export default function KeyboardContextProvider({ children }) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(event.keyCode);
|
||||
|
||||
// recording
|
||||
if (event.keyCode == KeyCode.R && !ctrlDown) {
|
||||
if (!audioInputDeviceId) {
|
||||
|
||||
Reference in New Issue
Block a user