SamDel/ChromeCast-Desktop-Audio-Streamer

Connects to speaker but no sound is heard

eldontyrellcorp2019 opened this issue · 8 comments

Version 5.1.6 worked the first time I used it (see #147)

But now, no music is heard after I connect to a speaker. The status in the app says "Idle" but I know it is connected because I can control the speaker volume with app slider.

Possibly related is a Windows .NET 7 error message that I get every time I launch the app or scan again for devices (which I ignore and close, and the app stays open).

I have a firewall rule for both inbound and outbound connections, and I have created a port forwarding rule for port 8009 in my Synology WRX560 router, using my PC's IP address. Havel also added the exe file to the split tunnelling settings in my NordVPN app to bypass the PC's VPN connection.

Windows 10 log, app log, and some screenshots are attached. Thanks for your help.

APP ERROR LOG - Destop Audio Streamer.txt
WINDOWS ERROR MESSAGE - Destop Audio Streamer.txt
Screenshot CDAStreamer error
Screenshot CDAStreamer control panel

SamDel commented

Something goes wrong with the IP4 address that's used for the streaming connection. Are there entries in that dropdown on the option tab?

The application can also be improved in a scenario like this.

Hi Sam, yes, there is my PC's IP - which is chosen - plus one other: 127.0.0.1

For what it is worth, I have assigned fixed IP addresses to each of my speakers, so they don't wander around the LAN...
FYI, I have 16 speakers, and some in groups. The connections have been pretty good for a long time.

SamDel commented

Thanks. Does Setup 5.3.1.zip work for you?

For what it is worth, I have assigned fixed IP addresses to each of my speakers, so they don't wander around the LAN... FYI, I have 16 speakers, and some in groups. The connections have been pretty good for a long time.

Yes, I do have static IPs for all my devices.

Something goes wrong with the IP4 address that's used for the streaming connection. Are there entries in that dropdown on the option tab?

Okay I've discovered the cause. Damn it, it's the VPN!

If I completely close the NordVPN app, Desktop Audio Streamer works as normal.

So I need to work out the cause. Perhaps some additional process/app/s needs to be added to the split tunnelling list - not just ChromeCast.Desktop.AudioStreamer.exe?

SamDel commented

In code it fails on this line. The LocalEndPoint property of the Socket class returns null in your case. Because of that the streaming connection is not opened (No 'Streaming from ...' line in your log) and loading the stream by the device fails.

I tried to fix that in 5.3.1. With the information you provided I can maybe do a test (with VPN) later.

In code it fails on this line. The LocalEndPoint property of the Socket class returns null in your case. Because of that the streaming connection is not opened (No 'Streaming from ...' line in your log) and loading the stream by the device fails.

I tried to fix that in 5.3.1. With the information you provided I can maybe do a test (with VPN) later.

Thanks for that. I'll just manage in the meantime :)