You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least, in Chrome the speech synthesis not call the onend method sometimes. I'm using Chrome 49.0.2623.87. I have faced this problem reproducing big messages.
See in Chromium Bugs.
My workaround on this was to set a maximum time of audio reproduction, then I cancel the audios on queue.
window.speechSynthesis.speak(msg);
audio_timeout = setTimeout(function(){
window.speechSynthesis.cancel();
},20000);
// And and when the onend method not fails, the timeout is cancelled
msg.onend = function(e) {
clearTimeout(audio_timeout);
};
My question is: in this polyfill, do you have a workaround about it?
Cheers!
The text was updated successfully, but these errors were encountered:
RichardsonWTR
changed the title
Speech Synthesis onend method not called sometimes
[Question] Speech Synthesis onend method not called sometimes
Jul 4, 2016
Hi!
At least, in Chrome the speech synthesis not call the onend method sometimes. I'm using Chrome 49.0.2623.87. I have faced this problem reproducing big messages.
See in Chromium Bugs.
I have found some workarounds, but nothing worked.
My workaround on this was to set a maximum time of audio reproduction, then I cancel the audios on queue.
My question is: in this polyfill, do you have a workaround about it?
Cheers!
The text was updated successfully, but these errors were encountered: