Skip to content

Welcome to EaseRTC, An Opensource Library for WebRTC. EaseRTC is an client-side library, thus it doesn't require any server. With EaseRTC you can use our easy APIs to shorten your long code. Our easy Documentation can make you understand how all things work.

License

Notifications You must be signed in to change notification settings

CodingReefDev/EaseRTC

Repository files navigation

Welcome to EaseRTC

EaseRTC Opensource Library for WebRTC. It helps you code your program faster than using normal WebRTC API.

Try Before Use

You can try our example online. Link To The Project

How To Install

You will need to install Git Bash

Then, lets Clone the GitHub repository

git clone https://github.com/CodingReef/EaseRTC.git

Or you can just add the following code snippet in the head tag of your html file

<script src="https://codingreef.github.io/EaseRTC/EaseRTC.js" ></script>

NOTE : If you clone the git repository you will have an pre-built example which you can run.

Supported APIs

First let's make a instance of the library's class to use the functions inside it.

var easeRTC = new EaseRTC(configuation, offerOptions, answerOptions);

Let's see what's going on,

configuation - RTCPeerConnection Configuration

offerOptions - RTCOfferOptions

answerOptions - RTCAnswerOptions

Now that the Instance is created you can use functions inside this class

  • easeRTC.createOffer();
  • easeRTC.createAnswer(offer);
  • easeRTC.acceptAnswer(answer);
  • easeRTC.onIce();
  • easeRTC.addIce(iceCandidate);
  • easeRTC.ontrack();
  • easeRTC.addTrack(track);
  • easeRTC.reconnectSession();
  • easeRTC.getRTCObject();
  • easeRTC.getMedia();

Documentation

For full details on this API please visit our official EaseRTC website

What next?

Now that you know what to do, you can develop your own WebRTC Calling App/Website. If you come across any issue or problems you can start a new issue on GitHub, we or the community will respond to you with the solution. And don't forget to check out our example files (run index.html).

Want to contribute?

As this is an open source Project you can add your advancement to this and contribute it, we'll see if it works and publish it. Make sure to add your name in the readme.md file before you contribute it. thanks!!!

contributors

Vigneshkumar212

Thank you for using easeRTC,

CodingReef Developers Team


Official Site
Coding Reef Developers
GitHub

About

Welcome to EaseRTC, An Opensource Library for WebRTC. EaseRTC is an client-side library, thus it doesn't require any server. With EaseRTC you can use our easy APIs to shorten your long code. Our easy Documentation can make you understand how all things work.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published