Hello @srella @rvinobha Linux Riva GPU - Hardware , I have this issue. I’m following the Riva client riva_streaming_asr_client, which runs successfully for examples that work with the direct [name].wav file.
Now, I’m trying to execute the “riva_streaming_asr_client” version to use the microphone and get live results as I speak, but I’m encountering this error:
COMMAND
./bazel-bin/riva/clients/asr/riva_streaming_asr_client --audio_device=hw:1,0
ANSWER/ERROR
I0117 19:51:01.987900 14380 grpc.h:94] Using Insecure Server Credentials
latency 100000
ALSA lib pcm.c:8664:(snd_pcm_set_params) Rate doesn’t match (requested 16000Hz, get 44100Hz)
snd_pcm_set_params error: Invalid argument
Error opening capture device hw:1,0
Could you please help me?
NOTE: I switched from Python to C++ due to a similar error , and in another post, they suggested using C++. Is there a solution for that error in Python now?
Hardware - GPU: NVIDIA GeForce RTX 3060
Hardware - CPU: 12th Gen Intel(R) Core™ i5-12400
Operating System: Ubuntu 22.04.3 LTS
Riva Version: 2.14.0