Code Monkey home page Code Monkey logo

rtcc-integration's Introduction

First steps

Compatibility

The RTCC API version 6.1.35 or higher is required.

Install with bower

Install with: bower install rtcc-integration --save

Include the following files to your project:

  • bower_components/rtcc-integration/dist/rtccint.js
  • bower_components/rtcc-integration/dist/css/main.css

You are now ready to go!

Annotation

With this module, you can draw on the video or another element.

Important: The Annotation module depends upon the jQuery plugin javascript-detect-element-resize, which has been downloaded in a folder in bower_components. If you want to use it, include the library bower_components/javascript-detect-element-resize/jquery.resize.js in your project.

A basic example that enables annotations on the video box:

var annotation;
call.on('active', function(){
  annotation = new RtccInt.Annotation(rtcc, call);
  //choose an annotation mode
  annotation.setMode(RtccInt.Annotation.modes.DRAW);
})

This module is compatible with all connexion client types offered in RTCC: webrtc, driver, plugin.

Chat

See the doc at doc/Chat.js.html

Possible improvements

  • Tests could be improved using the Vent lib. It's possible to simulate events with the trigger function

Contribute

See here how to improve this project.

Version history

  • 2.3.14: Fix annotation offest bug
  • 2.3.12: Fix for mobile: pointer position, drop circle size, number of position messages. Also fix right click drawing bug when going outside of the canvas.
  • 2.3.11: Fix annotations on non-16/9 videos
  • 2.3.0: Fix fullscreen issue with FF, use a jQuery plugin instead of a standalone library to detect the resize
  • 2.2.0: Mode can be reset to 'none'
  • 2.1.0: Screenshare support
  • 2.0.0: Module Draw changes name to Annotation and other non-retrocompatible changes with constants
  • 1.0.0: First version

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.