Skip to content

Commit 950a77e

Browse files
author
Oleksandr Shvetsov
committed
SDK version updated to 2.13.9
1 parent ef9b7fa commit 950a77e

File tree

7 files changed

+25
-9
lines changed

7 files changed

+25
-9
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].8/quickblox.min.js"></script>
19+
<script src="https://unpkg.com/[email protected].9/quickblox.min.js"></script>
2020
```
2121

2222
## Bower and RequireJS

package-lock.json

Lines changed: 2 additions & 2 deletions
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.13.7",
4+
"version": "2.13.9",
55
"homepage": "https://quickblox.com/developers/Javascript",
66
"main": "src/qbMain.js",
77
"license": "(Apache-2.0)",

quickblox.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51804,6 +51804,14 @@ WebRTCClient.prototype.getNewSessionsCount = function (exceptId) {
5180451804
WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension) {
5180551805
var userInfo = extension.userInfo || {};
5180651806

51807+
var currentUserID = Helpers.getIdFromNode(this.connection.jid);
51808+
if (userID === currentUserID && !extension.opponentsIDs.includes(currentUserID)) {
51809+
Helpers.trace(
51810+
'Ignore "onCall" signal from current user.' +
51811+
' userID:' + userID + ', sessionID: ' + sessionID
51812+
);
51813+
return;
51814+
}
5180751815
Helpers.trace("onCall. UserID:" + userID + ". SessionID: " + sessionID);
5180851816

5180951817
var otherActiveSessions = this.isExistNewOrActiveSessionExceptSessionID(sessionID);
@@ -53644,8 +53652,8 @@ module.exports = StreamManagement;
5364453652
*/
5364553653

5364653654
var config = {
53647-
version: '2.13.8',
53648-
buildNumber: '1101',
53655+
version: '2.13.9',
53656+
buildNumber: '1102',
5364953657
creds: {
5365053658
appId: '',
5365153659
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ WebRTCClient.prototype.getNewSessionsCount = function (exceptId) {
183183
WebRTCClient.prototype._onCallListener = function(userID, sessionID, extension) {
184184
var userInfo = extension.userInfo || {};
185185

186+
var currentUserID = Helpers.getIdFromNode(this.connection.jid);
187+
if (userID === currentUserID && !extension.opponentsIDs.includes(currentUserID)) {
188+
Helpers.trace(
189+
'Ignore "onCall" signal from current user.' +
190+
' userID:' + userID + ', sessionID: ' + sessionID
191+
);
192+
return;
193+
}
186194
Helpers.trace("onCall. UserID:" + userID + ". SessionID: " + sessionID);
187195

188196
var otherActiveSessions = this.isExistNewOrActiveSessionExceptSessionID(sessionID);

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.8',
16-
buildNumber: '1101',
15+
version: '2.13.9',
16+
buildNumber: '1102',
1717
creds: {
1818
appId: '',
1919
authKey: '',

0 commit comments

Comments
 (0)