Skip to content

Commit

Permalink
3.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Nov 5, 2017
1 parent 659e20a commit 06d4d0c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGELOG
=========

Version 3.0.24 (released in 2017-11-5)
--------------------------------------
* Fix #421. Fire RTCSession 'peerconnection' event as soon as its created


Version 3.0.23 (released in 2017-10-31)
--------------------------------------
* Fix typo. Thanks @michelepra.
Expand Down
20 changes: 6 additions & 14 deletions dist/jssip.js
Original file line number Diff line number Diff line change
Expand Up @@ -14907,12 +14907,6 @@ module.exports = function (_EventEmitter) {
this._connection.addStream(stream);
}

debug('emit "peerconnection"');

this.emit('peerconnection', {
peerconnection: this._connection
});

if (!this._late_sdp) {
var e = { originator: 'remote', type: 'offer', sdp: request.body };

Expand Down Expand Up @@ -15910,6 +15904,12 @@ module.exports = function (_EventEmitter) {
});
}
});

debug('emit "peerconnection"');

this.emit('peerconnection', {
peerconnection: this._connection
});
}
}, {
key: '_createLocalDescription',
Expand Down Expand Up @@ -16610,14 +16610,6 @@ module.exports = function (_EventEmitter) {
this._connection.addStream(stream);
}

debug('emit "peerconnection"');

// Notify the app with the RTCPeerConnection so it can do stuff on it
// before generating the offer.
this.emit('peerconnection', {
peerconnection: this._connection
});

this._connecting(this._request);
this._createLocalDescription('offer', rtcSucceeded.bind(this), rtcFailed.bind(this), rtcOfferConstraints);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jssip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.0.23",
"version": "3.0.24",
"homepage": "http://jssip.net",
"author": "José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
"contributors": [
Expand Down

0 comments on commit 06d4d0c

Please sign in to comment.