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

No sound on Raspbian with forwarded Ports #60

Open
c0wtschpotato opened this issue Aug 21, 2020 · 2 comments
Open

No sound on Raspbian with forwarded Ports #60

c0wtschpotato opened this issue Aug 21, 2020 · 2 comments
Assignees

Comments

@c0wtschpotato
Copy link

Hello,

i try to forward the sound from my win10 destkop to the network and play it from different Pis.
Current setup looks like this: Win10 VoiceMeter VBAN -> Outgoing Stream to 192.168.0.51 (Router) -> Router forwards 6980 to 192.168.1.108 (Pi). I installed VBAN with disable-jack and disable-pluseaudio. ALSA Speaker-test works fine on the connected TV

I tried a bunch of different parameters when starting but cant get it to work.
vban_receptor -i 192.168.1.1 -p 6980 -b alsa -l 4 -s Stream1 -c1 (Note: 192.168.1.1 is the Routers IP in the 1 Subnet)
vban_receptor version 2.1.0

Info: socket_open: opening socket with port 6980
Info: socket_open with port: 6980
Info: audio_init: config is direction out, backend alsa, device , buffer size 3072
Info: audio_backend_get_by_name: found backend alsa
Info: audio_set_map_config: new map config is nb channels 1
Debug: socket_read invoked
Debug: socket_read ip 192.168.1.101

Debug log realy doesnt tell you much, not throwing any errors since its not making any plausibility or connectivity checks. (like you can input IPs like 192.168.1.666 and its just fine with that)
With the Android lite App i get it to work as soon as i forward to my phones IP. I cant tell if its a problem with output or with connecting, but i assume its the connection since alsa seems to work.

@quiniouben
Copy link
Owner

Hi sorry for the late reply, and thank you for your report.
Then things look like if no data is received.
I just checked the implementation of the receptor: it tries to bind to the ip + port. I don't think it should be a problem in a routed situation, but I will double check this.

@quiniouben quiniouben self-assigned this Sep 2, 2020
@Slaviusz
Copy link

Have you ever found a solution or at least the cause? I'm currently facing what seems the same situation.

I have a Windows PC with Banana Mixer with VBAN enabled and configured and I'm trying to stream 2ch 44.1kHz audio to RPi (3B) over wifi. I disabled Windows firewall and I'm able to ping both hosts using IP addresses. When I run vban_receiver with debug log I only see socket_read_invoked as you see but no stream is playing.
I tried to capture traffic on RPi using tcpdump but there's absolutely nothing transmitted.
When I try vban_sendtext I can see packets sent from RPi over UDP to destination IP and correct port but they don't appear in VBAN Chatt app on the Windows PC.

Any other ideas?

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

3 participants