Skip to content

Releases: Temasys/SkylinkJS

0.6.29

06 Feb 11:15
d53033d
Compare
Choose a tag to compare

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

24 Jan 10:02
05f2d98
Compare
Choose a tag to compare

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-unpriv and demo/privileged/auto-priv throwing "config not defined" errors.

0.6.27: Fixes for data transfer sessions not be reset after being cancelled from mobile browsers

16 Jan 07:20
fff3a44
Compare
Choose a tag to compare

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.iceServer that is not honored.
  • Fixes for options.enableTURNServer that is not honored.
  • Fixes for options. enableSTUNServer that is not honored.
  • Fixes for init() not triggering readyStateChange even when options.appKey is 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.js for easier accessibility.
  • Bump "node" and "npm" support to ">=8.7.0" and ">=5.5.1".
  • Removed seq-queue and crypto-js as they are unwanted "devDependencies".

Room

  • Moved all settings and flags from init() method to _initOptions for easier accessibility.
  • Ensure returned HTTP status in readyStateChange event 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 and readyStateChange event is triggered accordingly.

New Features

Stream

  • Added getScreenSources() and getStreamSources() that allows users to retrieve the list of sources.

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

18 Sep 02:41
Compare
Choose a tag to compare

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 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.

0.6.25: Safari 11 beta support and refactor of getConnectionStatus() stats retrieval

11 Sep 05:05
Compare
Choose a tag to compare

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.enableSimultaneousTransfers in the init() method to true for 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.useEdgeWebRTC in the init() method to true for 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 enableSimultaneousTransfers which is true by default in the init() 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 15 and 16 (using useEdgeWebRTC flag) stats even though it returns 0 always.
    • Fixes to return the SSRC parsed from the local and remote session description instead from the getStats() which returns 0 in 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

24 Jul 06:51
Compare
Choose a tag to compare

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.stereo not working due to "sprop-stereo" flag parameter not being set.

Documentation

  • Fixes for options.credentials.credentials generation example in init() method appearing as "" instead of "_".

Improvements

Peer

  • Added options.codecParams.audio.opus["sprop-stereo"] parameter option in the init() method.

Documentation

  • Warnings added to ensure options.credentials.credentials in init() 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

15 Jun 05:48
Compare
Choose a tag to compare

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.deviceId throwing errors in Chrome due to using "optional" instead of exact constraints when options.useExactConstraints is false.
  • Fixes for sendStream() to allow custom IE / Safari Temasys plugin stream object due to incorrect checking for type of.
  • Fixes for shareScreen() where not setting enableAudio results 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 enabling options.useEdgeWebRTC.

0.6.22: Select media source for shareScreen()

22 May 12:43
Compare
Choose a tag to compare

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 both options.trace and options.storeLogs.
  • Fixes for setLogLevel() not to default to LOG_LEVEL.WARN.

Room

  • Fixes for joinRoom() callback not triggering error when 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 mediaSource parameter in shareScreen() 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

27 Apr 10:25
Compare
Choose a tag to compare

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 incomingStream from 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.js files.

0.6.20: Fixes for SDP errors with Firefox using MCU

18 Apr 16:48
Compare
Choose a tag to compare

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.sdp as 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 with peerInfo.settings.audio, peerInfo.settings.video and peerInfo.settings.data returning as false when its relevant m= line is rejected.
  • Fixes to ensure that peerUpdated event is triggered each time peerInfo is received in "offer" and "answer" messages.

Improvements

Peer

  • Updates to improve Edge browser 15.xxxx connections.

Demo & Documentation

  • Prevent published .min.js files from dropping console, so logs can be seen from SDK.