Closed kadharsh closed 11 months ago
Thanks for reporting this, @kadharsh.
We'll need a few days to ensure there is no regression and that the software is functioning correctly. We'll get back to you after confirming.
Hi @malykhin
Thanks a ton for the quick response! Take your time, and I appreciate your efforts. Feel free to reach out if you need any more info or testing on my end.
Hi @kadharsh I've checked the microphone and it works well. The mic that I tested (it's just the one that I was able to get quickly). Steps I used to set it up:
Hi @malykhin
I've reviewed my setup, and I seem to be following similar steps, but unfortunately, the audio is not coming through on the other side. Am I missing something? Here is the configuration I'm using: 1 .env file is the same
But no audio output from the browser, the speaker option in the video player is blacked out.
I've tested the microphone by recording a small audio file using this command arecord -f S16_LE -r 44100 audio_file.wav
, and that's working.
The setup looks good to me. Could you please try using headphones instead of speakers on your computer? I've noticed that my browser disables WebRTC audio if feedback occurs. Could you please share the link to the audio device you're using? I can test it on my end.
I tried using headphones with my PC, but unfortunately, the issue persists. The USB device I am using is Plextone GS3. Additionally, I attempted to use the microphone of the USB webcam Logitech C270, and the problem remained the same.
I've identified the issue – it was related to ALSA. After installing pulseaudio
, the miniaudio
started selecting it as the backend, resolving the problem. Now, the audio works in both directions. Additionally, I encountered distorted audio, and I solved it using this patch: https://github.com/pion/mediadevices/issues/500
Thank you @malykhin for your time and support; I appreciate it.
Thank you for this great project.
I've been working on setting up a Webrtc bot following the provided instructions. The project works wonderfully overall. However, I've encountered an issue with audio transmission from the Raspberry Pi to the browser. I can successfully talk on my PC, and the Raspberry Pi is playing the sound. However, the audio is not transmitted from the Raspberry Pi to the browser. The camera and controls work as expected.
I've tested the audio recording on the Raspberry Pi using the
arecord
command, and it works fine. I can record and playback without any issues. I have also tried thegen2brain/malgo
example codecapture
which was also working fine..env file:
I am using a generic USB audio card for capturing and playing the audio, which I have set as the default card in
/usr/share/alsa/alsa.conf
My setup:
Let me know if you need more details. Appreciate your help!