Skip to content

Releases: Temasys/SkylinkJS

2.1.2

11 May 03:11
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

  • Skylink library with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.2/skylink.complete.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.js
  • Skylink library with all dependencies in umd format:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.2/skylink.complete.umd.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.umd.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.umd.js
  • Minified with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.2/skylink.complete.min.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.min.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.min.js

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/2.1.2/docs/index.html


BUG FIXES

LEAVE ROOM

  • peerLeft event will now not be delayed if enableDataChannel is set to false in initOptions
  • add check to drop endOfCandidates signalling message when the peer has left the room

STREAM

  • Error when stream is muted and then screen share starts on MCU has been fixed
  • The bug where when Safari peer joins with no audio and no video and another peer joins with audio and cannot be heard by the Safari peer is now fixed. Even if audio is not requested by Safari, there will be a request for microphone permissions because Safari requires the access for it to receive audio.

IMPROVEMENTS

DOCUMENTATION

  • documentation updated with MCU behaviour information and sample serverPeerJoined event to be used as the indicator when MCU is ready

DEPENDENCIES

  • adapterjs has been updated to the latest webrtc-adapter
  • Skylink will no longer show a popup bar if the browser is detected to not support WebRTC. It will instead throw an error at the point to initialisation

2.1.1

22 Apr 02:38
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

  • Skylink library with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.1/skylink.complete.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.js
  • Skylink library with all dependencies in umd format:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.1/skylink.complete.umd.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.umd.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.umd.js
  • Minified with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.0/skylink.complete.min.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.min.js
    -- //cdn.temasys.io/skylink/skylinkjs/latest/skylink.complete.min.js

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/2.1.1/docs/index.html


BUG FIXES

MESSAGING

  • Persisted and encrypted messages will not be sent under certain conditions
    • If user enables option to persist messages on the client side but the feature is not enabled on the console, SDK will throw error and drop the message.
    • Only public messages can be persisted

LEAVE ROOM

  • Old peerId was being sent after client initiates leaveRoom and then calls joinRoom again. This has been fixed.
  • SDK was crashing when client initiates leaveRoom if there are no getUserMedia streams. This has also been fixed.

STREAM

  • getUserMedia and sendStream will honour mute options
  • muteStream method now mutes screen share stream if there is a screen stream present and no stream id is specified
  • Client can send multiple streams using sendStream

SOCKET

  • Socket config passed in init options will override socketServerPath

PEER CONNECTION STATS

  • Updates to stats report - refer to docs for new values

EVENTS

  • mediaAccessSuccess event payload updated with isAudio and isVideo flag
  • streamMuted event updated with isAudio, isVideo and isScreensharing flag

IMPROVEMENTS

  • sendStream, getUserMedia and joinRoom examples updated to return an array

DOCUMENTATION

DEMOS

  • Add demo index for easy access
  • New demos
    • 1-1 audio only
    • 1-1 video demo
    • multi chat demo
    • Add ability to select key and media options in kitchensink demo

README/CHANGELOG

  • Update instructions for including script as type module

BUILD

  • Add umd build

2.1.0

05 Mar 10:20
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

  • Skylink library with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.0/skylink.complete.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.js
  • Minified with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.0/skylink.complete.min.js
    -- //cdn.temasys.io/skylink/skylinkjs/2.x/skylink.complete.min.js

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/2.1.0/docs/index.html


BREAKING CHANGE

  • Version 2.x.x is a new an improved implementation of the Skylink Web SDK.
  • 2.x.x is not backward compatible with 0.6.x and 0.9.x.
  • Refer to CHANGELOG.md for the migration guide.

New Features

Messaging

  • Added ability to persist and encrypt messages sent via the signalling server.
  • Options can be configured by calling new methods below and enabling the Persistent Message feature on the Temasys Developers Console.
  • New methods added:
    -- setEncryptSecret
    -- getEncryptSecrets
    -- deleteEncryptSecrets
    -- setSelectedSecret
    -- getSelectedSecret
    -- setMessagePersistence
    -- getMessagePersistence

Improvements

Statistics

  • Update statistics report returned from getConnectionStats method.

0.9.3

10 Dec 02:45
7b3514c
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.9.3/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.9.3


Improvements

Messaging

  • Added encryption to public messages, enabled by passing secret as options.secureMessageSecret in init()
  • Added method getMessageHistory, Skylink event messageHistory and socket message messageHistory to enable async messaging feature

Dependencies

  • Added crypto-js as a dependency

Documentation

  • Updated documentation for sendBlobData

Demos

  • Removed edge-attachmediastream.js from demos

0.6.39

15 Jul 09:57
bff53b1
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.6.39/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.6.39


Bug-fixes

PeerConnection

  • Fixes for shareScreen from FF - remote peer receives black screen
  • implement ontrack to fix FF-FF screen sharing not firing onaddstream when stopScreen is called from remote peer

Stream

  • Fixes for screen sharing interoperability between different browsers
  • shareScreen to send restart message to trigger remote peer to leave and rejoin when screen sharing starts or stops if detected peer is on a different browser

Improvements

Stream

  • Remove Chrome screen sharing extension for Chrome versions > 71

Release 0.9.2

13 May 07:38
d6d589d
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.9.2/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.9.2

Improvements

Stats

  • ClientId generated using generateUUID
  • Quality statistics gathering - enforce consistent ClientId across a session

Notes

Plugin

  • Not supported in versions 0.9.x. Use versions 0.6.x if you require Temasys Plugin support.

MCU

  • Skylink Media Relay/MCU services is not available in versions 0.9.x. All Peer-to-peer connectivity will continue to work.

Release 0.9.1

11 Apr 04:54
60557b1
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.9.1/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.9.1

Bug-fixes

Init

  • Removed adding a dummy <video /> element to check width and height of the video. This was causing stream issues in upcoming releases of Chrome and FF.

MCU

  • This is a breaking change for Peers using the MCU.

Release 0.9.0

08 Apr 02:38
8a5aa6b
Compare
Choose a tag to compare

Note

Apply this update only if you're having issues with using the shareScreen and sendStream methods. Otherwise, use the 0.6.37 release instead.

This update causes Peers to be unable to use the Skylink Media Relay/MCU services. All Peer-to-peer connectivity will continue to work.

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.9.0/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.9.0

Improvements

MediaStream

  • Internal updates to methods shareScreen and sendStream
  • Using RTCRTPSenders.replaceTrack
  • Using renegotiation when needed (when RTCRTPSenders are not available)

Session Description and Peer Connections

  • Defaults to unified-plan
  • Fixes for MS Edge SDP - no \n\r issue
  • Fixes to FF unified SDP - DTLS issue
  • Removing usage of deprecate stream methods

MCU

  • This is a breaking change for Peers using the MCU.

Release 0.6.37

29 Jan 06:15
0b7bcfa
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.6.37/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.6.37

Bug-fixes

ICE Candidates

  • Fixes an unhandled error raised by sendingEndOfCandidates() when a peer joins and leaves within 6000ms interval.

Stats

  • Fixes an issue seen in IE Edge for error parameter in an internal function postStats

Improvements

Session Description

  • Added sdpSemantics flag while create a peer connection to force Chrome to use plan-b for generating a SDP.

Recording

  • Documentation: Remove@beta tag from startRecording and stopRecording methods

License

  • Updated licenses in demos to reflect year 2019

Release 0.6.36

03 Dec 05:24
7d60641
Compare
Choose a tag to compare

Dependencies

CDN links (gzipped)

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

API Documentation

http://cdn.temasys.io/skylink/skylinkjs/0.6.36/doc/classes/Skylink.html

NPM Installation

npm install git://github.com/Temasys/SkylinkJS#0.6.36


Bug-fixes

Data Channel

  • Fixes for for-in loop not enumerating on self._dataChannels[peerId]

Ice Connection

  • Fixes for setting of remoteDescription sdp answer error in Firefox 63.0.3