[mirotalksfu] - add new voice cmd

هذا الالتزام موجود في:
Miroslav Pejic
2022-01-26 20:53:50 +01:00
الأصل 48137fd7e9
التزام 121848c852
2 ملفات معدلة مع 5 إضافات و1 حذوفات

عرض الملف

@@ -44,6 +44,7 @@ const commands = {
roomLock: 'lock the room',
roomUnlock: 'unlock the room',
about: 'show the about',
email: 'open the email',
stopRecognition: 'stop the voice recognition',
};
@@ -243,6 +244,9 @@ function execVoiceCommands(transcript) {
printCommand(commands.about);
aboutButton.click();
break;
case commands.email:
openURL('mailto:?subject=&body=', true);
break;
case commands.stopRecognition:
printCommand(commands.stopRecognition);
chatSpeechStopButton.click();