Microphone 20 sec Latency

I have an issues with a massive delay/latency of the microphone. The microphone is connected via standard jack directly to a sound card. The speaker is a IP based in the other room. When tested the voice comes out with about 20 seconds latency.

Any idea what to do with it?

Assuming there is n o magic involved, you are probably using some propgram that records from the micro and sends out to the loudspeker. It might be interesting to potential helpers to tell what that program is.

Also are the computer and speaker connected directly (one-hop) on your LAN or do the packets travel via a server somewhere?