mibamur / crocodile-rtc

Simplified web-based real-time communications built around WebRTC, SIP, MSRP, and XMPP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crocodile WebRTC SDK: JavaScript Library

Simplified web-based real-time communications built around WebRTC, SIP, MSRP, and XMPP.

Getting Started

If you're only interested in using the library, you can download the single-file concatenated or minified versions from https://www.crocodilertc.net/sdk.

In your web page:

<script src="jquery.js"></script>
<script src="dist/crocodile-rtc.min.js"></script>
<script>
	$(document).ready(function() {
		var croc = $.croc({
			apiKey: "abcdefghijklmnopqrst",
			onConnected: function() {
				// Ready to start communicating!
			}
		});
	});
</script>

Please also consider joining the mailing lists so you can ask for assistance and keep up-to-speed with the latest developments in the library:

Dependencies

The only dependency required by the distributed library is jQuery. The library has primarily been tested with jQuery 1.9.1.

The following libraries are "wrapped up" within the distributed library, and are thus required at build time:

The unit testing also depends on QUnit (http://qunitjs.com/); v1.11.0 is included for convenience.

Documentation

The documentation for the current release is available at http://www.crocodilertc.net/documentation

Alternatively, you can build the latest documentation directly from the JSDoc comments in the code; see CONTRIBUTING.md for instructions on building the code.

If the documentation doesn't help, please visit the crocodile-rtc-discuss mailing list or the forums for further assistance.

Examples

(Coming soon)

Building/contributing

See CONTRIBUTING.md

Release History

No releases yet!

About

Simplified web-based real-time communications built around WebRTC, SIP, MSRP, and XMPP

License:MIT License


Languages

Language:JavaScript 98.9%Language:CSS 0.9%Language:HTML 0.2%