Ejemplo n.º 1
0
        void AudioDummy_EntsvcP2PSetUserList(string uname, string strConf)

        {
            clsMessage objMessage = new clsMessage();
            objMessage.strUserName = uname;
            objMessage.strConfNumber = strConf;
            objMessage.msgType = "setuserlist";
            lstMessage.Add(objMessage);
        }
Ejemplo n.º 2
0
        void AudioDummy_EntsvcP2PUnJoin(string uName)
        {
            try
            {
                lstNodes.Remove(uName);
                clsMessage objMessege = new clsMessage();
                objMessege.strUserName = uName;
                objMessege.msgType = "unjoin";

                lstMessage.Add(objMessege);
                //NetTcpAudioChannel.Close();
            }
            catch (Exception ex)
            {
                VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "AudioDummy_EntsvcP2PUnJoin()", "AudioDummy.cs");
            }
        }
Ejemplo n.º 3
0
 void AudioDummy_EntsvcP2PStartConference(string uName, string strConfNumber, string[] GuestInfo)
 {
     try
     {
         if (strConfNumber != "" && GuestInfo.Length > 0)
         {
             List<string> temp = new List<string>();
             for (int i = 0; i < GuestInfo.Length; i++)
             {
                 temp.Add(GuestInfo[i]);
             }
             clsMessage objMessage = new clsMessage();
             objMessage.strConfNumber = strConfNumber;
             objMessage.strUserName = uName;
             objMessage.lstTo = temp;
             objMessage.msgType = "conf";
             lstMessage.Add(objMessage);
         }
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "AudioDummy_EntsvcP2PStartConference()", "AudioDummy.cs");
     }
 }