Giter Site home page Giter Site logo

jquery-webrtc's Introduction

Plugin jQuery - webRTC

This plugin is a part of a project developed by Clément Mouret and Luc Tribolet during an internship at Atos Worldline.

It is only available for Chrome/Chromium with support WebRTC. This web application includes a jQuery plugin for the webRTC and allows you to video chat with someone else by sharing a single link.

Requirements

You have to install

  • a signaling server for webRTC (You can get the code source on GitHub : https://github.com/MouMou/EWP)
  • a HTTP server
  • Chrome or Chromium (please get the latest version of Chrome/Chromium Dev or Chrome Canary to avoid troubles and issues)

Installation

  1. Get the sources
  2. Move them in your www directory
  3. Complete the plugin options in index.php
  4. Launch your signaling server for webRTC
  5. Open the page http://yourserver/
  6. Enjoy

Configuration

Place a div element in your page with an id attribute (i.e <div id="#conversation"></div>)

Create a webrtc object like this :

$('#conversation').createWebrtc(); 

And that's it.

You can configure though several options :

$('#conversation').createWebrtc({
	local: '#customLocalVideo',
	remote: '#customRemoteVideo',
	status: '#customStatus',
	signallingServer: 'ws://yourserver:port',
	serverStunTurn: 'addressofyourserver',
	urlParameters : 'room',
	mediaParametersAudio: true,
	mediaParametersVideo: true
});

Credits

This project use the differents following projects :

  • jQuery
  • Bootstrap Twitter

And it's been inspired directly from this application : https://apprtc.appspot.com/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.