tvoip
1.0.0
speaker 모듈의 사용자 정의 버전을 가져옵니다. (여기 참조) Linux에서는 잘 작동해야합니다. 적어도 나를 위해 그것은 그렇게합니다.
TVOIP는 간단한 터미널 기반 P2P VOIP 응용 프로그램입니다. 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 라고합니다 ( 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.git 으로 복제하십시오cd tvoipnpm iGithub에서 바로 여기에 문제를여십시오.