|
|
@@ -47,7 +47,13 @@ export function getTileViewGridDimensions(state: Object) {
|
|
47
|
47
|
// When in tile view mode, we must discount ourselves (the local participant) because our
|
|
48
|
48
|
// tile is not visible.
|
|
49
|
49
|
const { iAmRecorder } = state['features/base/config'];
|
|
50
|
|
- const numberOfParticipants = state['features/base/participants'].length - (iAmRecorder ? 1 : 0);
|
|
|
50
|
+ var numberOfParticipants = state['features/base/participants'].length - (iAmRecorder ? 1 : 0);
|
|
|
51
|
+
|
|
|
52
|
+ if (window.glob_dev_fns && window.glob_dev_fns.getTileViewGridDimensions_set_num){
|
|
|
53
|
+ const numberOfParticipants_dev = window.glob_dev_fns.getTileViewGridDimensions_set_num(state,maxColumns)
|
|
|
54
|
+ if (typeof(numberOfParticipants_dev)=="number"){numberOfParticipants = numberOfParticipants_dev}
|
|
|
55
|
+ }
|
|
|
56
|
+
|
|
51
|
57
|
const { clientHeight, clientWidth } = state['features/base/responsive-ui'];
|
|
52
|
58
|
// const aspectRatio = state['features/filmstrip'].TILE_ASPECT_RATIO;
|
|
53
|
59
|
const aspectRatio = 16/9;
|