コード例 #1
0
 public void fncSpk(string status)
 {
     try
     {
         if (status == "Spk. Off")
         {
             oclient.set_AudioMuted(RTC_AUDIO_DEVICE.RTCAD_SPEAKER, true);
         }
         else if (status == "Spk. On")
         {
             oclient.set_AudioMuted(RTC_AUDIO_DEVICE.RTCAD_SPEAKER, false);
         }
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "fncSpk()", "Audio\\Audio.Business\\RTCAudio.cs");
     }
 }
コード例 #2
0
 public void fncSpk(string status)
 {
     try
     {
         if (status == "Spk. Off")
         {
             oclient.set_AudioMuted(RTC_AUDIO_DEVICE.RTCAD_SPEAKER, true);
         }
         else if (status == "Spk. On")
         {
             oclient.set_AudioMuted(RTC_AUDIO_DEVICE.RTCAD_SPEAKER, false);
         }
     }
     catch (Exception ex)
     {
         ex.Data.Add("My Key", "VMukti--:--VmuktiModules--:--VmuktiModules--:--Call Center--:--AutoProgressiveSoftPhone--:--AutoProgressivePhone.Business--:--RTCAudio.cs--:--OnIRTCSessionStateChangeEvent()--");
         ClsException.LogError(ex);
         ClsException.WriteToErrorLogFile(ex);
     }
 }