Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mullen committed Jul 10, 2019
1 parent 3e945c4 commit 6c71419
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-signal-client",
"version": "2.1.0",
"version": "2.2.0",
"description": "socket.io signalling solution for simple-peer",
"main": "src/index.js",
"author": "Thomas Mullen",
Expand Down
3 changes: 0 additions & 3 deletions client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ SimpleSignalClient.prototype._onSafeConnect = function (peer, callback) {
}
peer.on('stream', streamHandler)
peer.on('track', trackHandler)
setTimeout(() => {

}, 0)
peer.once('connect', () => {
setTimeout(() => {
peer.emit('connect') // expose missed 'connect' event to application
Expand Down

0 comments on commit 6c71419

Please sign in to comment.