/easyrtc

EasyRTC is a bundle of Open Source WebRTC joy! Our Javascript API hides the differences between Chrome and Firefox browsers and simplifies coding needed for working WebRTC apps. Signalling server using socket.io built on node.js. Tons of free code so you can build WebRTC apps in a few hours that just work. Demos include Instant messaging, Multiparty chatroom, Audio + Video, Screen sharing, Data channel Messaging and File sharing, and more.

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

EasyRTC

EasyRTC

A bundle of Open Source WebRTC joy!

Priologic's EasyRTC, a bundle of Open Source WebRTC joy, include an EasyRTC server andclient API, HTML5 and JavaScript demos under a BSD 2 license.

Notice to Developers

  • For last fixes use beta branch (@hthetiot 07-19-2018)

npm install easyrtc@priologic/easyrtc#beta

  • To try last EasyRTC Server simply try the lastest docker image (@hthetiot 11-25-2018)

docker run -it --name myeasyrtc --rm -p 8443:8443 hthetiot/easyrtc:latest run server_ssl

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 the EasyRTC distribution from github (https://github.com/priologic/easyrtc.git)
  3. Run npm install in the easyrtc directory.
  4. Enter the easyrtc/server_example directory by executing cd server_example
  5. Run npm install in the server_example directory.
  6. Start EasyRTC by running node server.js while in the server_example directory.
  7. Browse the examples using a WebRTC enabled browser. (defaults to port 8080)

Important note: Chrome will not grant access to local microphones or cameras for a page served using http except for the localhost case. See the docs/easyrtc_server_ssl.md file for instructions on serving files using https.

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
  • Client side video recording

Links for help and information

License

Copyright (c) 2016, 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.