quickblox 2.19.3-beta.3 → 2.20.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/quickblox-minus-h264.js +52645 -0
- package/quickblox-recv-codecs.js +52633 -0
- package/quickblox.d.ts +2 -1
- package/quickblox.js +18 -2
- package/quickblox.min.js +1 -1
- package/src/modules/webrtc/qbRTCPeerConnection.js +17 -1
- package/src/qbConfig.js +1 -1
package/quickblox.d.ts
CHANGED
|
@@ -315,6 +315,7 @@ export declare interface QBChatDialog {
|
|
|
315
315
|
last_message_id: string | null
|
|
316
316
|
/** Number of unread messages in this dialog for a current user. */
|
|
317
317
|
unread_messages_count: number | null
|
|
318
|
+
is_join_required: number | undefined |null
|
|
318
319
|
/**
|
|
319
320
|
* - Information about class and fields in Custom Objects.
|
|
320
321
|
* - Any dialog can be extended using Custom Objects to store additional parameters.
|
|
@@ -832,7 +833,7 @@ export declare interface QBBlobCreateUploadParams {
|
|
|
832
833
|
name: string
|
|
833
834
|
file: File | Blob | Buffer
|
|
834
835
|
type: string
|
|
835
|
-
size: number
|
|
836
|
+
size: number | string
|
|
836
837
|
public?: boolean // optional, "false" by default
|
|
837
838
|
}
|
|
838
839
|
interface QBContentModule {
|
package/quickblox.js
CHANGED
|
@@ -52057,7 +52057,23 @@ qbRTCPeerConnection.prototype.setLocalSessionDescription = function (params, cal
|
|
|
52057
52057
|
);
|
|
52058
52058
|
recvCodecs.unshift(arrayWithPreferredRecvCodec[0]);
|
|
52059
52059
|
}
|
|
52060
|
-
transceiver.setCodecPreferences(sendCodecs
|
|
52060
|
+
// transceiver.setCodecPreferences(sendCodecs);
|
|
52061
|
+
// transceiver.setCodecPreferences(recvCodecs);
|
|
52062
|
+
//new code: without H264
|
|
52063
|
+
var filteredSendCodecs = sendCodecs.filter(function(codec) {
|
|
52064
|
+
return !codec.mimeType.toLowerCase().includes('h264');
|
|
52065
|
+
});
|
|
52066
|
+
|
|
52067
|
+
var filteredRecvCodecs = recvCodecs.filter(function(codec) {
|
|
52068
|
+
return !codec.mimeType.toLowerCase().includes('h264');
|
|
52069
|
+
});
|
|
52070
|
+
|
|
52071
|
+
var codecs = filteredSendCodecs.concat(filteredRecvCodecs);
|
|
52072
|
+
|
|
52073
|
+
// set up prefer codecs
|
|
52074
|
+
transceiver.setCodecPreferences(codecs);
|
|
52075
|
+
// original code
|
|
52076
|
+
// transceiver.setCodecPreferences(sendCodecs.concat(recvCodecs));
|
|
52061
52077
|
}
|
|
52062
52078
|
});
|
|
52063
52079
|
}
|
|
@@ -55062,7 +55078,7 @@ module.exports = StreamManagement;
|
|
|
55062
55078
|
*/
|
|
55063
55079
|
|
|
55064
55080
|
var config = {
|
|
55065
|
-
version: '2.
|
|
55081
|
+
version: '2.20.0-beta.2',
|
|
55066
55082
|
buildNumber: '1165',
|
|
55067
55083
|
creds: {
|
|
55068
55084
|
'appId': 0,
|