Book Image

WebRTC Blueprints

By : Andrii Sergiienko
Book Image

WebRTC Blueprints

By: Andrii Sergiienko

Overview of this book

Table of Contents (13 chapters)
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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 that you have to use the appropriate IP address or domain name where your signaling server is actually running.

If everything is OK, you will see a web form asking you to enter your e-mail address and password. As you know, we use static credentials...