Package Exports
- controllerly-core
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (controllerly-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
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.