成为一个机器人服务提供者与 机器人的自由云平台机器人
SDK and Web API : Speak recognition with Javascript SDK

RE: Speak recognition with Javascript SDK

通过 admin 发布 Dec 12 2016, 10:19

If you use the bot's embed code it will automatically add speech recognition in the WebChatBotListener createBox() function.

To add speech recogntion yourself you can call the,

SDK.startSpeechRecognition();

To start speech recognition, and,

SDK.stopSpeechRecognition();

to stop speech recognition.

Use all need to call,

SDK.registerSpeechRecognition(input, button);

To register for the speech events.

Speech recognition is only supported in browsers that support HTML5 Speech, such as Chrome.

See,
https://www.botlibre.com/forum-post?id=11672958


Id: 14899093
发布: Dec 12 2016, 10:19
答复: 0
的风景: 3054, 今天: 1, 周: 1, 一个月: 13
0 0 0.0/5