connectycube
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -289,2 +289,10 @@ const Utils = require('../cubeInternalUtils'); | ||
getRemoteUserBitrate(userId) { | ||
return this._clientConf.getUserBitrate(userId) | ||
} | ||
getRemoteUserVolume(userId) { | ||
return this._clientConf.getUserVolume(userId) | ||
} | ||
attachMediaStream(id, stream, options) { | ||
@@ -291,0 +299,0 @@ const elem = document.getElementById(id); |
@@ -360,3 +360,3 @@ var Janus = require('./janus.umd'); | ||
self.createAnswer({ | ||
remoteFeed: self.remoteFeeds[feedId], | ||
remoteFeed: self.remoteFeeds[feedId], | ||
jsep, | ||
@@ -554,3 +554,3 @@ stream: localStream | ||
var displayName = callbacks.displayName | ||
delete callbacks.displayName | ||
delete callbacks.displayName | ||
@@ -1011,3 +1011,3 @@ if (typeof (isOnlyAudio) !== "boolean") { | ||
*/ | ||
createAnswer: function ({remoteFeed, jsep, stream}, callbacks) { | ||
createAnswer: function ({ remoteFeed, jsep, stream }, callbacks) { | ||
var self = this; | ||
@@ -1057,2 +1057,12 @@ | ||
*/ | ||
getUserBitrate: function (userId) { | ||
const remoteFeed = this.remoteFeeds[userId]; | ||
return remoteFeed.getBitrate(); | ||
}, | ||
getUserVolume: function (userId) { | ||
const remoteFeed = this.remoteFeeds[userId]; | ||
return remoteFeed.getVolume(); | ||
}, | ||
showBitrate: function (userId, element) { | ||
@@ -1059,0 +1069,0 @@ var remoteFeed = this.remoteFeeds[userId]; |
{ | ||
"name": "connectycube", | ||
"description": "ConnectyCube chat and video chat JavaScript SDK", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"homepage": "https://developers.connectycube.com/reactnative", | ||
@@ -78,3 +78,3 @@ "main": "lib/cubeMain.js", | ||
}, | ||
"gitHead": "b13a65b4834816c1a9a0d89933150e1b05ea7763" | ||
"gitHead": "1e5f66544042fd06b532ab81a25591fc9dcac86d" | ||
} |
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
9371
1409315
37