Skip to content

Commit

Permalink
Sprint 15 (#306)
Browse files Browse the repository at this point in the history
- 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;
  • Loading branch information
dimaspirit authored Mar 1, 2018
1 parent 33ed72e commit 2c7b71e
Show file tree
Hide file tree
Showing 35 changed files with 8,912 additions and 415 deletions.
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true
"node": true,
"es6": true,
"jasmine": true
},
"globals": {
"QB": true,
Expand All @@ -19,4 +21,4 @@
"no-mixed-spaces-and-tabs": 1,
"no-extra-boolean-cast": 1
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Check out our [API Reference](https://quickblox.github.io/quickblox-javascript-s
## Dependencies for browser

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/quickblox/2.8.1/quickblox.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/quickblox/2.9.0/quickblox.min.js"></script>
```

## Bower and RequireJS
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "quickblox",
"description": "QuickBlox JavaScript SDK",
"version": "2.8.1",
"version": "2.9.0",
"homepage": "https://quickblox.com/developers/Javascript",
"main": "quickblox.js",
"license": "Apache 2.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/QB.addressbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ <h5>Example</h5>


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/QB.chat.dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ <h4 class="name" id=".update">


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
28 changes: 14 additions & 14 deletions docs/QB.chat.helpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ <h4 class="name" id=".getBsonObjectId">


<div class="tag-source">
modules/chat/qbChat.js, line 2335
modules/chat/qbChat.js, line 2351
</div>

</div>
Expand Down Expand Up @@ -845,7 +845,7 @@ <h4 class="name" id=".getDialogIdFromNode">


<div class="tag-source">
modules/chat/qbChat.js, line 2279
modules/chat/qbChat.js, line 2295
</div>

</div>
Expand Down Expand Up @@ -990,7 +990,7 @@ <h4 class="name" id=".getIdFromNode">


<div class="tag-source">
modules/chat/qbChat.js, line 2269
modules/chat/qbChat.js, line 2285
</div>

</div>
Expand Down Expand Up @@ -1135,7 +1135,7 @@ <h4 class="name" id=".getIdFromResource">


<div class="tag-source">
modules/chat/qbChat.js, line 2311
modules/chat/qbChat.js, line 2327
</div>

</div>
Expand Down Expand Up @@ -1280,7 +1280,7 @@ <h4 class="name" id=".getRecipientId">


<div class="tag-source">
modules/chat/qbChat.js, line 2229
modules/chat/qbChat.js, line 2245
</div>

</div>
Expand Down Expand Up @@ -1448,7 +1448,7 @@ <h4 class="name" id=".getRoomJid">


<div class="tag-source">
modules/chat/qbChat.js, line 2301
modules/chat/qbChat.js, line 2317
</div>

</div>
Expand Down Expand Up @@ -1616,7 +1616,7 @@ <h4 class="name" id=".getRoomJidFromDialogId">


<div class="tag-source">
modules/chat/qbChat.js, line 2290
modules/chat/qbChat.js, line 2306
</div>

</div>
Expand Down Expand Up @@ -1761,7 +1761,7 @@ <h4 class="name" id=".getRoomJidFromRoomFullJid">


<div class="tag-source">
modules/chat/qbChat.js, line 2324
modules/chat/qbChat.js, line 2340
</div>

</div>
Expand Down Expand Up @@ -1906,7 +1906,7 @@ <h4 class="name" id=".getUserIdFromRoomJid">


<div class="tag-source">
modules/chat/qbChat.js, line 2345
modules/chat/qbChat.js, line 2361
</div>

</div>
Expand Down Expand Up @@ -2051,7 +2051,7 @@ <h4 class="name" id=".getUserJid">


<div class="tag-source">
modules/chat/qbChat.js, line 2246
modules/chat/qbChat.js, line 2262
</div>

</div>
Expand Down Expand Up @@ -2219,7 +2219,7 @@ <h4 class="name" id=".getUserNickWithMucDomain">


<div class="tag-source">
modules/chat/qbChat.js, line 2259
modules/chat/qbChat.js, line 2275
</div>

</div>
Expand Down Expand Up @@ -2364,7 +2364,7 @@ <h4 class="name" id=".jidOrUserId">


<div class="tag-source">
modules/chat/qbChat.js, line 2192
modules/chat/qbChat.js, line 2208
</div>

</div>
Expand Down Expand Up @@ -2512,7 +2512,7 @@ <h4 class="name" id=".typeChat">


<div class="tag-source">
modules/chat/qbChat.js, line 2210
modules/chat/qbChat.js, line 2226
</div>

</div>
Expand Down Expand Up @@ -2668,7 +2668,7 @@ <h5>Returns:</h5>


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions docs/QB.chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ <h4 class="name" id=".disconnect">


<div class="tag-source">
modules/chat/qbChat.js, line 1175
modules/chat/qbChat.js, line 1191
</div>

</div>
Expand Down Expand Up @@ -1116,7 +1116,7 @@ <h4 class="name" id=".getLastUserActivity">


<div class="tag-source">
modules/chat/qbChat.js, line 1144
modules/chat/qbChat.js, line 1160
</div>

</div>
Expand Down Expand Up @@ -3439,7 +3439,7 @@ <h4 class="name" id=".send">


<div class="tag-source">
modules/chat/qbChat.js, line 908
modules/chat/qbChat.js, line 924
</div>

</div>
Expand Down Expand Up @@ -3610,7 +3610,7 @@ <h4 class="name" id=".sendIsStopTypingStatus">


<div class="tag-source">
modules/chat/qbChat.js, line 1045
modules/chat/qbChat.js, line 1061
</div>

</div>
Expand Down Expand Up @@ -3729,7 +3729,7 @@ <h4 class="name" id=".sendIsTypingStatus">


<div class="tag-source">
modules/chat/qbChat.js, line 1018
modules/chat/qbChat.js, line 1034
</div>

</div>
Expand Down Expand Up @@ -3848,7 +3848,7 @@ <h4 class="name" id=".sendReadStatus">


<div class="tag-source">
modules/chat/qbChat.js, line 1111
modules/chat/qbChat.js, line 1127
</div>

</div>
Expand Down Expand Up @@ -4055,7 +4055,7 @@ <h4 class="name" id=".sendSystemMessage">


<div class="tag-source">
modules/chat/qbChat.js, line 970
modules/chat/qbChat.js, line 986
</div>

</div>
Expand Down Expand Up @@ -4234,7 +4234,7 @@ <h5>Returns:</h5>


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/QB.chat.message.html
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ <h4 class="name" id=".update">


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions docs/QB.chat.muc.html
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ <h4 class="name" id=".join">


<div class="tag-source">
modules/chat/qbChat.js, line 1515
modules/chat/qbChat.js, line 1531
</div>

</div>
Expand Down Expand Up @@ -835,7 +835,7 @@ <h4 class="name" id=".leave">


<div class="tag-source">
modules/chat/qbChat.js, line 1561
modules/chat/qbChat.js, line 1577
</div>

</div>
Expand Down Expand Up @@ -974,7 +974,7 @@ <h4 class="name" id=".listOnlineUsers">


<div class="tag-source">
modules/chat/qbChat.js, line 1604
modules/chat/qbChat.js, line 1620
</div>

</div>
Expand Down Expand Up @@ -1121,7 +1121,7 @@ <h4 class="name" id=".listOnlineUsers">


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions docs/QB.chat.privacylist.html
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ <h4 class="name" id=".create">


<div class="tag-source">
modules/chat/qbChat.js, line 1687
modules/chat/qbChat.js, line 1703
</div>

</div>
Expand Down Expand Up @@ -835,7 +835,7 @@ <h4 class="name" id=".delete">


<div class="tag-source">
modules/chat/qbChat.js, line 2059
modules/chat/qbChat.js, line 2075
</div>

</div>
Expand Down Expand Up @@ -974,7 +974,7 @@ <h4 class="name" id=".getList">


<div class="tag-source">
modules/chat/qbChat.js, line 1843
modules/chat/qbChat.js, line 1859
</div>

</div>
Expand Down Expand Up @@ -1113,7 +1113,7 @@ <h4 class="name" id=".getNames">


<div class="tag-source">
modules/chat/qbChat.js, line 1965
modules/chat/qbChat.js, line 1981
</div>

</div>
Expand Down Expand Up @@ -1229,7 +1229,7 @@ <h4 class="name" id=".setAsDefault">


<div class="tag-source">
modules/chat/qbChat.js, line 2119
modules/chat/qbChat.js, line 2135
</div>

</div>
Expand Down Expand Up @@ -1368,7 +1368,7 @@ <h4 class="name" id=".update">


<div class="tag-source">
modules/chat/qbChat.js, line 1930
modules/chat/qbChat.js, line 1946
</div>

</div>
Expand Down Expand Up @@ -1515,7 +1515,7 @@ <h4 class="name" id=".update">


<footer>
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)
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)
</footer>
</div>
</div>
Expand Down
Loading

0 comments on commit 2c7b71e

Please sign in to comment.