Skip to content

Commit 2c7b71e

Browse files
authored
Sprint 15 (#306)
- Add possibility to set a bandwidth limit for the video call. Set the bandwidth at create sssion by QB.webrtc.createNewSession(calleesIds, sessionType, callerID, bandwidth);. - Add DELETE Custom Object by criteria by updated a method QB.data.delete. Now the method takes QB.data.delete(className, {string|array|object}, callback) where second parameter an id (String) or a list of ids (Array) or criteria rules (Object) to delete. Check out docs for more details; - Normalize an answer on DELETE Custom Object by criteria for any passed types; Check out docs for more details; - Update QB.webrtc.onCallStatsReport(session, userId, stats, error) listener; - Add ability set credentials and endpoints by search param of URL in webRTC sample: https//:www.host.com/?appId={Number}&authKey={String}&authSecret={String}&endpoints.api={String}&endpoints.chat={String}. Also remove production configuration/app and leave stage app configuration; - Add a bandwidth configuration to WebRTC sample; - Remove code for "Hack for Firefox" (https://bugzilla.mozilla.org/show_bug.cgi?id=852665) cause we are support FF52+ now;
1 parent 33ed72e commit 2c7b71e

35 files changed

+8912
-415
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"extends": "eslint:recommended",
33
"env": {
44
"browser": true,
5-
"node": true
5+
"node": true,
6+
"es6": true,
7+
"jasmine": true
68
},
79
"globals": {
810
"QB": true,
@@ -19,4 +21,4 @@
1921
"no-mixed-spaces-and-tabs": 1,
2022
"no-extra-boolean-cast": 1
2123
}
22-
}
24+
}

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://cdnjs.cloudflare.com/ajax/libs/quickblox/2.8.1/quickblox.min.js"></script>
19+
<script src="https://cdnjs.cloudflare.com/ajax/libs/quickblox/2.9.0/quickblox.min.js"></script>
2020
```
2121

2222
## Bower and RequireJS

bower.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.8.1",
4+
"version": "2.9.0",
55
"homepage": "https://quickblox.com/developers/Javascript",
66
"main": "quickblox.js",
77
"license": "Apache 2.0",

docs/QB.addressbook.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ <h5>Example</h5>
12911291

12921292

12931293
<footer>
1294-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
1294+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
12951295
</footer>
12961296
</div>
12971297
</div>

docs/QB.chat.dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ <h4 class="name" id=".update">
13091309

13101310

13111311
<footer>
1312-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
1312+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
13131313
</footer>
13141314
</div>
13151315
</div>

docs/QB.chat.helpers.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ <h4 class="name" id=".getBsonObjectId">
745745

746746

747747
<div class="tag-source">
748-
modules/chat/qbChat.js, line 2335
748+
modules/chat/qbChat.js, line 2351
749749
</div>
750750

751751
</div>
@@ -845,7 +845,7 @@ <h4 class="name" id=".getDialogIdFromNode">
845845

846846

847847
<div class="tag-source">
848-
modules/chat/qbChat.js, line 2279
848+
modules/chat/qbChat.js, line 2295
849849
</div>
850850

851851
</div>
@@ -990,7 +990,7 @@ <h4 class="name" id=".getIdFromNode">
990990

991991

992992
<div class="tag-source">
993-
modules/chat/qbChat.js, line 2269
993+
modules/chat/qbChat.js, line 2285
994994
</div>
995995

996996
</div>
@@ -1135,7 +1135,7 @@ <h4 class="name" id=".getIdFromResource">
11351135

11361136

11371137
<div class="tag-source">
1138-
modules/chat/qbChat.js, line 2311
1138+
modules/chat/qbChat.js, line 2327
11391139
</div>
11401140

11411141
</div>
@@ -1280,7 +1280,7 @@ <h4 class="name" id=".getRecipientId">
12801280

12811281

12821282
<div class="tag-source">
1283-
modules/chat/qbChat.js, line 2229
1283+
modules/chat/qbChat.js, line 2245
12841284
</div>
12851285

12861286
</div>
@@ -1448,7 +1448,7 @@ <h4 class="name" id=".getRoomJid">
14481448

14491449

14501450
<div class="tag-source">
1451-
modules/chat/qbChat.js, line 2301
1451+
modules/chat/qbChat.js, line 2317
14521452
</div>
14531453

14541454
</div>
@@ -1616,7 +1616,7 @@ <h4 class="name" id=".getRoomJidFromDialogId">
16161616

16171617

16181618
<div class="tag-source">
1619-
modules/chat/qbChat.js, line 2290
1619+
modules/chat/qbChat.js, line 2306
16201620
</div>
16211621

16221622
</div>
@@ -1761,7 +1761,7 @@ <h4 class="name" id=".getRoomJidFromRoomFullJid">
17611761

17621762

17631763
<div class="tag-source">
1764-
modules/chat/qbChat.js, line 2324
1764+
modules/chat/qbChat.js, line 2340
17651765
</div>
17661766

17671767
</div>
@@ -1906,7 +1906,7 @@ <h4 class="name" id=".getUserIdFromRoomJid">
19061906

19071907

19081908
<div class="tag-source">
1909-
modules/chat/qbChat.js, line 2345
1909+
modules/chat/qbChat.js, line 2361
19101910
</div>
19111911

19121912
</div>
@@ -2051,7 +2051,7 @@ <h4 class="name" id=".getUserJid">
20512051

20522052

20532053
<div class="tag-source">
2054-
modules/chat/qbChat.js, line 2246
2054+
modules/chat/qbChat.js, line 2262
20552055
</div>
20562056

20572057
</div>
@@ -2219,7 +2219,7 @@ <h4 class="name" id=".getUserNickWithMucDomain">
22192219

22202220

22212221
<div class="tag-source">
2222-
modules/chat/qbChat.js, line 2259
2222+
modules/chat/qbChat.js, line 2275
22232223
</div>
22242224

22252225
</div>
@@ -2364,7 +2364,7 @@ <h4 class="name" id=".jidOrUserId">
23642364

23652365

23662366
<div class="tag-source">
2367-
modules/chat/qbChat.js, line 2192
2367+
modules/chat/qbChat.js, line 2208
23682368
</div>
23692369

23702370
</div>
@@ -2512,7 +2512,7 @@ <h4 class="name" id=".typeChat">
25122512

25132513

25142514
<div class="tag-source">
2515-
modules/chat/qbChat.js, line 2210
2515+
modules/chat/qbChat.js, line 2226
25162516
</div>
25172517

25182518
</div>
@@ -2668,7 +2668,7 @@ <h5>Returns:</h5>
26682668

26692669

26702670
<footer>
2671-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
2671+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
26722672
</footer>
26732673
</div>
26742674
</div>

docs/QB.chat.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ <h4 class="name" id=".disconnect">
10451045

10461046

10471047
<div class="tag-source">
1048-
modules/chat/qbChat.js, line 1175
1048+
modules/chat/qbChat.js, line 1191
10491049
</div>
10501050

10511051
</div>
@@ -1116,7 +1116,7 @@ <h4 class="name" id=".getLastUserActivity">
11161116

11171117

11181118
<div class="tag-source">
1119-
modules/chat/qbChat.js, line 1144
1119+
modules/chat/qbChat.js, line 1160
11201120
</div>
11211121

11221122
</div>
@@ -3439,7 +3439,7 @@ <h4 class="name" id=".send">
34393439

34403440

34413441
<div class="tag-source">
3442-
modules/chat/qbChat.js, line 908
3442+
modules/chat/qbChat.js, line 924
34433443
</div>
34443444

34453445
</div>
@@ -3610,7 +3610,7 @@ <h4 class="name" id=".sendIsStopTypingStatus">
36103610

36113611

36123612
<div class="tag-source">
3613-
modules/chat/qbChat.js, line 1045
3613+
modules/chat/qbChat.js, line 1061
36143614
</div>
36153615

36163616
</div>
@@ -3729,7 +3729,7 @@ <h4 class="name" id=".sendIsTypingStatus">
37293729

37303730

37313731
<div class="tag-source">
3732-
modules/chat/qbChat.js, line 1018
3732+
modules/chat/qbChat.js, line 1034
37333733
</div>
37343734

37353735
</div>
@@ -3848,7 +3848,7 @@ <h4 class="name" id=".sendReadStatus">
38483848

38493849

38503850
<div class="tag-source">
3851-
modules/chat/qbChat.js, line 1111
3851+
modules/chat/qbChat.js, line 1127
38523852
</div>
38533853

38543854
</div>
@@ -4055,7 +4055,7 @@ <h4 class="name" id=".sendSystemMessage">
40554055

40564056

40574057
<div class="tag-source">
4058-
modules/chat/qbChat.js, line 970
4058+
modules/chat/qbChat.js, line 986
40594059
</div>
40604060

40614061
</div>
@@ -4234,7 +4234,7 @@ <h5>Returns:</h5>
42344234

42354235

42364236
<footer>
4237-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
4237+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
42384238
</footer>
42394239
</div>
42404240
</div>

docs/QB.chat.message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ <h4 class="name" id=".update">
15571557

15581558

15591559
<footer>
1560-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
1560+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
15611561
</footer>
15621562
</div>
15631563
</div>

docs/QB.chat.muc.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ <h4 class="name" id=".join">
696696

697697

698698
<div class="tag-source">
699-
modules/chat/qbChat.js, line 1515
699+
modules/chat/qbChat.js, line 1531
700700
</div>
701701

702702
</div>
@@ -835,7 +835,7 @@ <h4 class="name" id=".leave">
835835

836836

837837
<div class="tag-source">
838-
modules/chat/qbChat.js, line 1561
838+
modules/chat/qbChat.js, line 1577
839839
</div>
840840

841841
</div>
@@ -974,7 +974,7 @@ <h4 class="name" id=".listOnlineUsers">
974974

975975

976976
<div class="tag-source">
977-
modules/chat/qbChat.js, line 1604
977+
modules/chat/qbChat.js, line 1620
978978
</div>
979979

980980
</div>
@@ -1121,7 +1121,7 @@ <h4 class="name" id=".listOnlineUsers">
11211121

11221122

11231123
<footer>
1124-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
1124+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
11251125
</footer>
11261126
</div>
11271127
</div>

docs/QB.chat.privacylist.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ <h4 class="name" id=".create">
696696

697697

698698
<div class="tag-source">
699-
modules/chat/qbChat.js, line 1687
699+
modules/chat/qbChat.js, line 1703
700700
</div>
701701

702702
</div>
@@ -835,7 +835,7 @@ <h4 class="name" id=".delete">
835835

836836

837837
<div class="tag-source">
838-
modules/chat/qbChat.js, line 2059
838+
modules/chat/qbChat.js, line 2075
839839
</div>
840840

841841
</div>
@@ -974,7 +974,7 @@ <h4 class="name" id=".getList">
974974

975975

976976
<div class="tag-source">
977-
modules/chat/qbChat.js, line 1843
977+
modules/chat/qbChat.js, line 1859
978978
</div>
979979

980980
</div>
@@ -1113,7 +1113,7 @@ <h4 class="name" id=".getNames">
11131113

11141114

11151115
<div class="tag-source">
1116-
modules/chat/qbChat.js, line 1965
1116+
modules/chat/qbChat.js, line 1981
11171117
</div>
11181118

11191119
</div>
@@ -1229,7 +1229,7 @@ <h4 class="name" id=".setAsDefault">
12291229

12301230

12311231
<div class="tag-source">
1232-
modules/chat/qbChat.js, line 2119
1232+
modules/chat/qbChat.js, line 2135
12331233
</div>
12341234

12351235
</div>
@@ -1368,7 +1368,7 @@ <h4 class="name" id=".update">
13681368

13691369

13701370
<div class="tag-source">
1371-
modules/chat/qbChat.js, line 1930
1371+
modules/chat/qbChat.js, line 1946
13721372
</div>
13731373

13741374
</div>
@@ -1515,7 +1515,7 @@ <h4 class="name" id=".update">
15151515

15161516

15171517
<footer>
1518-
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Jan 30 2018 14:55:06 GMT+0200 (FLE Standard Time)
1518+
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Wed Feb 28 2018 18:12:50 GMT+0200 (FLE Standard Time)
15191519
</footer>
15201520
</div>
15211521
</div>

0 commit comments

Comments
 (0)