@azure/communication-react 1.2.3-alpha-202206180014.0 → 1.2.3-alpha-202206210013.0
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/dist-cjs/communication-react/index.js +13 -12
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +12 -11
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/package.json +7 -7
@@ -191,7 +191,7 @@ const fromFlatCommunicationIdentifier = (id) => {
|
|
191
191
|
// Copyright (c) Microsoft Corporation.
|
192
192
|
// Licensed under the MIT license.
|
193
193
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
194
|
-
var telemetryVersion = '1.2.3-alpha-
|
194
|
+
var telemetryVersion = '1.2.3-alpha-202206210013.0';
|
195
195
|
|
196
196
|
// Copyright (c) Microsoft Corporation.
|
197
197
|
/**
|
@@ -7863,7 +7863,7 @@ const useSelector$4 = (selector, selectorProps) => {
|
|
7863
7863
|
* @public
|
7864
7864
|
*/
|
7865
7865
|
const errorBarSelector$1 = reselect.createSelector([getLatestErrors$1, getDiagnostics, getDeviceManager$1], (latestErrors, diagnostics, deviceManager) => {
|
7866
|
-
var _a, _b, _c, _d, _e;
|
7866
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
7867
7867
|
// The order in which the errors are returned is significant: The `ErrorBar` shows errors on the UI in that order.
|
7868
7868
|
// There are several options for the ordering:
|
7869
7869
|
// - Sorted by when the errors happened (latest first / oldest first).
|
@@ -7877,33 +7877,34 @@ const errorBarSelector$1 = reselect.createSelector([getLatestErrors$1, getDiagno
|
|
7877
7877
|
((_b = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.network.latest.networkReceiveQuality) === null || _b === void 0 ? void 0 : _b.value) === communicationCalling.DiagnosticQuality.Poor) {
|
7878
7878
|
activeErrorMessages.push({ type: 'callNetworkQualityLow' });
|
7879
7879
|
}
|
7880
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.noSpeakerDevicesEnumerated) {
|
7880
|
+
if (((_c = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.noSpeakerDevicesEnumerated) === null || _c === void 0 ? void 0 : _c.value) === true) {
|
7881
7881
|
activeErrorMessages.push({ type: 'callNoSpeakerFound' });
|
7882
7882
|
}
|
7883
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.noMicrophoneDevicesEnumerated) {
|
7883
|
+
if (((_d = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.noMicrophoneDevicesEnumerated) === null || _d === void 0 ? void 0 : _d.value) === true) {
|
7884
7884
|
activeErrorMessages.push({ type: 'callNoMicrophoneFound' });
|
7885
7885
|
}
|
7886
|
-
if (((
|
7886
|
+
if (((_e = deviceManager.deviceAccess) === null || _e === void 0 ? void 0 : _e.audio) === false ||
|
7887
|
+
((_f = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.microphoneNotFunctioning) === null || _f === void 0 ? void 0 : _f.value) === true) {
|
7887
7888
|
activeErrorMessages.push({ type: 'callMicrophoneAccessDenied' });
|
7888
7889
|
}
|
7889
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.microphoneMuteUnexpectedly) {
|
7890
|
+
if (((_g = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.microphoneMuteUnexpectedly) === null || _g === void 0 ? void 0 : _g.value) === true) {
|
7890
7891
|
activeErrorMessages.push({ type: 'callMicrophoneMutedBySystem' });
|
7891
7892
|
}
|
7892
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.microphonePermissionDenied) {
|
7893
|
+
if (((_h = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.microphonePermissionDenied) === null || _h === void 0 ? void 0 : _h.value) === true) {
|
7893
7894
|
activeErrorMessages.push({ type: 'callMacOsMicrophoneAccessDenied' });
|
7894
7895
|
}
|
7895
|
-
if (((
|
7896
|
+
if (((_j = deviceManager.deviceAccess) === null || _j === void 0 ? void 0 : _j.video) === false) {
|
7896
7897
|
activeErrorMessages.push({ type: 'callCameraAccessDenied' });
|
7897
7898
|
}
|
7898
7899
|
else {
|
7899
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.cameraFreeze) {
|
7900
|
+
if (((_k = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.cameraFreeze) === null || _k === void 0 ? void 0 : _k.value) === true) {
|
7900
7901
|
activeErrorMessages.push({ type: 'callCameraAlreadyInUse' });
|
7901
7902
|
}
|
7902
7903
|
}
|
7903
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.cameraPermissionDenied) {
|
7904
|
+
if (((_l = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.cameraPermissionDenied) === null || _l === void 0 ? void 0 : _l.value) === true) {
|
7904
7905
|
activeErrorMessages.push({ type: 'callMacOsCameraAccessDenied' });
|
7905
7906
|
}
|
7906
|
-
if (diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.screenshareRecordingDisabled) {
|
7907
|
+
if (((_m = diagnostics === null || diagnostics === void 0 ? void 0 : diagnostics.media.latest.screenshareRecordingDisabled) === null || _m === void 0 ? void 0 : _m.value) === true) {
|
7907
7908
|
activeErrorMessages.push({ type: 'callMacOsScreenShareAccessDenied' });
|
7908
7909
|
}
|
7909
7910
|
// Prefer to show errors with privacy implications.
|
@@ -7912,7 +7913,7 @@ const errorBarSelector$1 = reselect.createSelector([getLatestErrors$1, getDiagno
|
|
7912
7913
|
appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.stopScreenSharing', 'stopScreenShareGeneric');
|
7913
7914
|
appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.startVideo', 'startVideoGeneric');
|
7914
7915
|
appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.unmute', 'unmuteGeneric');
|
7915
|
-
if (((
|
7916
|
+
if (((_o = latestErrors['CallAgent.join']) === null || _o === void 0 ? void 0 : _o.message) === 'CallAgent.join: Invalid meeting link') {
|
7916
7917
|
appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'CallAgent.join', 'failedToJoinCallInvalidMeetingLink');
|
7917
7918
|
}
|
7918
7919
|
else {
|