コード例 #1
0
ファイル: Form_Main.cs プロジェクト: salih18200/orcs
        //SEND Stream ???????
        private void m_pRtpSession_NewSendStream(object sender, RTP_SendStreamEventArgs e)
        {
            this.BeginInvoke(new MethodInvoker(delegate()
            {

            }));
        }
コード例 #2
0
 /// <summary>
 /// This method is called when RTP session creates new send stream.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">Event data.</param>
 private void m_pRtpSession_NewSendStream(object sender, RTP_SendStreamEventArgs e)
 {
     d_SendStream = Dispatcher.BeginInvoke(new Action(delegate()
     {
         var selectedInDevice = cbAudioInDevices.SelectedItem as AudioInDevice;
         m_pAudioInRTP = new AudioIn_RTP(selectedInDevice, 20, m_pAudioCodecs, m_pSendStream);
         m_pAudioInRTP.Start();
     }));
 }