coturn server 설치
설치
=====
git clone https://github.com/coturn/coturn.git
sudo apt-get update
sudo apt-get install sqlite3 libsqlite3-dev libevent-dev libssl-dev build-essential
cd coturn
sudo ./configure
make
설정
=====
sudo cp ./examples/etc/turnserver.conf /etc/turnserver.conf
sudo mkdir /usr/local/var
sudo mkdir /usr/local/var/db
sudo cp ./sqlite/turndb /usr/local/var/db/turndb
sudo cp ./examples/etc/turn_server_cert.pem /usr/local/etc/turn_server_cert.pem
sudo cp ./examples/etc/turn_server_pkey.pem /usr/local/etc/turn_server_pkey.pem
sudo ./bin/turnadmin -A -u username -p password
실행
=====
sudo ./turnserver
http://bonjourlemonde.tistory.com/152
*방화벽 설정 : 3478 , 5349 UDP/TCP
*/etc/turnserver.conf 설정
listening-ip=0.0.0.0
댓글 없음:
댓글 쓰기