Your comments
Thank you for the detailed info.
We'll look into it and advise asap
Hello Pavel -
We've recreated your example on our test server here - https://www.workboy.com/qa/vue_client_example/index.html
(you need to accept the provisional cert)
We can see, both in your example and in ours, that the third audio sometimes does not play and appears to be skipped. But that is not actually the case.
What happens is that the delayed stopSpeech call is called after sayText is called, but before the audio starts.
So the audio never starts playing and appears to be skipped.
This behavior is per spec. not a bug, but a feature :-)
In your original note you say that - "After few calls, the sayText() does not start speaking."
it sounds like you may describing a different problem than the one demonstrated by your example.
If that's the case - pls provide a clearer explanation and/or better example - and we will investigate asap.
Best,
Gil
Understood.
If the speech is not being stopped by the need to play another audio, then my comment does not apply. You are doing the right thing by calling stopSpeech. No need to modify.
We're looking into it and will let you know when fixed.
Best,
Gil
Hi Pavel, we are able to recreate the problem and are working on it. I don't yet have an ETA.
I'm wondering - what is your purpose in calling stop speech after 4 seconds? Is there a special reason you need to interrupt the previous speech precisely after that delay? Or is this just a way to recreate the issue & bring it to our attention? (worked!)
I ask, because if you simply need to interrupt one speech with another, there is no need to use stop speech for that.
Just turn ON "Interrupt Mode" setting, and any newly requested speech will be immediately launched.
You can do so using the 'setStatus' api call, and it may work better for you.
Regardless - we will address this issue.
Best,
Gil
Apologies.
Please use this link -
https://sitepal.com/api/examples/react-responsive/source_code/React%20-%20Source%20Code.zip
Noted. Thanx
Hello!
We've implemented a responsive react JS example for your reference.
In this example we positioned the SitePal character in a realistic web page, with actual content & style.
The example can be found on our support page - www.sitepal.com/support
Here is a direct link - https://sitepal.com/api/examples/react-responsive/index.html
There's a download link on the page itself (at the bottom) - where you can download the source of this page.
Please review, and see if you can use the same methodology.
I hope this will be helpful.
Let me know how goes.
Best,
Gil
Hello Pavel -
Our engineer tried to build your example and encountered errors - can you advise regarding -
- version of npm and node being used on your end?
To get it to work we need to recreate your environment.
Thanx
Gil
Customer support service by UserEcho
Hi Pavel -
We are working on it. I expect that we will have an update soon.
Thanks for your patience - will advise asap.