示例#1
0
 /// <summary>
 /// 启动音频
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void btnAudio_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (LyncHelper.MainConversation != null)
         {
             //启动音频
             LyncHelper.StartAudio(LyncHelper.MainConversation);
         }
         else
         {
             MessageBox.Show("开启视频之前先选择一个会话", "操作提示", MessageBoxButton.OK, MessageBoxImage.Information);
         }
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
     finally
     {
     }
 }