Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layout/AttendeeLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import {AppRootContext} from '../wrapper/AppRootWrapper';

const AttendeeLayout = ({renderData}) => {
const {defaultContent} = useContent();
const {defaultContent, spotlightUid} = useContent();

//to get recent host who joined on the call
const {hostUid} = useContext(AppRootContext);
Expand All @@ -33,7 +33,7 @@ const AttendeeLayout = ({renderData}) => {
}
return (
<View style={style.videoContainer}>
<VideoRenderer user={defaultContent[hostUid]} />
<VideoRenderer user={defaultContent[spotlightUid || hostUid]} />
</View>
);
};
Expand Down