@webex/calling 3.0.1-next.20 → 3.0.1-next.21
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/dist/CallingClient/calling/call.js +7 -6
- package/dist/CallingClient/calling/call.js.map +1 -1
- package/dist/CallingClient/calling/call.test.js +4 -6
- package/dist/CallingClient/calling/call.test.js.map +1 -1
- package/dist/module/CallingClient/calling/call.js +7 -6
- package/dist/types/CallingClient/calling/call.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -214,13 +214,14 @@ var Call = exports.Call = /*#__PURE__*/function (_Eventing) {
|
|
|
214
214
|
* @param localAudioTrack -.
|
|
215
215
|
*/
|
|
216
216
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mute", function (localAudioStream) {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
_this.muted = false;
|
|
217
|
+
if (localAudioStream) {
|
|
218
|
+
localAudioStream.setUserMuted(!_this.muted);
|
|
219
|
+
_this.muted = !_this.muted;
|
|
221
220
|
} else {
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
_Logger.default.warn("Did not find a local stream while muting the call ".concat(_this.getCorrelationId(), "."), {
|
|
222
|
+
file: _constants.CALL_FILE,
|
|
223
|
+
method: 'mute'
|
|
224
|
+
});
|
|
224
225
|
}
|
|
225
226
|
});
|
|
226
227
|
/**
|