2.1.5
This PR is mainly for the release of 2.1.5 which includes bug fixes for incoming stream issues and improved state management
Dependencies
CDN links (gzipped)
- Skylink library with all dependencies:
--//cdn.temasys.io/skylink/skylinkjs/2.1.5/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.5/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.5/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.5/docs/index.html
BUG FIXES
STREAM
sendStream
with prefetchedStream used to triggerON_INCOMING_STREAM
twice. It will only trigger once now.- When more than 2 peers are in a room, a 'streamId does not match transceiverMid' error occurs when one peer mutes a stream. This has been fixed.
PEER CONNECTION
- Peer Connection reconnect logic has been removed due to unexpected behaviour. We are currently working on an improvement.
STATE MANAGEMENT
- When a client calls
leaveRoom
immediately aftermuteStreams
, if there are many streams to mute, a 'roomState is undefined' error occurs. - When a client calls
leaveRoom
and thenjoinRoom
immediately after, the roomState is updated with an outdated roomState.
EVENTS
PEER_LEFT
event on local peer contained incorrectpeerInfo
.
IMPROVEMENTS
STREAM
- Bandwidth options passed in
joinRoom
when no video and audio is requested in the same call will not persist the options in state. Any furthersendStream
orshareScreen
stream will have those bandwidth options applied.
THIRD PARTY INTEGRATION
- We've made improvements to the code for webpack bundling.