Skip to content

Commit

Permalink
SDK version updated to 2.12.7
Browse files Browse the repository at this point in the history
- Fixed: "onCallListener" was called several times with same session
  • Loading branch information
Oleksandr Shvetsov committed Nov 21, 2019
1 parent 0a1dee2 commit 714f4f0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "quickblox",
"description": "QuickBlox JavaScript SDK",
"version": "2.12.6",
"version": "2.12.7",
"homepage": "https://quickblox.com/developers/Javascript",
"main": "src/qbMain.js",
"license": "(Apache-2.0)",
Expand Down
11 changes: 5 additions & 6 deletions quickblox.js
Original file line number Diff line number Diff line change
Expand Up @@ -43768,10 +43768,9 @@ WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension)
extension.callType,
bandwidth
);
}

if (typeof this.onCallListener === 'function') {
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
if (typeof this.onCallListener === 'function') {
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
}
}

session.processOnCall(userID, extension);
Expand Down Expand Up @@ -45596,8 +45595,8 @@ module.exports = StreamManagement;
*/

var config = {
version: '2.12.1',
buildNumber: '1084',
version: '2.12.7',
buildNumber: '1085',
creds: {
appId: '',
authKey: '',
Expand Down
2 changes: 1 addition & 1 deletion quickblox.min.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions src/modules/webrtc/qbWebRTCClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,9 @@ WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension)
extension.callType,
bandwidth
);
}

if (typeof this.onCallListener === 'function') {
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
if (typeof this.onCallListener === 'function') {
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
}
}

session.processOnCall(userID, extension);
Expand Down
4 changes: 2 additions & 2 deletions src/qbConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/

var config = {
version: '2.12.1',
buildNumber: '1084',
version: '2.12.7',
buildNumber: '1085',
creds: {
appId: '',
authKey: '',
Expand Down

0 comments on commit 714f4f0

Please sign in to comment.