EasyRTC Documentation

Documentation

EasyRTC: Using Alongside Other Servers

EasyRTC supports working alongside of Apache, IIS, and other web servers. In these cases, your web application would use EasyRTC to just handle signaling. All html and other files would continue to be hosted on the current web server.

Configuration Notes:

Walkthrough for Simple Audio Video Demo

Here are some steps to running the simple audio video demo from your web server. This is assuming you are running locally with your web server on port 80, and EasyRTC on port 8080.

  1. Copy the EasyRTC /demos folder to your web root (or a sub folder)
  2. Edit demo_audio_video_simple.html
    • Replace all instances of /easyrtc/ with //localhost:8080/easyrtc/
  3. Edit js/demo_audio_video_simple.js
    • Insert the following to be the first line within the connect() function: easyrtc.setSocketUrl(":8080");
  4. Start your webserver and EasyRTC server
  5. In your browser visit: http://localhost/demos/demoaudiovideo_simple.html

Your own WebRTC app can then be developed in a similar fashion.

If You Run Into Problems

Please feel free to post on our discussion forum: