To accept a conference request, use the iConfServerDotNet.JoinConference Method
the iConfServerDotNet.JoinConference Method takes in the conferenceId parameter which represents the conference that the user was invited to join.
The users that you send the conference request to (using the iConfServerDotNet.StartConference Method )
receive a conference request through the iConfServerDotNet.ConferenceRequest Event
public delegate void ProcessConferenceRequestDelegate(String leader, ArrayList otherUsers, string otherUsersStr, string conferenceId);
private void ProcessConferenceRequest(String leader, ArrayList otherUsers, string otherUsersStr, string conferenceId)
{
if (MessageBox.Show("Would you like to accept a conference request from " + leader + "?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes)
{
ics.JoinConference(conferenceId);
}
}
private void ics_ConferenceRequest(object sender, System.String leader, System.Collections.ArrayList otherUsers, System.String otherUsersStr, System.String conferenceId)
{
Invoke(new ProcessConferenceRequestDelegate(ProcessConferenceRequest), new object[] { leader, otherUsers, otherUsersStr, conferenceId });
}
Doc-O-Matic.|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009. AVSPEED, Inc. All rights reserved.
|