EaseRTC Opensource Library for WebRTC. It helps you code your program faster than using normal WebRTC API.
You can try our example online. Link To The Project
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.
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();
For full details on this API please visit our official EaseRTC website
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).
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!!!
Thank you for using easeRTC,
CodingReef Developers Team
Official Site
Coding Reef Developers
GitHub