Skip to content

Commit

Permalink
3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Nov 21, 2017
1 parent 3de21ef commit f3ff44c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions THANKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Here the list of contributors with code and patches to JsSIP project. Thanks a l
* [Julian Scheid](https://github.com/jscheid)
* [James Mortensen](https://github.com/jamesmortensen)
* [Steve Davies](https://github.com/davies147)
* [Douglas Amorim Ferreira](https://github.com/douglaseel)


JsSIP Debian and Ubuntu packaging
Expand Down
19 changes: 11 additions & 8 deletions dist/jssip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* JsSIP v3.1.1
* JsSIP v3.1.2
* the Javascript SIP library
* Copyright: 2012-2017 José Luis Millán <[email protected]> (https://github.com/jmillan)
* Homepage: http://jssip.net
Expand Down Expand Up @@ -15605,10 +15605,12 @@ module.exports = function (_EventEmitter) {
}

var e = { originator: 'remote', type: 'answer', sdp: request.body };
var answer = new RTCSessionDescription({ type: 'answer', sdp: e.sdp });

debug('emit "sdp"');
this.emit('sdp', e);

var answer = new RTCSessionDescription({ type: 'answer', sdp: e.sdp });

this._connectionPromiseQueue = this._connectionPromiseQueue.then(function () {
return _this11._connection.setRemoteDescription(answer);
}).then(function () {
Expand Down Expand Up @@ -16186,10 +16188,12 @@ module.exports = function (_EventEmitter) {
}

var e = { originator: 'remote', type: 'offer', sdp: request.body };
var offer = new RTCSessionDescription({ type: 'offer', sdp: e.sdp });

debug('emit "sdp"');
this.emit('sdp', e);

var offer = new RTCSessionDescription({ type: 'offer', sdp: e.sdp });

this._connectionPromiseQueue = this._connectionPromiseQueue.then(function () {
return _this16._connection.setRemoteDescription(offer);
}).then(doAnswer.bind(this)).catch(function (error) {
Expand Down Expand Up @@ -16765,7 +16769,6 @@ module.exports = function (_EventEmitter) {
var e = { originator: 'remote', type: 'answer', sdp: response.body };

debug('emit "sdp"');

this.emit('sdp', e);

var answer = new RTCSessionDescription({ type: 'answer', sdp: e.sdp });
Expand Down Expand Up @@ -16803,8 +16806,8 @@ module.exports = function (_EventEmitter) {
var _answer = new RTCSessionDescription({ type: 'answer', sdp: _e.sdp });

this._connectionPromiseQueue = this._connectionPromiseQueue.then(function () {
// Be ready for 200 with SDP after a 180/183 with SDP. We created a SDP 'answer'
// for it, so check the current signaling state.
// Be ready for 200 with SDP after a 180/183 with SDP.
// We created a SDP 'answer' for it, so check the current signaling state.
if (_this23._connection.signalingState === 'stable') {
return _this23._connection.createOffer().then(function (offer) {
return _this23._connection.setLocalDescription(offer);
Expand Down Expand Up @@ -22872,7 +22875,7 @@ module.exports = function () {
this._url = url;
this._sip_uri = null;
this._via_transport = null;
this.ws = null;
this._ws = null;

var parsed_url = Grammar.parse(url, 'absoluteURI');

Expand Down Expand Up @@ -29474,7 +29477,7 @@ module.exports={
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.1.1",
"version": "3.1.2",
"homepage": "http://jssip.net",
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions 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.1.1",
"version": "3.1.2",
"homepage": "http://jssip.net",
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
"contributors": [
Expand Down

0 comments on commit f3ff44c

Please sign in to comment.