Terminal-based P2P VoIP application (TeamSpeak-/Skype-like voice chatting over LAN or Internet)
speaker
module which allows specifiying the output device. (See here)On Linux it should work fine. At least for me it does.
tvoip is a simple terminal-based P2P VoIP application. Unlike Skype or similar applications:
Usage: node index.js [options]
Options:
-V, --version output the version number
-c, --connect <host:port> Connect to a host, (Supports IP:port and hostname:port.)
-l, --listen <port> Automatically accept connections on this port.
-i, --input [device-name] Input device, (Leave empty to use the default recording device.)
-o, --output [device-name] Output device, (Leave empty to use the default playback device.)
-a, --mic-channels <count> Number of channels 1=mono; 2=stereo (Leave empty to use 1.)
-b, --speaker-channels <count> Number of channels 1=mono; 2=stereo (Leave empty to use 2.)
-d, --debug <bool> true to enable debug, false to disable debug. (Leave empty to not use debug.)
-g, --log <file> Log to file
-h, --help output usage information
Examples:
node index.js --listen 3333 --input hw:0,0 --output hw:1,1
node index.js --connect 192.168.1.101:3333 --input hw:0,0 --output hw:1,1
(The format for the input/output device comes from ALSA. Please refer to arecord
and aplay
and this stackoverflow question.)
You will need ALSA.
libasound2-dev
, alsa-base
and alsa-utils
on debian-like systems (sudo apt-get install libasound2-dev alsa-base alsa-utils
).alsa-lib-devel
alsa-utils
and alsa-lib
(sudo dnf install alsa-lib-devel alsa-utils alsa-lib
)You will need SoX. Please go here: SoX
You will need SoX. Please go here: SoX
git clone --recursive https://github.com/T-vK/tvoip.git
cd tvoip
npm i
Please open an issue right here on Github.