[mirotalksfu] - fix voice commands
هذا الالتزام موجود في:
@@ -45,12 +45,12 @@ const commands = {
|
|||||||
roomUnlock: 'unlock the room',
|
roomUnlock: 'unlock the room',
|
||||||
about: 'show the about',
|
about: 'show the about',
|
||||||
email: 'open email',
|
email: 'open email',
|
||||||
google: 'open Google',
|
google: 'open google',
|
||||||
googleTr: 'open Google Translate',
|
googleTr: 'open google translate',
|
||||||
youtube: 'open YouTube',
|
youtube: 'open youtube',
|
||||||
facebook: 'open Facebook',
|
facebook: 'open facebook',
|
||||||
linkedin: 'open Linkedin',
|
linkedin: 'open linkedin',
|
||||||
twitter: 'open Twitter',
|
twitter: 'open twitter',
|
||||||
tiktok: 'open tiktok',
|
tiktok: 'open tiktok',
|
||||||
github: 'open github',
|
github: 'open github',
|
||||||
survey: 'open survey',
|
survey: 'open survey',
|
||||||
@@ -126,6 +126,7 @@ function startSpeech(action) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function execVoiceCommands(transcript) {
|
function execVoiceCommands(transcript) {
|
||||||
|
console.log('------|', transcript.trim().toLowerCase());
|
||||||
switch (transcript.trim().toLowerCase()) {
|
switch (transcript.trim().toLowerCase()) {
|
||||||
case commands.shareRoom:
|
case commands.shareRoom:
|
||||||
printCommand(commands.shareRoom);
|
printCommand(commands.shareRoom);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم