fix: space activates elements in last clicked focus; fix: change muted mic deactivates hark

auto_join_3.3
Stefan Otto 2020-03-27 01:47:04 +01:00
parent e12ff16115
commit 0228f1c372
1 changed files with 3 additions and 1 deletions

View File

@ -431,7 +431,8 @@ export default class RoomClient
}
}
}
});
event.preventDefault();
}, true);
}
@ -1024,6 +1025,7 @@ export default class RoomClient
this._harkStream = new MediaStream();
this._harkStream.addTrack(track.clone());
this._harkStream.getAudioTracks()[0].enabled = true;
if (!this._harkStream.getAudioTracks()[0])
throw new Error('changeAudioDevice(): given stream has no audio track');