Skip to content

2.1.1

Compare
Choose a tag to compare
@dinawee dinawee released this 22 Apr 02:38
· 524 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