|
@@ -50,6 +50,7 @@ const JITSI_TRACK_ERROR_TO_MESSAGE_KEY_MAP = {
|
50
|
50
|
}
|
51
|
51
|
};
|
52
|
52
|
|
|
53
|
+const WARNING_DISPLAY_TIMER = 4000;
|
53
|
54
|
|
54
|
55
|
/**
|
55
|
56
|
* A listener for device permissions changed reported from lib-jitsi-meet.
|
|
@@ -133,7 +134,7 @@ MiddlewareRegistry.register(store => next => action => {
|
133
|
134
|
description: additionalCameraErrorMsg,
|
134
|
135
|
descriptionKey: cameraErrorMsg,
|
135
|
136
|
titleKey
|
136
|
|
- }));
|
|
137
|
+ }, WARNING_DISPLAY_TIMER));
|
137
|
138
|
|
138
|
139
|
if (isPrejoinPageVisible(store.getState())) {
|
139
|
140
|
store.dispatch(setDeviceStatusWarning(titleKey));
|
|
@@ -162,7 +163,7 @@ MiddlewareRegistry.register(store => next => action => {
|
162
|
163
|
description: additionalMicErrorMsg,
|
163
|
164
|
descriptionKey: micErrorMsg,
|
164
|
165
|
titleKey
|
165
|
|
- }));
|
|
166
|
+ }, WARNING_DISPLAY_TIMER));
|
166
|
167
|
|
167
|
168
|
if (isPrejoinPageVisible(store.getState())) {
|
168
|
169
|
store.dispatch(setDeviceStatusWarning(titleKey));
|