The commit message of "Associate remote participant w/ JitsiConference (_JOINED)" explains the motivation for this commit. Practically, _JOINED and _LEFT combined with "Remove remote participants who are no longer of interest" should alleviate the problem with multiplying remote participants to an acceptable level of annoyance. Technically though, a remote participant cannot be identified by an ID only. The ID is (somewhat) "unique" in the context of a single JitsiConference instance. So in order to not have to scratch our heads over an obscure corner, racing case, it's better to always identify remote participants by the pair id-conference. Unfortunately, that's a bit of a high order given the existing source code. So I've implemented the cases which are the easiest so that new source code written with participantUpdated is more likely to identify a remote participant with the pair id-conference. Additionally, the commit "Reduce direct read access to the features/base/participants redux state" brings more control back to the functions of the feature base/participants so that one day we can (if we choose to) do something like, for example: If getParticipants is called with a conference, it returns the participants from features/base/participants who are associated with the specified conference. If no conference is specified in the function call, then default to the conference which is the primary focus of the app at the time of the function call. Added to the above, this should allow us to further reduce the cases in which we're identifying remote participants by id only and get us even closer to a more "predictable" behavior in corner, racing cases.master
|
|
||
1804 |
|
1804 |
|
1805 |
|
1805 |
|
1806 |
|
1806 |
|
1807 |
|
|
|
1808 |
|
|
|
1809 |
|
|
|
|
1807 |
|
|
|
1808 |
|
|
|
1809 |
|
|
1810 |
|
1810 |
|
1811 |
|
1811 |
|
1812 |
|
1812 |
|
|
|
||
1883 |
|
1883 |
|
1884 |
|
1884 |
|
1885 |
|
1885 |
|
|
1886 |
|
|
1886 |
|
1887 |
|
1887 |
|
1888 |
|
1888 |
|
1889 |
|
|
|
||
1916 |
|
1917 |
|
1917 |
|
1918 |
|
1918 |
|
1919 |
|
|
1920 |
|
|
1919 |
|
1921 |
|
1920 |
|
1922 |
|
1921 |
|
1923 |
|
|
|
||
2015 |
|
2017 |
|
2016 |
|
2018 |
|
2017 |
|
2019 |
|
|
2020 |
|
|
2018 |
|
2021 |
|
2019 |
|
2022 |
|
2020 |
|
2023 |
|
|
|
||
2026 |
|
2029 |
|
2027 |
|
2030 |
|
2028 |
|
2031 |
|
|
2032 |
|
|
2029 |
|
2033 |
|
2030 |
|
2034 |
|
2031 |
|
2035 |
|
|
|
||
2035 |
|
2039 |
|
2036 |
|
2040 |
|
2037 |
|
2041 |
|
|
2042 |
|
|
2038 |
|
2043 |
|
2039 |
|
2044 |
|
2040 |
|
2045 |
|
|
|
||
2579 |
|
2584 |
|
2580 |
|
2585 |
|
2581 |
|
2586 |
|
|
2587 |
|
|
|
2588 |
|
|
|
2589 |
|
|
|
2590 |
|
|
|
2591 |
|
|
|
2592 |
|
|
2582 |
|
2593 |
|
2583 |
|
2594 |
|
2584 |
|
2595 |
|
|
|
||
2606 |
|
2617 |
|
2607 |
|
2618 |
|
2608 |
|
2619 |
|
|
2620 |
|
|
|
2621 |
|
|
|
2622 |
|
|
|
2623 |
|
|
|
2624 |
|
|
|
2625 |
|
|
2609 |
|
2626 |
|
2610 |
|
2627 |
|
2611 |
|
2628 |
|
|
|
||
2662 |
|
2679 |
|
2663 |
|
2680 |
|
2664 |
|
2681 |
|
|
2682 |
|
|
|
2683 |
|
|
|
2684 |
|
|
|
2685 |
|
|
|
2686 |
|
|
|
2687 |
|
|
2665 |
|
2688 |
|
2666 |
|
2689 |
|
2667 |
|
2690 |
|
|
|
||
125 |
|
125 |
|
126 |
|
126 |
|
127 |
|
127 |
|
|
128 |
|
|
128 |
|
129 |
|
129 |
|
130 |
|
130 |
|
131 |
|
131 |
|
132 |
|
132 |
|
133 |
|
133 |
|
134 |
|
134 |
|
|
|
|
135 |
|
|
135 |
|
136 |
|
136 |
|
137 |
|
137 |
|
138 |
|
|
|
||
155 |
|
156 |
|
156 |
|
157 |
|
157 |
|
158 |
|
|
159 |
|
|
158 |
|
160 |
|
159 |
|
161 |
|
160 |
|
162 |
|
161 |
|
163 |
|
162 |
|
164 |
|
163 |
|
165 |
|
|
166 |
|
|
164 |
|
167 |
|
165 |
|
168 |
|
166 |
|
169 |
|
167 |
|
170 |
|
168 |
|
171 |
|
169 |
|
172 |
|
|
173 |
|
|
170 |
|
174 |
|
171 |
|
175 |
|
172 |
|
176 |
|
|
|
||
143 |
|
143 |
|
144 |
|
144 |
|
145 |
|
145 |
|
146 |
|
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
147 |
|
150 |
|
148 |
|
151 |
|
149 |
|
152 |
|
|
|
||
264 |
|
267 |
|
265 |
|
268 |
|
266 |
|
269 |
|
267 |
|
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
268 |
|
274 |
|
269 |
|
275 |
|
270 |
|
276 |
|
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
25 |
|
29 |
|
26 |
|
30 |
|
27 |
|
31 |
|
|
32 |
|
|
28 |
|
33 |
|
29 |
|
34 |
|
30 |
|
35 |
|
31 |
|
36 |
|
32 |
|
|
|
|
37 |
|
|
33 |
|
38 |
|
34 |
|
39 |
|
35 |
|
40 |
|
|
41 |
|
|
36 |
|
42 |
|
37 |
|
43 |
|
38 |
|
44 |
|
|
|
||
127 |
|
127 |
|
128 |
|
128 |
|
129 |
|
129 |
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
|
130 |
|
|
133 |
|
131 |
|
134 |
|
132 |
|
135 |
|
133 |
|
|
|
||
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
66 |
|
|
|
67 |
|
66 |
|
68 |
|
|
|
69 |
|
|
|
|
67 |
|
|
|
68 |
|
|
70 |
|
69 |
|
71 |
|
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
72 |
|
73 |
|
73 |
|
74 |
|
74 |
|
75 |
|
75 |
|
76 |
|
76 |
|
|
|
77 |
|
77 |
|
78 |
|
|
|
79 |
|
|
|
|
78 |
|
|
80 |
|
79 |
|
81 |
|
80 |
|
82 |
|
81 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
|
|
36 |
|
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
37 |
|
39 |
|
38 |
|
40 |
|
39 |
|
|
|
40 |
|
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
41 |
|
53 |
|
42 |
|
54 |
|
43 |
|
55 |
|
|
|
||
505 |
|
505 |
|
506 |
|
506 |
|
507 |
|
507 |
|
|
508 |
|
|
|
509 |
|
|
|
510 |
|
|
|
511 |
|
|
|
512 |
|
|
|
513 |
|
|
508 |
|
514 |
|
509 |
|
515 |
|
510 |
|
516 |
|