This repository was archived by the owner on Oct 19, 2023. It is now read-only.
This repository was archived by the owner on Oct 19, 2023. It is now read-only.
ALSA and Input errors when running google-assistant-demo #195
Open
Description
I was following the Google Assistant SDK - Library Guide everything was working as expected, until the Run the Sample Code section. Once run googlesamples-assistant-hotword --project_id XXXXX --device_model_id XXXXX
it hangs up not responding to the hotword, outputting the following:
ALSA lib pcm.c:8481:(snd_pcm_set_params) Unable to set hw params for CAPTURE: Invalid argument
device_model_id: XXXXX
device_id: XXXXX
https://embeddedassistant.googleapis.com/v1alpha2/projects/XXXXX/devices/XXXXX 200
[6189:6204:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[6189:6213:ERROR:audio_input_processor.cc(748)] Input error
ON_MUTED_CHANGED:
{'is_muted': False}
ON_START_FINISHED
[6189:6204:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[6189:6204:ERROR:assistant_nupnp_client.cc(103)] Cloud discovery nupnp request failed: [60] Peer certificate cannot be authenticated with given CA certificates
[6189:6221:ERROR:audio_input_processor.cc(748)] Input error
Investigating I found the googlesamples-assistant-pushtotalk
sample, which after adding --project_id XXXXX --device_model_id XXXXX
for the first run only, works perfectly every time.
The google-assistant-demo
acts exactly as googlesamples-assistant-hotword
does.