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
http://cdn.temasys.io/skylink/skylinkjs/0.6.26/doc/classes/Skylink.html
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 thejoinRoom()
method since in the method, steps are called asynchronously. - Fixes for
joinRoom({ audio: false, video: false })
not stopping stream. This should only stopgetUserMedia()
stream notshareScreen()
.
Stream
getUserMedia()
andshareScreen()
should invokeAdapter.webRTCReady()
to initialize screensharing changes for Web apps developed using RequireJS library.
Improvements
Room
- Fixes for
options.socketTimeout
ininit()
method to set default from20000
to7000
to improve fallback speed. - Fixes for
options.forceSSL
ininit()
method to set default fromfalse
totrue
as good security practice to enforce SSL unless specific. - Added
options.apiTimeout
ininit()
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
ininit()
method to set default fromtrue
tofalse
to prevent the list of servers overload. - Added new STUN / TURN opened ports for connectivity.
Debugging
- Added
options.printTimestamp
insetDebugMode()
to print timestamp for every Web console logs printed.