watson-developer-cloud / speech-to-text-swift

Speech-to-Text example using the Swift SDK
Apache License 2.0
34 stars 17 forks source link

speechToText.recognize twice makes duplicate previous one #5

Closed chathuralakmal closed 7 years ago

chathuralakmal commented 7 years ago

The first time i tried speechToText.recognize() it works pretty well and get me data. but when i call it again pressing same button. it gets duplicate with previous data as well. if i force exit the app and open then it works fine again. is there anyway to timeout that problem?

glennrfisher commented 7 years ago

There are several possibilities here, depending on the particular function that you are executing: