From e1cb75fe048f902b13cdacfeda549a95c621ad88 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Wed, 21 Sep 2016 15:24:20 -0500 Subject: [PATCH] fix(UI): Show the correct message on NO_DATA_FROM_SOURCE GUM errors --- modules/UI/UI.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/UI/UI.js b/modules/UI/UI.js index 90156f866..777e08716 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -60,6 +60,8 @@ JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.camera[TrackErrors.NOT_FOUND] = "dialog.cameraNotFoundError"; JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.camera[TrackErrors.CONSTRAINT_FAILED] = "dialog.cameraConstraintFailedError"; +JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.camera[TrackErrors.NO_DATA_FROM_SOURCE] + = "dialog.cameraNotSendingData"; JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.microphone[TrackErrors.GENERAL] = "dialog.micUnknownError"; JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.microphone[TrackErrors.PERMISSION_DENIED] @@ -68,6 +70,8 @@ JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.microphone[TrackErrors.NOT_FOUND] = "dialog.micNotFoundError"; JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.microphone[TrackErrors.CONSTRAINT_FAILED] = "dialog.micConstraintFailedError"; +JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP.microphone[TrackErrors.NO_DATA_FROM_SOURCE] + = "dialog.micNotSendingData"; /** * Prompt user for nickname.