feat: Skips the default tile view when jibri is loading.
Follows me and switching to tile view, still works.
This commit is contained in:
parent
5510138944
commit
d97f46c163
|
@ -90,6 +90,8 @@ export function shouldDisplayTileView(state: Object = {}) {
|
||||||
return tileViewEnabled;
|
return tileViewEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const { iAmRecorder } = state['features/base/config'];
|
||||||
|
|
||||||
// None tile view mode is easier to calculate (no need for many negations), so we do
|
// None tile view mode is easier to calculate (no need for many negations), so we do
|
||||||
// that and negate it only once.
|
// that and negate it only once.
|
||||||
const shouldDisplayNormalMode = Boolean(
|
const shouldDisplayNormalMode = Boolean(
|
||||||
|
@ -107,6 +109,9 @@ export function shouldDisplayTileView(state: Object = {}) {
|
||||||
|
|
||||||
// There is a shared YouTube video in the meeting
|
// There is a shared YouTube video in the meeting
|
||||||
|| isYoutubeVideoPlaying(state)
|
|| isYoutubeVideoPlaying(state)
|
||||||
|
|
||||||
|
// We want jibri to use stage view by default
|
||||||
|
|| iAmRecorder
|
||||||
);
|
);
|
||||||
|
|
||||||
return !shouldDisplayNormalMode;
|
return !shouldDisplayNormalMode;
|
||||||
|
|
Loading…
Reference in New Issue