uezo / aiavatarkit

🥰 Building AI-based conversational avatars lightning fast ⚡️💬
Apache License 2.0
162 stars 10 forks source link

AzureWakewordListener fails to respond after network changes #40

Closed uezo closed 2 months ago

uezo commented 2 months ago

There is a recurring issue where the AzureWakewordListener stops responding permanently after network disruptions, such as changing the connected network or disconnecting and reconnecting the network hardware. This issue can be consistently reproduced on macOS by changing the WiFi network or unplugging and replugging the LAN cable while the WakewordListener is active. On Windows, the listener sometimes recovers and becomes operational again after reconnection, but the behavior is not consistent.

Steps to reproduce:

  1. Start the WakewordListener on a PC.
  2. Change the WiFi network or disconnect and then reconnect the LAN cable.
  3. Observe that the WakewordListener fails to respond on macOS and behaves inconsistently on Windows.

Expected behavior: The WakewordListener should consistently reconnect and resume its operations across all platforms after any network change.

This issue affects the reliability of the voice assistant's responsiveness in environments with unstable or changing network conditions.