How to setup coTurn for Mac

Ittipon Teerapruettikulchai
1 min readSep 29, 2016

--

First download it from: https://github.com/coturn/coturn/wiki/Downloads

Then extract it, Then enter into the folder with Terminal
then enter the command

sudo ./configure

While configuring it may occur error relates to libevent
You have to install libevent by Homebrew, If it is not installed you can install it with command

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

Then install the libevent with command

brew install libevent

After configured successful, enter make command

make

Then make install

make install

Now, if everything successful, coTurn will be ready to use. An usage instruction will be shown on the Terminal like this

screen-shot-2016-09-29-at-1-50-05-pm

You have to create config file copy file from

/usr/local/etc/turnserver.conf.default

Then paste and rename it to

/etc/turnserver.conf

or

/usr/local/etc/turnserver.conf

Then you can try run it with command

turnserver

--

--

Responses (1)