Releases: Temasys/SkylinkJS
0.6.29
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.29/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.29/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.29/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.29/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.29/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.29
Bug-fixes
FireFox
- Fixes for Firefox 59 not parsing the actual codecs.
0.6.28
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.28/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.28/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.28/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.28/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.28/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.28
Bug-fixes
Room
- Fixes for
joinRoom(room)not being honored.
Demos
- Fixes for iOS11
- Fixes for
demo/privileged/auto-unprivanddemo/privileged/auto-privthrowing "config not defined" errors.
0.6.27: Fixes for data transfer sessions not be reset after being cancelled from mobile browsers
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.27/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.27/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.27/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.27/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.27/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.27
Bug-fixes
Room
- Fixes for
options.iceServerthat is not honored. - Fixes for
options.enableTURNServerthat is not honored. - Fixes for
options. enableSTUNServerthat is not honored. - Fixes for
init()not triggeringreadyStateChangeeven whenoptions.appKeyis not provided.
Transfers
- Fixes to clear current data transfer session to iOS when cancelled. That is also due to the lack of simultaneous data transfers support in iOS.
Improvements
- Moved all constants to the
source/constants.jsfor easier accessibility. - Bump "node" and "npm" support to
">=8.7.0"and">=5.5.1". - Removed
seq-queueandcrypto-jsas they are unwanted"devDependencies".
Room
- Moved all settings and flags from
init()method to_initOptionsfor easier accessibility. - Ensure returned HTTP status in
readyStateChangeevent is fixed and the parameters are returned correctly.
Tests
- Revamped the tests that have not been working correctly. Moved from tape+testling to karma+mocha+chai.
- Added test for
init()to ensure that parameters are correctly set andreadyStateChangeevent is triggered accordingly.
New Features
Stream
- Added
getScreenSources()andgetStreamSources()that allows users to retrieve the list of sources.
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.socketTimeoutininit()method to set default from20000to7000to improve fallback speed. - Fixes for
options.forceSSLininit()method to set default fromfalsetotrueas good security practice to enforce SSL unless specific. - Added
options.apiTimeoutininit()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.usePublicSTUNininit()method to set default fromtruetofalseto prevent the list of servers overload. - Added new STUN / TURN opened ports for connectivity.
Debugging
- Added
options.printTimestampinsetDebugMode()to print timestamp for every Web console logs printed.
0.6.25: Safari 11 beta support and refactor of getConnectionStatus() stats retrieval
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.25/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.25/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.25/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.25/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.25/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.25
Notes
- For Safari 11, it is recommended to set
options.enableSimultaneousTransfersin theinit()method totruefor Safari 11 case as starting simultaneous data transfers does not work currently. E.g.options.enableSimultaneousTransfers = AdapterJS.webrtcDetectedBrowser === 'safari' && AdapterJS.webrtcDetectedVersion >= 11. - For Edge 15 and 16, it is recommended to enable
options.useEdgeWebRTCin theinit()method totruefor better connectivity. - For Edge 14 to 16, datachannel connections does not work still.
- For Safari 11 and Edge 15 and above, MCU connections may not still be supported.
New Features
Peer
- Support for Safari 11.
Transfers
- Added a flag
enableSimultaneousTransferswhich istrueby default in theinit()method to enable or disable simultaneous data transfers. This is to handle Safari 11 case where the newly opened second datachannel does not open after the negotiation has completed, so that they can start data transfers or send files still.
Improvements
Peer
- Cleaned up
getConnectionStatus()retrieval of stats details.- Enables end-users to retrieve the ICE candidates details despite missing SSRCs details.
- Returns the list of added ICE candidates instead of received ICE candidates and.
- Fixes Edge
15and16(usinguseEdgeWebRTCflag) stats even though it returns0always. - Fixes to return the SSRC parsed from the local and remote session description instead from the
getStats()which returns0in some cases. - Fixes the handling of
getStats()that uses Promises.
- Added support for Firefox 53 TURN over TLS.
0.6.24: Added sprop-stereo to SDP for sending stereo audio
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.24/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.24/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.24/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.24/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.24/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.24
Bug-fixes
Peer
- Fixes to
audio.stereonot working due to "sprop-stereo" flag parameter not being set.
Documentation
- Fixes for
options.credentials.credentialsgeneration example ininit()method appearing as""instead of"_".
Improvements
Peer
- Added
options.codecParams.audio.opus["sprop-stereo"]parameter option in theinit()method.
Documentation
- Warnings added to ensure
options.credentials.credentialsininit()method should be generated from web app server to prevent risk of exposing secret in client web app. - Added better description of "publishOnly" feature.
0.6.23: Firefox 52-55 bandwidth b=TIAS constraints patch
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.23/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.23/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.23/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.23/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.23/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.23
Bug-fixes
Peer
- Fixes to SDP bandwidth constraints due to Firefox 52 bug introduced as referenced here which is patched in 55.
Stream
- Fixes to when setting
options.deviceIdthrowing errors in Chrome due to using "optional" instead of exact constraints whenoptions.useExactConstraintsisfalse. - Fixes for
sendStream()to allow custom IE / Safari Temasys plugin stream object due to incorrect checking for type of. - Fixes for
shareScreen()where not settingenableAudioresults in fetching of audio stream when by default it should not.
Improvements
Peer
- Users can enable Edge 15.x pre-1.0 WebRTC native implementation by enabling flag in
init()method by enablingoptions.useEdgeWebRTC.
0.6.22: Select media source for shareScreen()
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.22/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.22/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.22/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.22/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.22/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.22
Bug-fixes
Debugging
- Fixes to
setDebugMode({})enabling bothoptions.traceandoptions.storeLogs. - Fixes for
setLogLevel()not to default toLOG_LEVEL.WARN.
Room
- Fixes for
joinRoom()callback not triggeringerrorwhen socket is disconnected abruptly before user connects or when socket failed to connect, or when user is rejected. - Fixes for
init()callback error message returning[Error error].
Improvements
Stream
- Added
mediaSourceparameter inshareScreen()which takes in as an Array or a String to allow user to select the media sources for selection.
0.6.21: Updates for MCU publishOnly
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.21/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.21/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.21/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.21/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.21/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.21
Bug-fixes
Stream
- Fixes to prevent
incomingStreamfrom triggering if it contains empty audio or video tracks. - Fixes to trigger
stopScreen()immediately when the "Stop screenshare" button is click on the bottom banner for chrome screensharing extension during screensharing.
Room
- Fixes to ensure adherence to SM protocol
0.1.2.4.
Improvements
Documentation & Demos
- Allow Web console logs to be printed for release
.min.jsfiles.
0.6.20: Fixes for SDP errors with Firefox using MCU
Dependencies
CDN links (gzipped)
- Minified library:
//cdn.temasys.io/skylink/skylinkjs/0.6.20/skylink.min.js - Debug library:
//cdn.temasys.io/skylink/skylinkjs/0.6.20/skylink.debug.js - Minified with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.20/skylink.complete.min.js - Debug with all dependencies:
//cdn.temasys.io/skylink/skylinkjs/0.6.20/skylink.complete.js
API Documentation
http://cdn.temasys.io/skylink/skylinkjs/0.6.20/doc/classes/Skylink.html
NPM Installation
npm install git://github.com/Temasys/SkylinkJS#0.6.20
Bug-fixes
Room
- Fixes to prevent
.init()from resetting the codecs supports information.
Peer
- Fixes for Firefox warnings for
RTCSessionDescription.sdpas a read-only property and cannot be set. - Fixes for "InvalidSessionDescriptionError" thrown in Firefox due to invalid step of "a=sendrecv" received from MCU for "a=inactive" flag.
- Fixes for Edge
getConnectionStatus()undefined (e.g. timestamp of undefined) errors. - Fixes to ensure that
getPeerInfo()reflects the rejected SDP m= line withpeerInfo.settings.audio,peerInfo.settings.videoandpeerInfo.settings.datareturning asfalsewhen its relevant m= line is rejected. - Fixes to ensure that
peerUpdatedevent is triggered each timepeerInfois received in "offer" and "answer" messages.
Improvements
Peer
- Updates to improve Edge browser 15.xxxx connections.
Demo & Documentation
- Prevent published
.min.jsfiles from dropping console, so logs can be seen from SDK.