Add screensharing behind a feature flag
This commit is contained in:
parent
7c7f7ee5a0
commit
ceffc2380c
49 changed files with 2044 additions and 164 deletions
|
@ -13,8 +13,9 @@ import { sortByTitle } from '../util/sortByTitle';
|
|||
import { ConversationType } from '../state/ducks/conversations';
|
||||
|
||||
type ParticipantType = ConversationType & {
|
||||
hasAudio?: boolean;
|
||||
hasVideo?: boolean;
|
||||
hasRemoteAudio?: boolean;
|
||||
hasRemoteVideo?: boolean;
|
||||
presenting?: boolean;
|
||||
};
|
||||
|
||||
export type PropsType = {
|
||||
|
@ -130,12 +131,15 @@ export const CallingParticipantsList = React.memo(
|
|||
)}
|
||||
</div>
|
||||
<div>
|
||||
{participant.hasAudio === false ? (
|
||||
{participant.hasRemoteAudio === false ? (
|
||||
<span className="module-calling-participants-list__muted--audio" />
|
||||
) : null}
|
||||
{participant.hasVideo === false ? (
|
||||
{participant.hasRemoteVideo === false ? (
|
||||
<span className="module-calling-participants-list__muted--video" />
|
||||
) : null}
|
||||
{participant.presenting ? (
|
||||
<span className="module-calling-participants-list__presenting" />
|
||||
) : null}
|
||||
</div>
|
||||
</li>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue