Put the maximised conditional back

and comment it
This commit is contained in:
David Baker 2022-12-19 15:10:25 +00:00
parent 4ad5ea49c2
commit 7c26bdbda3

View file

@ -72,7 +72,12 @@ export function VideoTileContainer({
audioContext, audioContext,
audioDestination, audioDestination,
localVolume, localVolume,
isLocal // The feed is muted if it's local audio (because we don't want our own audio,
// but it's a hook and we can't call it conditionally so we're stuck with it)
// or if there's a maximised feed in which case we always render audio via audio
// elements because we wire it up at the video tile container level and only one
// video tile container is displayed.
isLocal || maximised
); );
const { const {
modalState: videoTileSettingsModalState, modalState: videoTileSettingsModalState,