Automatically switch to spotlight layout on screenshare
This commit is contained in:
parent
51a2027d64
commit
6866d662f7
2 changed files with 2 additions and 2 deletions
|
@ -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 = [];
|
||||
|
|
|
@ -15,7 +15,7 @@ export default {
|
|||
};
|
||||
|
||||
export const ParticipantsTest = () => {
|
||||
const [layout, setLayout] = useVideoGridLayout();
|
||||
const [layout, setLayout] = useVideoGridLayout(false);
|
||||
const [participantCount, setParticipantCount] = useState(1);
|
||||
|
||||
const items = useMemo(
|
||||
|
|
Loading…
Reference in a new issue