Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vban_emitter does not receive any sound from pulseaudio device #68

Open
inoculator opened this issue Feb 5, 2021 · 2 comments
Open

Comments

@inoculator
Copy link

Hi.
I try to archive to have audio from a linux workstation (Mint) to a windows machine.
I have created a sink "DDVOut1" that is displayed in pavucontrol and I can assign audio from applications to that.
It also shows audio level on the bar.
I start "vban_emitter" and the recording device pops up in pavucontrol.
I assign the corresponding monitor to it and the level bar begins to show sound.
On the receiving VB-Audio Meter (Potato) the VBAN Stream gets a green light and the Sampler shows the correct values.
Nevertheless no audio is coming from the system.
If I look into Wireshark, I can see the traffic, but there is only "zero" in the data, so no Audio seems to be received at process level on the sending machine.
Here my sets:

 ~ $ pacmd load-module module-null-sink sink_name=DDVOut1
 ~ $ pacmd update-sink-proplist DDVOut1 device.description=DDVOut1
 ~ $ vban_emitter -i 10.10.10.238 -p 6980 -s DagobertDuck -b pulseaudio -r 48000 -l 3 &
[5] 5890
 ~ $ vban_emitter version 2.1.0

Info: socket_open: opening socket with port 6980
Info: socket_open with port: 6980
Info: audio_init: config is direction in, backend pulseaudio, device , buffer size 1024
Info: audio_backend_get_by_name: found backend pulseaudio
Info: audio_set_map_config: new map config is nb channels 0
Info: audio_set_stream_config: new stream config is nb channels 2, sample rate 48000, bit_fmt 16I

~ $ 

2021-02-05-pavucontrol-output
2021-02-05-pavucontrol-record
2021-02-05-Voice-Meeter-VBANReceiver
2021-02-05-Wireshark-UDPNull-Receiver

What do I miss?

@quiniouben
Copy link
Owner

Hi, sorry for the long delay in answering. If I am not mistaken the fact there is no color on the volume bar of your vban recording device + the loudspeaker button being "down" means that it is muted.

@inoculator
Copy link
Author

inoculator commented Apr 21, 2021

Hi,
I have played around a while and for some reason I cannot replicate, it is working now.
I created a file like so:

#!/bin/bash

##Emitter

pavucontrol &
pacmd load-module module-null-sink sink_name=DDVOut1
pacmd update-sink-proplist DDVOut1 device.description=DDVOut1
vban_emitter -i 10.10.10.238 -p 6980 -s DagobertDuck -b pulseaudio &

##Receiver
pacmd load-module module-pipe-source source_name=DDVin1 file=/tmp/DDVin1 format=s16le channels=1 rate=16000
pacmd update-source-proplist DDVin1 device.description=DDVin1
vban_receptor -i 10.10.10.238 -p 6980 -s Microphone -b file -d /tmp/DDVin1 &

and both signals work.
This setup has now been in place for about 2 or 3 weeks and as I do not use it on a daily base, I did not dive deeper.
Nevertheless since yesterday, when trying to establish some SIP Clients (egika) suddenly the receptor is sending back the stream via the emitter, so that I can hear myself speaking with a slight delay.
The trigger point seems to be some loopback I loaded, but unloaded later on. the Loopback itself seems to stay, whatever I do:

pacmd load-module module-loopback latency_msec=1
pacmd unload-module module-loopback

Even I do not think, that it is a VBAN issue, I place the question in here, if this is somehow known?

Otherwise, this issue can be closed from my point of view, as the original question has gone obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants