|
@@ -189,9 +189,15 @@ function _updateReceiverVideoConstraints({ getState }) {
|
189
|
189
|
}
|
190
|
190
|
const { lastN } = state['features/base/lastn'];
|
191
|
191
|
const { maxReceiverVideoQuality, preferredVideoQuality } = state['features/video-quality'];
|
192
|
|
- const { visibleParticipants } = state['features/filmstrip'];
|
193
|
192
|
const { participantId: largeVideoParticipantId } = state['features/large-video'];
|
194
|
193
|
const maxFrameHeight = Math.min(maxReceiverVideoQuality, preferredVideoQuality);
|
|
194
|
+ let { visibleParticipants } = state['features/filmstrip'];
|
|
195
|
+
|
|
196
|
+ // TODO: implement this on mobile.
|
|
197
|
+ if (navigator.product === 'ReactNative') {
|
|
198
|
+ visibleParticipants = Array.from(state['features/base/participants'].remote.keys());
|
|
199
|
+ }
|
|
200
|
+
|
195
|
201
|
const receiverConstraints = {
|
196
|
202
|
constraints: {},
|
197
|
203
|
defaultConstraints: { 'maxHeight': VIDEO_QUALITY_LEVELS.NONE },
|