Просмотр исходного кода

fix(permission-prompt): increase timeout for displaying permission prompt

Firefox's getUserMedia can take longer than 500ms to complete. This
causes the permission prompt timeout to fire even if the user has
given permission to audio and video. There may not be a reliable
way right now to check if the user has given permission to both
audio and video so dumbly increase the timeout instead.
master
Leonard Kim 8 лет назад
Родитель
Сommit
c3ebc6517e
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      JitsiMeetJS.js

+ 1
- 1
JitsiMeetJS.js Просмотреть файл

@@ -33,7 +33,7 @@ const logger = Logger.getLogger(__filename);
33 33
 
34 34
 // The amount of time to wait until firing
35 35
 // JitsiMediaDevicesEvents.PERMISSION_PROMPT_IS_SHOWN event
36
-const USER_MEDIA_PERMISSION_PROMPT_TIMEOUT = 500;
36
+const USER_MEDIA_PERMISSION_PROMPT_TIMEOUT = 1000;
37 37
 
38 38
 /**
39 39
  *

Загрузка…
Отмена
Сохранить