Skip to content

Commit 714f4f0

Browse files
author
Oleksandr Shvetsov
committed
SDK version updated to 2.12.7
- Fixed: "onCallListener" was called several times with same session
1 parent 0a1dee2 commit 714f4f0

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quickblox",
33
"description": "QuickBlox JavaScript SDK",
4-
"version": "2.12.6",
4+
"version": "2.12.7",
55
"homepage": "https://quickblox.com/developers/Javascript",
66
"main": "src/qbMain.js",
77
"license": "(Apache-2.0)",

quickblox.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43768,10 +43768,9 @@ WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension)
4376843768
extension.callType,
4376943769
bandwidth
4377043770
);
43771-
}
43772-
43773-
if (typeof this.onCallListener === 'function') {
43774-
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
43771+
if (typeof this.onCallListener === 'function') {
43772+
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
43773+
}
4377543774
}
4377643775

4377743776
session.processOnCall(userID, extension);
@@ -45596,8 +45595,8 @@ module.exports = StreamManagement;
4559645595
*/
4559745596

4559845597
var config = {
45599-
version: '2.12.1',
45600-
buildNumber: '1084',
45598+
version: '2.12.7',
45599+
buildNumber: '1085',
4560145600
creds: {
4560245601
appId: '',
4560345602
authKey: '',

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/qbWebRTCClient.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,9 @@ WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension)
230230
extension.callType,
231231
bandwidth
232232
);
233-
}
234-
235-
if (typeof this.onCallListener === 'function') {
236-
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
233+
if (typeof this.onCallListener === 'function') {
234+
Utils.safeCallbackCall(this.onCallListener, session, userInfo);
235+
}
237236
}
238237

239238
session.processOnCall(userID, extension);

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.12.1',
16-
buildNumber: '1084',
15+
version: '2.12.7',
16+
buildNumber: '1085',
1717
creds: {
1818
appId: '',
1919
authKey: '',

0 commit comments

Comments
 (0)