Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

marcoklein/controllerly-core

Repository files navigation

npm version Build Status Known Vulnerabilities Greenkeeper badge NPM

controllerly-core

Controllerly Core for Robust Connection Management with WebRTC.

This is the core for Controllerly. It wraps around the PeerJs Data Connection and enhances the existing connection methods. All messages are tracked and performance is measured. Additionally, keep alive messages prevent the connection from "falling asleep".

Testing

The Karma test framework enables testing of JavaScript within a browser. Controllerly-Core is tested within a headless Chrome browser on travis. You may also run tests by installing Chrome on your PC.

Note that WebRTC has limited browser support by itself which is not tested by this project.

Goal of the testing is to create a real WebRTC connection and test code logic.

https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai#running_it_all_on_travis_ci

Testing requires an installed version of Chrome. For complete automated tests we could add puppetteer. They install a headless Chromium: https://github.com/GoogleChrome/puppeteer. Or use https://www.npmjs.com/package/download-chromium.

About

Controllerly Core for Robust Connection Management with WebRTC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •