|
|
@@ -17,13 +17,20 @@ import {
|
|
17
|
17
|
*/
|
|
18
|
18
|
const INITIAL_STATE = {
|
|
19
|
19
|
config: {
|
|
20
|
|
- // FIXME Lib-jitsi-meet uses HTML script elements to asynchronously
|
|
21
|
|
- // load certain pieces of JavaScript. Unfortunately, the technique
|
|
22
|
|
- // doesn't work on React Native (because there are no HTML elements
|
|
23
|
|
- // in the first place). Fortunately, these pieces of JavaScript
|
|
24
|
|
- // currently involve third parties and we can temporarily disable
|
|
25
|
|
- // them (until we implement an alternative to async script elements
|
|
26
|
|
- // on React Native).
|
|
|
20
|
+ // FIXME The support for audio levels in lib-jitsi-meet polls the
|
|
|
21
|
+ // statistics of WebRTC at a short interval multiple times a second.
|
|
|
22
|
+ // Unfortunately, React Native is slow to fetch these statistics from
|
|
|
23
|
+ // the native WebRTC API, through the React Native bridge and eventually
|
|
|
24
|
+ // to JavaScript. Because the audio levels are of no interest to the
|
|
|
25
|
+ // mobile app, it is fastest to merely disable them.
|
|
|
26
|
+ disableAudioLevels: true,
|
|
|
27
|
+
|
|
|
28
|
+ // FIXME Lib-jitsi-meet uses HTML script elements to asynchronously load
|
|
|
29
|
+ // certain pieces of JavaScript. Unfortunately, the technique doesn't
|
|
|
30
|
+ // work on React Native (because there are no HTML elements in the first
|
|
|
31
|
+ // place). Fortunately, these pieces of JavaScript currently involve
|
|
|
32
|
+ // third parties and we can temporarily disable them (until we implement
|
|
|
33
|
+ // an alternative to async script elements on React Native).
|
|
27
|
34
|
disableThirdPartyRequests: true
|
|
28
|
35
|
},
|
|
29
|
36
|
initializationError: null,
|