tvoip
1.0.0
speaker , которая позволяет определить выходное устройство. (См. Здесь) На Linux это должно работать нормально. По крайней мере, для меня это так.
TVOIP-это простое приложение P2P на основе терминала. В отличие от Skype или аналогичных приложений:
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
(Формат для устройства ввода/вывода поступает из ALSA. Пожалуйста, обратитесь к arecord и aplay и этому вопросу StackOverflow.)
Вам понадобится ALSA.
libasound2-dev , alsa-base и alsa-utils на Debian-подобных системах ( sudo apt-get install libasound2-dev alsa-base alsa-utils ).alsa-lib-devel alsa-utils и alsa-lib ( sudo dnf install alsa-lib-devel alsa-utils alsa-lib )Вам понадобится Сокс. Пожалуйста, зайдите сюда: Sox
Вам понадобится Сокс. Пожалуйста, зайдите сюда: Sox
git clone --recursive https://github.com/T-vK/tvoip.gitcd tvoipnpm iПожалуйста, откройте проблему прямо здесь, на GitHub.