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

Running the application

Now we're ready to test our file-sharing application. This can be done by performing the following steps:

  1. Go to the project's root folder and compile the signaling server using the following command:
    rebar clean
    rebar get-deps
    rebar compile
    
  2. If you're under the Linux box, start the signaling server using the following command:
    erl -pa deps/*/ebin apps/*/ebin -sasl errlog_type error -s rtcserver_app
    
  3. If you're using the Windows box, use the following command to start the signaling server:
    erl -pa deps/cowboy/ebin deps/cowlib/ebin deps/gproc/ebin deps/jsonerl/ebin deps/ranch/ebin apps/rtcserver/ebin -sasl errlog_type error -s rtcserver_app
    
  4. Now, point your web browser to the domain or IP address where the application is accessible. ...

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