Link to github: 0.6.26: Fixes for orphaned socket connections when switching rooms too fast in joinRoom()


Dependencies


CDN links (gzipped)

  • Minified library: //cdn.temasys.io/skylink/skylinkjs/0.6.26/skylink.min.js
  • Debug library: //cdn.temasys.io/skylink/skylinkjs/0.6.26/skylink.debug.js
  • Minified with all dependencies: //cdn.temasys.io/skylink/skylinkjs/0.6.26/skylink.complete.min.js
  • Debug with all dependencies: //cdn.temasys.io/skylink/skylinkjs/0.6.26/skylink.complete.js


API Documentation


NPM Installation

  • npm install git://github.com/Temasys/SkylinkJS#0.6.26


Bug-fixes


Room

  • Fixes for joinRoom() sending multiple join Room requests which results in not opening or closing socket connections properly making them orphaned. This is reproducible only when switching rooms too quickly using the joinRoom() method since in the method, steps are called asynchronously.
  • Fixes for joinRoom({ audio: false, video: false }) not stopping stream. This should only stop getUserMedia() stream not shareScreen().


Stream

  • getUserMedia() and shareScreen() should invoke Adapter.webRTCReady() to initialize screensharing changes for Web apps developed using RequireJS library.


Improvements


Room

  • Fixes for options.socketTimeout in init() method to set default from 20000 to 7000 to improve fallback speed.
  • Fixes for options.forceSSL in init() method to set default from false to true as good security practice to enforce SSL unless specific.
  • Added options.apiTimeout in init() method to set timeout in ms to wait for response from Auth server, which would retry at least twice before aborting.


Peer

  • Fixes for options.usePublicSTUN in init() method to set default from true to false to prevent the list of servers overload.
  • Added new STUN / TURN opened ports for connectivity.


Debugging

  • Added options.printTimestamp in setDebugMode() to print timestamp for every Web console logs printed.


Downloads