In RWS, PulseAudio is disabled and uses ALSA. To use audio, use a USB audio dongle or USB microphone that has been confirmed to work with Raspberry PI. This document is based on the device whose operation has been verified and will be added if any device operation is confirmed.
The Raspberry PI forum audio articles have a large number of posts , but there are not many latest updates of USB audio device for new hardware. One thing I would like to ask you first is to try to purchase a audio device that has been confirmed to be a hardware device that runs on Raspberry PI before purchasing a device for Audio Setup.
For example, USB 3.0 hub (power hub) or dongle does not work with Raspberry PI and some USB 2.0 dongle may or may not work.
See USB Sound Cards, which is confirmed to work with Raspberry PI).
The linux audio part of the WebRTC native code package first searches all available audio device lists in the OS. However, the audio device you want to use should be set to search first.
sudo vi /boot/config.txt
#dtparam=audio=on ## comment out
sudo vi /lib/modprobe.d/aliases.conf
#options snd-usb-audio index=-2 # comment out
vi ~/.asoundrc
defaults.pcm.card 0;
defaults.ctl.card 0;
An example of using USB audio dongle is A presence robot with Chromium, WebRTC, Raspberry Pi 3 and EasyRTC
- USB microphone - Cosy USB microphone MK1343UB
It is not easy to buy as many hardware as possible for the test, and there is not really much time to test it. If you have successfully set up your audio with your Raspberry PI and have verified audio transmission from RWS, please share it. I think it will help a lot of others.
Please add the comment to the issue as shown below.
- Device Type: (USB dongle | USB microphone | Raspberry PI audio hat | etc)
- Device Name: (Device Model)
- Command Output:
- lsusb
- cat / proc / asound / cards
- Raspberry PI Audio Hat
- USB audio dongle
- 2017/05/21 : Initial Version