how to get audio conference participants list

Answered how to get audio conference participants list

All Replies

  • Thursday, May 17, 2012 2:18 PM
     
     Answered Has Code

    found solution

    _conversation.ConferenceSession.AudioVideoMcuSession.ParticipantEndpointAttendanceChanged += OnMCUAttendanceChanged;
    

    and write fuction

    private void OnMCUAttendanceChanged(object sender,
                                                        ParticipantEndpointAttendanceChangedEventArgs<
                                                        AudioVideoMcuParticipantEndpointProperties> e)
            {
                foreach (KeyValuePair<ParticipantEndpoint,
                AudioVideoMcuParticipantEndpointProperties>
                pair in e.Joined)
                {
                    Console.WriteLine(string.Format("{0} joined the MCU.",
                    pair.Key.Participant.Uri));
                }
                foreach (KeyValuePair<ParticipantEndpoint,
                AudioVideoMcuParticipantEndpointProperties>
                pair in e.Left)
                {
                    Console.WriteLine(
                    string.Format("{0} left the MCU.",
                    pair.Key.Participant.Uri));
                }
            }

    This is not real read participant list of current conference, but i can catch "Left" event and create rejoin function with Uri telephone number


    • Marked As Answer by FighterZP Thursday, May 17, 2012 2:18 PM
    • Edited by FighterZP Thursday, May 17, 2012 2:19 PM
    •