O'Reilly logo

WebRTC Blueprints by Andrii Sergiienko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Starting the application and testing

Now it's time to start our application and test the TURN authentication. First, we need to start our TURN server that we built and configured in the previous sections of this chapter. In the command line, run the following command:

/usr/local/bin/turnserver

The preceding command will start the TURN server. If you set the verbose mode in the configuration file as described in an appropriate section in this chapter, you will see a lot of messages from the TURN server describing what is going on.

Next, start the signaling server. Use the following command:

erl -pa deps/*/ebin apps/*/ebin -sasl errlog_type error -s rtcserver_app

Next, open a new browser window and navigate to http://YOUR_DOMAIN:21000/.

Kindly note ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required