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.enableSimultaneousTransfers
in theinit()
method totrue
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 theinit()
method totrue
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 istrue
by 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
15
and16
(usinguseEdgeWebRTC
flag) stats even though it returns0
always. - Fixes to return the SSRC parsed from the local and remote session description instead from the
getStats()
which returns0
in some cases. - Fixes the handling of
getStats()
that uses Promises.
- Added support for Firefox 53 TURN over TLS.