install

来自「voudp - VoIP for NetBSD」· 代码 · 共 46 行

TXT
46
字号
Building:1.  Build speex.  This was developed against speex-1.0.3, built from    pkgsrc/audio/speex2.  If it's installed somewhere strange, fix the Makefile to find the speex    library and headers.3.  Run make.  gmake doesn't work right, because the default .cpp->.o rule in    gmake doesn't pick up CFLAGS.Installing:1.  Install a sound card that can natively do 8kHz 16 bit signed linear stereo,    both recording and playing.  Make sure your driver announces itself as both    "full duplex" and "mmap".2.  Apply the following patch from 1999, to allow mmapping of the record buffer:      http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=6827    Rebuild your kernel, and reboot.3.  Add a group voudpd4.  Add a user voudpd (shell /sbin/nologin, group voudpd)6.  in /etc/rc.conf, add:      voudpd=YES   voudpd_flags="2074 500"    or some similar flags7.  ln -s /path/to/voudpd      /usr/local/sbin    ln -s /path/to/voudpconfig /usr/local/bin    ln -s /path/to/rc_voudpd   /etc/rc.d/voudpd8.  mkdir /etc/voudpd    echo max_packet_len 300 max_buf_ms 20 host localhost port 2074 >       /etc/voudpd/local    or some such8.  /etc/rc.d/voudpd start    voudpconfig local startYou don't have to create /var/chroot/voudpd, or /var/log/voudpd, as the rcscript, or voudpd itself will create them with appropriate perms if they don'texist.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?