mediasoup-client
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -44,2 +44,3 @@ 'use strict'; | ||
* @emits {stats: Object} stats | ||
* @emits handled | ||
* @emits unhandled | ||
@@ -46,0 +47,0 @@ * @emits {originator: String} close |
@@ -182,3 +182,5 @@ 'use strict'; | ||
return _this3._pc.setLocalDescription(offer); | ||
var offerDesc = new RTCSessionDescription(offer); | ||
return _this3._pc.setLocalDescription(offerDesc); | ||
}).then(function () { | ||
@@ -313,3 +315,5 @@ if (!_this3._transportReady) return _this3._setupTransport(); | ||
return _this5._pc.setLocalDescription(offer); | ||
var offerDesc = new RTCSessionDescription(offer); | ||
return _this5._pc.setLocalDescription(offerDesc); | ||
}).then(function () { | ||
@@ -316,0 +320,0 @@ localSdpObj = _sdpTransform2.default.parse(_this5._pc.localDescription.sdp); |
@@ -53,2 +53,3 @@ 'use strict'; | ||
* @emits {stats: Object} stats | ||
* @emits handled | ||
* @emits unhandled | ||
@@ -55,0 +56,0 @@ * @emits trackended |
{ | ||
"name": "mediasoup-client", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "mediasoup client side JavaScript SDK", | ||
@@ -20,3 +20,3 @@ "author": "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)", | ||
"random-number": "0.0.9", | ||
"sdp-transform": "^2.3.1" | ||
"sdp-transform": "^2.4.0" | ||
}, | ||
@@ -28,6 +28,6 @@ "devDependencies": { | ||
"browserify": "^15.2.0", | ||
"eslint": "^4.16.0", | ||
"eslint": "^4.17.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
"gulp": "^4.0.0", | ||
"gulp-babel": "^7.0.0", | ||
"gulp-babel": "^7.0.1", | ||
"gulp-eslint": "^4.0.2", | ||
@@ -34,0 +34,0 @@ "gulp-header": "^2.0.1", |
319287
8386
Updatedsdp-transform@^2.4.0