connectycube
Advanced tools
Comparing version 3.0.1 to 3.0.2
const Utils = require('../cubeInternalUtils'); | ||
const {mediaDevices} = require('../cubeDependencies') | ||
const {Client: ClientJanusConf} = require('./cubeVideoCallingConference') | ||
const {CALL_TYPES} = require('./cubeConferenceConstansts') | ||
const {CALL_TYPES} = require('./cubeConferenceConstansts') | ||
@@ -147,3 +147,3 @@ class ConferenceSession { | ||
}) | ||
}) | ||
}) | ||
} | ||
@@ -199,5 +199,5 @@ | ||
newStreamTracks.forEach(track => { | ||
const trackSetting = track.getSettings() | ||
const trackSetting = track.getSettings && track.getSettings() | ||
if (track.kind === CALL_TYPES.AUDIO) { | ||
this.activeAudioDeviceId = trackSetting.deviceId | ||
this.activeAudioDeviceId = trackSetting && trackSetting.deviceId | ||
if (updateCurrentStream) { | ||
@@ -207,3 +207,3 @@ track.enabled = !prevAudioMuteState | ||
} else { | ||
this.activeVideoDeviceId = trackSetting.deviceId | ||
this.activeVideoDeviceId = trackSetting && trackSetting.deviceId | ||
if (updateCurrentStream) { | ||
@@ -210,0 +210,0 @@ track.enabled = !prevVideoMuteState |
{ | ||
"name": "connectycube", | ||
"description": "ConnectyCube chat and video chat JavaScript SDK", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://developers.connectycube.com/reactnative", | ||
@@ -78,3 +78,3 @@ "main": "lib/cubeMain.js", | ||
}, | ||
"gitHead": "7a1ee23f109b2c77be2f54c2908b80c97ad3f006" | ||
"gitHead": "80a62a03175170c09ea43e430c00c0d63719f766" | ||
} |
Sorry, the diff of this file is too big to display
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
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
1406894
9279