Skip to content

Commit fbb78bf

Browse files
author
Oleksandr Shvetsov
committed
SDK version updated to 2.13.6
1 parent 4a28196 commit fbb78bf

File tree

7 files changed

+1085
-1113
lines changed

7 files changed

+1085
-1113
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
1616
## Dependencies for browser
1717

1818
```html
19-
<script src="https://unpkg.com/[email protected].5/quickblox.min.js"></script>
19+
<script src="https://unpkg.com/[email protected].6/quickblox.min.js"></script>
2020
```
2121

2222
## Bower and RequireJS

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quickblox",
33
"description": "QuickBlox JavaScript SDK",
4-
"version": "2.13.5",
4+
"version": "2.13.6",
55
"homepage": "https://quickblox.com/developers/Javascript",
66
"main": "src/qbMain.js",
77
"license": "(Apache-2.0)",
@@ -44,7 +44,7 @@
4444
"node-xmpp-client": "^3.0.0",
4545
"sdp-transform": "^2.3.0",
4646
"strophe.js": "^1.4.0",
47-
"webrtc-adapter": "^7.7.0"
47+
"webrtc-adapter": "^7.7.1"
4848
},
4949
"devDependencies": {
5050
"browserify": "^13.1.0",

quickblox.js

Lines changed: 1073 additions & 1088 deletions
Large diffs are not rendered by default.

quickblox.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/webrtc/qbWebRTCSession.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,8 @@ WebRTCSession.prototype._createPeer = function(userID, peerConnectionType) {
790790
*/
791791

792792
var pcConfig = {
793-
iceServers: _prepareIceServers(config.webrtc.iceServers)
793+
iceServers: config.webrtc.iceServers,
794+
offerExtmapAllowMixed: false
794795
};
795796

796797
Helpers.trace("_createPeer, iceServers: " + JSON.stringify(pcConfig));
@@ -1020,18 +1021,4 @@ function _prepareExtension(extension) {
10201021
return ext;
10211022
}
10221023

1023-
function _prepareIceServers(iceServers) {
1024-
var iceServersCopy = JSON.parse(JSON.stringify(iceServers));
1025-
1026-
Object.keys(iceServersCopy).forEach(function(c, i, a) {
1027-
if(iceServersCopy[i].hasOwnProperty('url')) {
1028-
iceServersCopy[i].urls = iceServersCopy[i].url;
1029-
} else {
1030-
iceServersCopy[i].url = iceServersCopy[i].urls;
1031-
}
1032-
});
1033-
1034-
return iceServersCopy;
1035-
}
1036-
10371024
module.exports = WebRTCSession;

src/qbConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313

1414
var config = {
15-
version: '2.13.5',
16-
buildNumber: '1097',
15+
version: '2.13.6',
16+
buildNumber: '1098',
1717
creds: {
1818
appId: '',
1919
authKey: '',

0 commit comments

Comments
 (0)