LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Raspberry Pi - RTP stream audio from External USB Sound Card (https://www.linuxquestions.org/questions/linux-newbie-8/raspberry-pi-rtp-stream-audio-from-external-usb-sound-card-4175582670/)

kzo81 06-20-2016 08:51 AM

Raspberry Pi - RTP stream audio from External USB Sound Card
 
Hi,

Could you please help me a bit?

I'd like to stream the audio sound coming into a USB Sound Blaster sound card attached to my Raspberry Pi to another windows pc, or server on lan. I'd like it to be an RTP stream, and be able to listen into with VLC with minimal latency.

I tried to follow different tutorials, but I can't even record a simple wav file, which would be a first step I think into this direction.

Here are some output:

pi@raspberrypi ~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Pro [Sound Blaster X-Fi Go! Pro], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

I also managed to rearange the order of devices:

pi@raspberrypi ~ $ cat /proc/asound/modules
0 snd_usb_audio
1 snd_bcm2835


But:

arecord -d 5 -D plughw:0,0 testing.wav

results with no sound in it.

I'm lost in the different tutorials, can't decide that I should try with pulseaudio, gstreamer or cvlc.

thanks in advance

pwalden 06-20-2016 05:41 PM

pulseaudio would allow you to broadcast a rtp stream.

https://www.freedesktop.org/wiki/Sof...r/Network/RTP/

kzo81 06-21-2016 04:44 AM

Hi,

i did try it, but it doesn't work.
I guess the problem is that I can't even record with my soundcard, and even the speakertest doesn't work.

pwalden 06-21-2016 09:24 AM

What does the error log say? Looks for the reported errors and try to correct them.


All times are GMT -5. The time now is 01:44 PM.