connectycube
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -71,2 +71,11 @@ const Utils = require('../cubeInternalUtils'); | ||
sendKeyframeRequest(roomId) { | ||
return new Promise((resolve, reject) => { | ||
this._clientConf.sendKeyframeRequest(roomId, { | ||
success: resolve, | ||
error: reject | ||
}) | ||
}) | ||
} | ||
async _createListener(user_id) { | ||
@@ -73,0 +82,0 @@ await this._createHandler(true, user_id) |
@@ -925,2 +925,24 @@ var Janus = require('./janus.umd'); | ||
sendKeyframeRequest: function (roomId, callbacks) { | ||
var configureRequest = { | ||
"request": "configure", | ||
"room": roomId, | ||
"keyframe": true | ||
}; | ||
this.videoRoomPlugin.send({ | ||
"message": configureRequest, | ||
success: function (response) { | ||
if (typeof callbacks.success === 'function') { | ||
Utils.safeCallbackCall(callbacks.success); | ||
} | ||
}, | ||
error: function (error) { | ||
if (typeof callbacks.error === 'function') { | ||
Utils.safeCallbackCall(callbacks.error, error); | ||
} | ||
} | ||
}); | ||
}, | ||
/** | ||
@@ -927,0 +949,0 @@ * @private |
{ | ||
"name": "connectycube", | ||
"description": "ConnectyCube chat and video chat JavaScript SDK", | ||
"version": "3.13.0", | ||
"version": "3.14.0", | ||
"homepage": "https://developers.connectycube.com/reactnative", | ||
@@ -78,3 +78,3 @@ "main": "lib/cubeMain.js", | ||
}, | ||
"gitHead": "b3eaedb1d19a726147bc410da338a644ae2885ed" | ||
"gitHead": "8490624d0a9aae9617a1bf9d346ed15786970a87" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1458567
9789