Transmitting audio over RTP/Multicastin with pulseaudio issue (Linux mint -> RaspberryPi)
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Transmitting audio over RTP/Multicastin with pulseaudio issue (Linux mint -> RaspberryPi)
Hi,
I have a raspberry pi 2 with Raspbian installed that I want to use as a server for audio output. On the client side I have Linux Mint 18.2 where I have installed paprefs to enable RTP/Multicast. However, I don't see any device on my Client and not sure is the server is setup properly.
I have a raspberry pi 2 with Raspbian installed that I want to use as a server for audio output. On the client side I have Linux Mint 18.2 where I have installed paprefs to enable RTP/Multicast. However, I don't see any device on my Client and not sure is the server is setup properly.
the article describes the opposite situation: streaming audio from the desktop pc to the pi.
over wifi.
so, you need to clarify to yourself and us what you really want to achieve.
then you need to provide much more detail about the steps you took.
if it doesn't work, you need to troubleshoot every single step.
if you need help, you need to not only provide output but also tell us where it comes from in what context.
Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.
the article describes the opposite situation: streaming audio from the desktop pc to the pi.
over wifi.
so, you need to clarify to yourself and us what you really want to achieve.
then you need to provide much more detail about the steps you took.
if it doesn't work, you need to troubleshoot every single step.
if you need help, you need to not only provide output but also tell us where it comes from in what context.
First of all, sorry for a very very late response.
I thought I did that but clearly it wasn't described well enough. Let me give it another shot.
I want to stream audio from my laptop to raspberry pi 3. I have after a lot of messing finally managed to get it to work BUT with one major problem. After some 10-30 seconds, the audio drops. To get it back, I alter the volume level one step up and down in alsamixer but then again it drops. Turning on the log-level to 4 I got the following problem located (see log below).
It seems that's it's being underrun for one of the buffers. Googling about it, it has pointed to so many variables such as thread priority, buffer size and a lot of other things.
Does anyone know what the problem might be and what to change or guide on to find out what to tweak?
Code:
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Implicit underrun of 'bcm2835 ALSA Analog Stereo for indy@Linda'
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 704 bytes ago (5644 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2468 bytes ago (3880 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2468 bytes ago (3880 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2468 bytes ago (3880 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2468 bytes ago (3880 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Requesting rewind due to end of underrun.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Requested to rewind 2468 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Limited to 2468 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: before: 617
Dec 15 18:54:57 Rasbian pulseaudio[6714]: after: 617
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Rewound 2468 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:57 Rasbian pulseaudio[6714]: latency = 0
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Have to rewind 2468 bytes on render memblockq.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Have to rewind 2468 bytes on render memblockq.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Implicit underrun of 'bcm2835 ALSA Analog Stereo for indy@Linda'
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 676 bytes ago (5672 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2456 bytes ago (3892 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2456 bytes ago (3892 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 2456 bytes ago (3892 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4220 bytes ago (2128 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4220 bytes ago (2128 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5984 bytes ago (364 bytes ahead in playback buffer)
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Requesting rewind due to end of underrun.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Requested to rewind 7744 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Limited to 6092 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: before: 1523
Dec 15 18:54:57 Rasbian pulseaudio[6714]: after: 1523
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Rewound 6092 bytes.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:57 Rasbian pulseaudio[6714]: latency = 0
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Have to rewind 6092 bytes on render memblockq.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Have to rewind 6092 bytes on render memblockq.
Dec 15 18:54:57 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Implicit underrun of 'bcm2835 ALSA Analog Stereo for indy@Linda'
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 1764 bytes ago (4584 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3528 bytes ago (2820 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5288 bytes ago (1060 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 5288 bytes ago (1060 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Requesting rewind due to end of underrun.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Requested to rewind 29984 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Limited to 6092 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: before: 1523
Dec 15 18:54:58 Rasbian pulseaudio[6714]: after: 1523
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Rewound 6092 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:58 Rasbian pulseaudio[6714]: latency = 0
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Have to rewind 6092 bytes on render memblockq.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Have to rewind 6092 bytes on render memblockq.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Implicit underrun of 'bcm2835 ALSA Analog Stereo for indy@Linda'
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 1324 bytes ago (5024 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 1324 bytes ago (5024 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3088 bytes ago (3260 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3088 bytes ago (3260 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3088 bytes ago (3260 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3088 bytes ago (3260 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 3088 bytes ago (3260 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4852 bytes ago (1496 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4852 bytes ago (1496 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4852 bytes ago (1496 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4852 bytes ago (1496 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: alsa_output.platform-soc_audio.analog-stereo: Found underrun 4852 bytes ago (1496 bytes ahead in playback buffer)
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Requesting rewind due to end of underrun.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Requested to rewind 4852 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Limited to 4852 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: before: 1213
Dec 15 18:54:58 Rasbian pulseaudio[6714]: after: 1213
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Rewound 4852 bytes.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Processing rewind...
Dec 15 18:54:58 Rasbian pulseaudio[6714]: latency = 0
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Have to rewind 4852 bytes on render memblockq.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Have to rewind 4852 bytes on render memblockq.
Dec 15 18:54:58 Rasbian pulseaudio[6714]: Processing rewind...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.