I'm trying to create simple p2p voice-chat script.
my first attempt was to establish one way communication using sox and netcat:
on receiving computer:
and on sending:Code:
nc -l 0.0.0.0 1234 | play -r 8k -t flac -
audio from default input in one computer is played on second box, but there's over 4 second lag...Code:
rec -r 8k -t flac - | nc 192.168.1.11 1234
can someone recommend any solution?
maybe some other recording and playback software or different codec?