Git Product home page Git Product logo

closer-sdk.js's Introduction

closer-sdk.js

NPM

closer-sdk.js allows you to add Chat & WebRTC calls to your web and mobile apps.

Technical Support

If you need technical support, please contact [email protected].

Installation

NPM

We recommend using npm to add the CloserSDK as a dependency.

npm install closer-sdk --save

Using this method, you can import closer-sdk.js using ES Module or TypeScript syntax:

import { CloserSDK } from 'closer-sdk';

Or using CommonJS:

const CloserSDK = require('closer-sdk').CloserSDK;

Compatibility

Works with:

  • Chrome 67*
  • Safari 11.1.1
  • Mobile Safari iOS 11.4 (*webview is not supported)
  • Firefox 61*
  • Opera 54 (chrome67)
  • Edge 42 (without Call.broadcast)
  • Renegotiation doesn't work between chrome 67 & firefox 61 because of SDP incompatibilities. Chrome still implements PlanB and firefox use Unified plan: https://bugs.chromium.org/p/chromium/issues/detail?id=465349 This should be solved in M-69 For now, the solution is to add both tracks (audio&video) before the first sdp offer&answer is being sent and disable them if needed.
  • rtcpMuxPolicy negotiate is not supported by Edge - use require instead
  • negotiationNeededDisabled turn on to disable in call renegotiation (which does't work between Chrome&Safari)
  • Call broadcast & message event is based on RtcDataChannel which is not supported by Edge - check BrowserUtils.isBrowserSupported docs

Testing

Running unit tests requires firefox and chrome browsers. You can run unit tests via:

npm run test

License

See LICENSE

closer-sdk.js's People

Contributors

idorobots avatar pexak avatar jaroslawplocki avatar rpt avatar onegrx avatar agajek avatar dslavets avatar mariuszbeltowski avatar alamilar avatar optik avatar

Stargazers

Arkadiusz Pasek avatar

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.