|
@@ -9,7 +9,6 @@ import { connect as reactReduxConnect } from 'react-redux';
|
9
|
9
|
import { appNavigate } from '../../app';
|
10
|
10
|
import { connect, disconnect } from '../../base/connection';
|
11
|
11
|
import { DialogContainer } from '../../base/dialog';
|
12
|
|
-import { CalleeInfoContainer } from '../../invite';
|
13
|
12
|
import { getParticipantCount } from '../../base/participants';
|
14
|
13
|
import { Container, LoadingIndicator, TintedView } from '../../base/react';
|
15
|
14
|
import { TestConnectionInfo } from '../../base/testing';
|
|
@@ -17,6 +16,7 @@ import { createDesiredLocalTracks } from '../../base/tracks';
|
17
|
16
|
import { ConferenceNotification } from '../../calendar-sync';
|
18
|
17
|
import { Filmstrip } from '../../filmstrip';
|
19
|
18
|
import { LargeVideo } from '../../large-video';
|
|
19
|
+import { CalleeInfoContainer } from '../../invite';
|
20
|
20
|
import { NotificationsContainer } from '../../notifications';
|
21
|
21
|
import { setToolboxVisible, Toolbox } from '../../toolbox';
|
22
|
22
|
|
|
@@ -30,8 +30,8 @@ type Props = {
|
30
|
30
|
/**
|
31
|
31
|
* The indicator which determines that we are still connecting to the
|
32
|
32
|
* conference which includes establishing the XMPP connection and then
|
33
|
|
- * joining the room. If truthy, then an activity/loading indicator will
|
34
|
|
- * be rendered.
|
|
33
|
+ * joining the room. If truthy, then an activity/loading indicator will be
|
|
34
|
+ * rendered.
|
35
|
35
|
*
|
36
|
36
|
* @private
|
37
|
37
|
*/
|
|
@@ -48,6 +48,7 @@ type Props = {
|
48
|
48
|
* The handler which dispatches the (redux) action connect.
|
49
|
49
|
*
|
50
|
50
|
* @private
|
|
51
|
+ * @returns {void}
|
51
|
52
|
*/
|
52
|
53
|
_onConnect: Function,
|
53
|
54
|
|
|
@@ -55,6 +56,7 @@ type Props = {
|
55
|
56
|
* The handler which dispatches the (redux) action disconnect.
|
56
|
57
|
*
|
57
|
58
|
* @private
|
|
59
|
+ * @returns {void}
|
58
|
60
|
*/
|
59
|
61
|
_onDisconnect: Function,
|
60
|
62
|
|
|
@@ -63,9 +65,9 @@ type Props = {
|
63
|
65
|
* associated {@code Conference}.
|
64
|
66
|
*
|
65
|
67
|
* @private
|
66
|
|
- * @returns {boolean} As the associated conference is unconditionally
|
67
|
|
- * left and exiting the app while it renders a {@code Conference} is
|
68
|
|
- * undesired, {@code true} is always returned.
|
|
68
|
+ * @returns {boolean} As the associated conference is unconditionally left
|
|
69
|
+ * and exiting the app while it renders a {@code Conference} is undesired,
|
|
70
|
+ * {@code true} is always returned.
|
69
|
71
|
*/
|
70
|
72
|
_onHardwareBackPress: Function,
|
71
|
73
|
|
|
@@ -92,10 +94,13 @@ type Props = {
|
92
|
94
|
_room: string,
|
93
|
95
|
|
94
|
96
|
/**
|
95
|
|
- * The handler which dispatches the (redux) action setToolboxVisible to
|
96
|
|
- * show/hide the Toolbox.
|
|
97
|
+ * The handler which dispatches the (redux) action {@link setToolboxVisible}
|
|
98
|
+ * to show/hide the {@link Toolbox}.
|
97
|
99
|
*
|
|
100
|
+ * @param {boolean} visible - {@code true} to show the {@code Toolbox} or
|
|
101
|
+ * {@code false} to hide it.
|
98
|
102
|
* @private
|
|
103
|
+ * @returns {void}
|
99
|
104
|
*/
|
100
|
105
|
_setToolboxVisible: Function,
|
101
|
106
|
|
|
@@ -281,6 +286,7 @@ class Conference extends Component<Props> {
|
281
|
286
|
*/}
|
282
|
287
|
<Filmstrip />
|
283
|
288
|
</View>
|
|
289
|
+
|
284
|
290
|
<TestConnectionInfo />
|
285
|
291
|
|
286
|
292
|
{
|
|
@@ -362,8 +368,8 @@ function _mapDispatchToProps(dispatch) {
|
362
|
368
|
* Dispatches actions to create the desired local tracks and for
|
363
|
369
|
* connecting to the conference.
|
364
|
370
|
*
|
365
|
|
- * @returns {void}
|
366
|
371
|
* @private
|
|
372
|
+ * @returns {void}
|
367
|
373
|
*/
|
368
|
374
|
_onConnect() {
|
369
|
375
|
dispatch(createDesiredLocalTracks());
|
|
@@ -373,8 +379,8 @@ function _mapDispatchToProps(dispatch) {
|
373
|
379
|
/**
|
374
|
380
|
* Dispatches an action disconnecting from the conference.
|
375
|
381
|
*
|
376
|
|
- * @returns {void}
|
377
|
382
|
* @private
|
|
383
|
+ * @returns {void}
|
378
|
384
|
*/
|
379
|
385
|
_onDisconnect() {
|
380
|
386
|
dispatch(disconnect());
|
|
@@ -395,12 +401,12 @@ function _mapDispatchToProps(dispatch) {
|
395
|
401
|
},
|
396
|
402
|
|
397
|
403
|
/**
|
398
|
|
- * Dispatches an action changing the visibility of the Toolbox.
|
|
404
|
+ * Dispatches an action changing the visibility of the {@link Toolbox}.
|
399
|
405
|
*
|
400
|
|
- * @param {boolean} visible - True to show the Toolbox or false to hide
|
401
|
|
- * it.
|
402
|
|
- * @returns {void}
|
|
406
|
+ * @param {boolean} visible - {@code true} to show the {@code Toolbox}
|
|
407
|
+ * or {@code false} to hide it.
|
403
|
408
|
* @private
|
|
409
|
+ * @returns {void}
|
404
|
410
|
*/
|
405
|
411
|
_setToolboxVisible(visible) {
|
406
|
412
|
dispatch(setToolboxVisible(visible));
|