Skip to content

@dinawee dinawee released this Jun 30, 2020

This PR is mainly for the release of 2.1.4 which includes bug fixes for the issue of peers occasionally not connecting to the MCU

Dependencies

CDN links (gzipped)

  • Skylink library with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.4/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.4/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.4/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.4/docs/index.html


BUG FIXES

NEGOTIATION

  • enforce peerPriorityWeight as weight returned in inRoom message
  • fix streamId undefined when more than 2 peers connect with MCU
  • fix for peers occasionally not connecting to the MCU
  • fix leaveRoom not resolving when MCU does not successfully join the room

STREAM

  • fix for onIncomingStream triggering twice when sendStream is used with a prefetchedStream

IMPROVEMENTS

STREAM

  • getStreams now returns list of peer streams keyed by peerId and by streamId
  • refactor for better stream management
  • remove deprecated muteAudioEvent and muteVideoEvent

PEER CONNECTION

  • remove MCU as peer in getPeersInRoom and getCustomSettings return result
Assets 2

@dinawee dinawee released this Jun 11, 2020 · 11 commits to 2.x.x/master since this release

Dependencies

CDN links (gzipped)

  • Skylink library with all dependencies:
    -- //cdn.temasys.io/skylink/skylinkjs/2.1.3/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.3/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.3/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.3/docs/index.html


BUG FIXES

PEER CONNECTION

  • refreshConnection will enforce iceRestart flag if it is provided as parameter

STREAM

  • usePrefetchStreams will resolve with streams array

IMPROVEMENTS

PEER CONNECTION

  • add automatic reconnect feature when a peerConnection changes to FAILED state. The SDK will programatically initiated a leaveRoom. Listen on event ROOM_REJOIN to catch when the peer has left the room successfully and to initiate rejoining the room. Available only for P2P connections.

STATS

  • improved stats collection

DOCUMENTATION

  • add SkylinkConstants and SkylinkConstants.EVENTS index for improved navigation
  • removed redundant initOptions and joinRoomOptions and other improvements to readability

DEPENDENCIES

  • update adapter for React Native compatibility
Assets 2

@dinawee dinawee released this May 11, 2020 · 37 commits to 2.x.x/master since this release

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
Assets 2

@dinawee dinawee released this Apr 22, 2020 · 127 commits to 2.x.x/master since this release

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
Assets 2

@dinawee dinawee released this Mar 5, 2020 · 2503 commits to 0.9.x/master since this release

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.
Assets 2
  • 0.9.3
  • 7b3514c
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.9.3
  • 7b3514c
  • Compare
    Choose a tag to compare
    Search for a tag

@dinawee dinawee released this Dec 10, 2019 · 2 commits to 0.9.x/master since this release

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
Assets 2
  • 0.6.39
  • bff53b1
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.6.39
  • bff53b1
  • Compare
    Choose a tag to compare
    Search for a tag

@dinawee dinawee released this Jul 15, 2019 · 74 commits to 0.9.x/master since this release

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
Assets 2
  • 0.9.2
  • d6d589d
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.9.2
  • d6d589d
  • Compare
    Choose a tag to compare
    Search for a tag

@dinawee dinawee released this May 13, 2019 · 11 commits to 0.9.x/master since this release

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.
Assets 2
  • 0.9.1
  • 60557b1
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.9.1
  • 60557b1
  • Compare
    Choose a tag to compare
    Search for a tag

@ishannaithani ishannaithani released this Apr 11, 2019 · 15 commits to 0.9.x/master since this release

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.
Assets 2
  • 0.9.0
  • 8a5aa6b
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.9.0
  • 8a5aa6b
  • Compare
    Choose a tag to compare
    Search for a tag

@ishannaithani ishannaithani released this Apr 8, 2019 · 59 commits to 0.6.x/master since this release

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.
Assets 2
You can’t perform that action at this time.