Merge pull request #12768 from mariogasparoni/merge-2.3.x-into-develop

chore: merge 2.3.6+ into develop
This commit is contained in:
Anton Georgiev 2021-07-14 10:03:45 -04:00 committed by GitHub
commit 2a3ae718e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -285,13 +285,14 @@ class AudioModal extends Component {
handleJoinListenOnly() {
const {
joinListenOnly,
isConnecting,
} = this.props;
const {
disableActions,
} = this.state;
if (disableActions) return;
if (disableActions && isConnecting) return;
this.setState({
disableActions: true,
@ -313,13 +314,14 @@ class AudioModal extends Component {
handleJoinMicrophone() {
const {
joinMicrophone,
isConnecting,
} = this.props;
const {
disableActions,
} = this.state;
if (disableActions) return;
if (disableActions && isConnecting) return;
this.setState({
hasError: false,

View File

@ -372,8 +372,12 @@ class AudioManager {
if (!this.logAudioJoinTime) {
this.logAudioJoinTime = true;
logger.info({ logCode: 'audio_mic_join_time' }, 'Time needed to '
+ `connect audio (seconds): ${secondsToActivateAudio}`);
logger.info({
logCode: 'audio_mic_join_time',
extraInfo: {
secondsToActivateAudio,
},
}, `Time needed to connect audio (seconds): ${secondsToActivateAudio}`);
}
if (!this.isEchoTest) {