[Speech Recognition Plugin] Timeout

Forge Component
(8)
Published on 24 Jan by Hugo 
8 votes
Published on 24 Jan by Hugo 

Hello there!


Great component, I love it :)
I have a question regarding timeouts.
In my use case the user should be able to talk for like 2-3mins, but the speech only works for like 10-20 seconds or so. 

Is there a way to change the timeout? I tried extending the plugin, but you already fully integrated it.

Hi Niels,

are you using it on both Android and iOS?

Let me check what I can do

Cheers,
Miguel

Also Niels, are you working on P10 or P11?

Hi Miguel,

Thanks for the fast answer :p

Both android and IOS. And P10, but that's less important. P11 is also fine :p

Thanks for the info, and that "timeout" occurs in both platforms?

For Android, I'm changing the source code of the plugin to include the ability to change some properties, like explained in the Android RecognizerIntent helper like this one:

https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS

So, it will be possible to pass this as input parameters in the OutSystems Plugin. But I still need to find out if it really works, and how can accomplish the same behavior for iOS.

Will let you know when I got this ready to be tested.

Cheers,
Miguel