* ref(large-video): combine selectParticipant logic from web Currently native/middleware/redux has its own logic for selecting a participant on the bridge. To have the logic web respect that logic, a few changes are needed. - Web no longer has its own call to selectParticipant. - To keep in line with web logic selectParticipant action should act even when there is no track. This makes it so that when a participant does get a track that the bridge will send high quality. The bridge can already handle when the selected participant does not have a video track. - The timing of web is such that on joining an existing conference, a participant joins and the participant's tracks get updated and then the conference is joined. The result is selectParticipant does not get fired because it no-ops when there is no conference. To avoid having to make uncertain changes (to be lazy), update the selected participant on conference join as well. * squash: update comment, pass message to error handlerj8
|
|
||
7 |
|
7 |
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
|
|
11 |
|
|
|
12 |
|
10 |
|
13 |
|
11 |
|
14 |
|
12 |
|
|
|
||
18 |
|
16 |
|
19 |
|
17 |
|
20 |
|
18 |
|
21 |
|
|
|
22 |
|
19 |
|
23 |
|
20 |
|
24 |
|
21 |
|
|
|
||
1813 |
|
1810 |
|
1814 |
|
1811 |
|
1815 |
|
1812 |
|
1816 |
|
|
|
1817 |
|
|
|
1818 |
|
|
|
1819 |
|
|
|
1820 |
|
|
|
1821 |
|
|
|
1822 |
|
|
|
1823 |
|
|
|
1824 |
|
|
|
1825 |
|
|
|
1826 |
|
|
|
1827 |
|
|
|
1828 |
|
|
|
1829 |
|
|
|
1830 |
|
|
|
1831 |
|
|
|
1832 |
|
|
|
1833 |
|
|
|
1834 |
|
1813 |
|
1835 |
|
1814 |
|
1836 |
|
1815 |
|
|
|
||
960 |
|
960 |
|
961 |
|
961 |
|
962 |
|
962 |
|
963 |
|
|
|
|
963 |
|
|
964 |
|
964 |
|
965 |
|
965 |
|
966 |
|
966 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
3 |
|
7 |
|
4 |
|
|
|
5 |
|
|
|
|
8 |
|
|
6 |
|
9 |
|
7 |
|
10 |
|
8 |
|
11 |
|
9 |
|
12 |
|
10 |
|
13 |
|
11 |
|
14 |
|
|
15 |
|
|
|
16 |
|
|
12 |
|
17 |
|
13 |
|
18 |
|
14 |
|
19 |
|
|
|
||
21 |
|
26 |
|
22 |
|
27 |
|
23 |
|
28 |
|
24 |
|
|
|
25 |
|
|
|
26 |
|
29 |
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
30 |
|
33 |
|
31 |
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
|
32 |
|
|
38 |
|
33 |
|
39 |
|
34 |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
40 |
|
46 |
|
41 |
|
47 |
|
42 |
|
48 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
|
|
||
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
49 |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
49 |
|
57 |
|
50 |
|
58 |
|
51 |
|
59 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
3 |
|
|
|
4 |
|
3 |
|
5 |
|
4 |
|
6 |
|
5 |
|