Skip to content

Latest commit

 

History

History
182 lines (140 loc) · 6.66 KB

README.md

File metadata and controls

182 lines (140 loc) · 6.66 KB

<<<<<<< HEAD EasyRTC Server Example

This folder contains all the files you'll need to create a simple server with EasyRTC, Express, and Socket.io. You can copy these files where you wish.

Files and Folders:

  • package.json - Provides project information allowing npm to find and install required modules.
  • server.js - Server code.
  • /static/ - Root folder for web server. Put html files here!

Installing Required Modules:

  • Type npm install in console.
  • This will read the package.json file to find and install the required modules including EasyRTC, Express, and Socket.io.
  • Required modules will go into a new 'node_modules' subfolder

Running the Server:

  • Type node server in console.

Viewing the examples:

  • In your WebRTC enabled browser, visit your server address including the port. By default port 8080 is used.
  • http://localhost:8080/ ======= EasyRTC

EasyRTC

A bundle of Open Source WebRTC joy!

Priologic's EasyRTC, a bundle of Open Source WebRTC joy, incorporates an EasyRTC server install and client API, and working, HTML5 and JavaScript, application source code under a BSD 2 license.

Features

  • Install EasyRTC's WebRTC Server on your own Linux, Windows, or Mac server in minutes not days.
  • Use our EasyRTC API and sample application code to build and deploy your WebRTC app in hours not weeks.
  • EasyRTC is completely free and open source under a BSD 2 license. No usage costs or other hidden fees.

Installation In A Nutshell

  1. Install Node.js
  2. Download files from server_example/ and place them in a local folder of your choice.
  3. Run npm install from the installation folder to install dependent packages (including EasyRTC)
  4. Start EasyRTC by running node server.js
  5. Browse the examples using a WebRTC enabled browser. (defaults to port 8080)

Step by step instructions including additional setup options can be found in /docs/easyrtc_server_install.md

Note: there is no corresponding need to install the client files specifically; they were installed as part of EasyRTC in step 3.

Documentation

All documentation can be found within the docs folder.

EasyRTC Server

EasyRTC Client API

  • Client API tutorial
    • /docs/easyrtc_client_tutorial.md
  • Client API
    • /docs/client_html_docs/easyrtc.html
  • Client File Transfer API
    • /docs/client_html_docs/easyrtc_ft.html

General Development

Folder Structure

  • / (root)
    • Licenses and package information
  • /api/
    • Client API files including easyrtc.js
  • /demos/
    • EasyRTC live demos and example code
  • /docs/
    • Documentation for using the API and running the server
  • /lib/
    • Required libraries
  • /node_modules/
    • Required node.js modules
    • This folder will be created during the install
  • /server_example/
    • A simple server example

Included Demos

EasyRTC comes with a number of demo's which work immediately after installation.

  • Video and/or Audio connections
  • Multi-party video chat
  • Text Messaging with or without Data Channels
  • Screen and tab sharing
  • File transfer

Links for help and information

License

Copyright (c) 2014, Priologic Software Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
  this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

bcfcb46ffc559d2eebf7a7438530b43a7368412b