-
Notifications
You must be signed in to change notification settings - Fork 608
AudioInputProcessor can not RECOGNIZING if the network re-connected after disconnected more than three minutes during playback #451
Comments
Thanks @BobXLiu, This appears related to a known issue we are looking into (particularly where IHR makes user barge-in very slow to take effect, ie. asking Alexa a question, when IHR is playing). I would ask you some follow-up questions - for the Integration test you provide, it doesn't perform the disconnect & reconnect as far as I can tell. Is this something you did manually? Also, if you wish to modify the test further, could you increase the second sleep on line 589 to something like a minute, as opposed to 10 seconds? I'm curious if it will eventually work with a longer delay. Also, when you were testing this manually, how long did you wait for the barge-in to be successful? |
Hi @dhpp , Yes, Manually disconnect and re-connected the network. |
Hi @dhpp ,
If the connection with AVS is disconnect, I will use the following codes to reconnect, would you help check if the behavior is correct?
Thanks. |
Hi @dhpp
|
update status: I can still see the issue in SDK V1.5.0 |
One possible reason for a server-side disconnect is others using the same credentials as yourself (same refresh token). Is that possible? Thanks, |
Hi @sanjayrd , I noticed the latest state of AudioPlayer is Playing before I start a new recognize.
when I reconnect the network, the music can't be resume, so if it's the cause that I can't start the next request? posted test procedure as below:
|
Hi boyce-xx, Have you waited between step 3 and step 4 for the connection to AVS to have been re-established? This looks like it may be related to issue 447. Can you try specifying a short timeout (e.g. 10 milliseconds) as a new final parameter in AttachmentReaderSource.cpp's call to read() and let us know if that resolves the issue? Thank you, |
Hi @scotthea-amazon , The issue still can be seen even I add a timeout(10 milliseconds) in read() calls. |
Hi @boyce-xx, we have just released version 1.7. Are you still having issues with the delay with the newest version? |
I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error. |
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
If the network re-connected after disconnected more than three minutes during play iHR, the client have no response while ask alexa questions. I updated AudioPlayerIntegrationTest file can duplicate this issue. So i checked the log information and found the AudioInputProcessor can not recognize.
What is the expected behavior?
What behavior are you observing?
I checked the log information and found the ContextManager::updateStatesLoop timeout.
The correct behavior should be this:
Provide the steps to reproduce the issue, if applicable:
Tell us about your environment:
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
The text was updated successfully, but these errors were encountered: