コード例 #1
0
        // Just to record the state transitions in the console.
        void ConferenceSession_ParticipantEndpointPropertiesChanged(object sender,
                                                                    ParticipantEndpointPropertiesChangedEventArgs <ConferenceParticipantEndpointProperties> e)
        {
            ConferenceSession confSession = sender as ConferenceSession;

            NonBlockingConsole.WriteLine(
                "{0} is notified of ConferenceSession participant property change for user: {1}. Role:{2}, CanManageLobby:{3}, InLobby:{4}",
                confSession.Conversation.LocalParticipant.UserAtHost,
                e.ParticipantEndpoint.Participant.UserAtHost,
                e.Properties.Role.ToString(),
                e.Properties.CanManageLobby.ToString(),
                e.Properties.IsInLobby.ToString());

            NonBlockingConsole.WriteLine("");

            Message m = new Message("Conference participant properties changed. Changed properties: " + e.ChangedPropertyNames.ToString() + ". New property values: " + e.Properties.ToString() + ".",
                                    e.ParticipantEndpoint.Participant.DisplayName,
                                    e.ParticipantEndpoint.Participant.UserAtHost,
                                    e.ParticipantEndpoint.Participant.Uri, MessageType.ConferenceInfo, _conversation.Id,
                                    confSession.ConferenceUri, MessageDirection.Incoming);

            _transcriptRecorder.OnMessageReceived(m);
        }
コード例 #2
0
 private void AudioVideoMcuSession_ParticipantEndpointPropertiesChanged(object sender, ParticipantEndpointPropertiesChangedEventArgs<AudioVideoMcuParticipantEndpointProperties> e)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 // TODO: Register for AV/IM MCU events and implement event handlers
 private void InstantMessagingMcuSession_ParticipantEndpointPropertiesChanged(object sender, ParticipantEndpointPropertiesChangedEventArgs<InstantMessagingMcuParticipantEndpointProperties> e)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
        // Just to record the state transitions in the console.
        void ConferenceSession_ParticipantEndpointPropertiesChanged(object sender,
            ParticipantEndpointPropertiesChangedEventArgs<ConferenceParticipantEndpointProperties> e)
        {
            ConferenceSession confSession = sender as ConferenceSession;

            NonBlockingConsole.WriteLine(
                "{0} is notified of ConferenceSession participant property change for user: {1}. Role:{2}, CanManageLobby:{3}, InLobby:{4}",
                confSession.Conversation.LocalParticipant.UserAtHost,
                e.ParticipantEndpoint.Participant.UserAtHost,
                e.Properties.Role.ToString(),
                e.Properties.CanManageLobby.ToString(),
                e.Properties.IsInLobby.ToString());

            NonBlockingConsole.WriteLine("");

            Message m = new Message("Conference participant properties changed. Changed properties: " + e.ChangedPropertyNames.ToString() + ". New property values: " + e.Properties.ToString() + ".",
                e.ParticipantEndpoint.Participant.DisplayName,
                e.ParticipantEndpoint.Participant.UserAtHost,
                    e.ParticipantEndpoint.Participant.Uri, MessageType.ConferenceInfo, _conversation.Id,
                    confSession.ConferenceUri, MessageDirection.Incoming);
            _transcriptRecorder.OnMessageReceived(m);
        }
コード例 #5
0
 private void AudioVideoMcuSession_ParticipantEndpointPropertiesChanged(object sender, ParticipantEndpointPropertiesChangedEventArgs <AudioVideoMcuParticipantEndpointProperties> e)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 // TODO: Register for AV/IM MCU events and implement event handlers
 private void InstantMessagingMcuSession_ParticipantEndpointPropertiesChanged(object sender, ParticipantEndpointPropertiesChangedEventArgs <InstantMessagingMcuParticipantEndpointProperties> e)
 {
     throw new NotImplementedException();
 }