Exemplo n.º 1
0
 public bool IsMatch(GroupCallParticipant participant, GroupCallParticipantVideoInfo videoInfo)
 {
     return(participant != null && participant.ParticipantId.IsEqual(ParticipantId) && _videoInfo.EndpointId == _videoInfo.EndpointId);
 }
Exemplo n.º 2
0
        public GroupCallParticipantGridCell(ICacheService cacheService, GroupCallParticipant participant, GroupCallParticipantVideoInfo videoInfo, bool screenSharing)
        {
            _screenSharing = screenSharing;

            InitializeComponent();
            UpdateGroupCallParticipant(cacheService, participant, videoInfo);

            if (screenSharing)
            {
                ScreenSharing.Text = Icons.SmallScreencastFilled;
            }

            var header = ElementCompositionPreview.GetElementVisual(Header);

            header.Opacity = 0;
        }