Automatically switch to spotlight layout on screenshare

This commit is contained in:
Robert Long
2022-02-15 14:49:50 -08:00
parent 51a2027d64
commit 6866d662f7
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ export function InCallView({
showInspector,
roomId,
}) {
const [layout, setLayout] = useVideoGridLayout();
const [layout, setLayout] = useVideoGridLayout(screenshareFeeds.length > 0);
const items = useMemo(() => {
const participants = [];