/// <summary>
 /// Indicates the current menu stops the reading.
 /// </summary>
 /// <param name="voiphandler"></param>
 protected void OnIntroductionStoped(VoIPMediaHandler voiphandler)
 {
     if (IntroductionStoped != null)
     {
         IntroductionStoped(this, new VoIPEventArgs <VoIPMediaHandler>(voiphandler));
     }
 }
Ejemplo n.º 2
0
        public void DeAttachVoIPHandlerToCall(VoIPMediaHandler voIPMediaHandler)
        {
            AudioHandler handler = voIPMediaHandler as AudioHandler;
            if (handler == null)
                return;

            if (voIPMediaHandler is WaveStreamRecorder ||voIPMediaHandler is MP3StreamRecorder)
                mediaConnector.Connect(incomingAudioMixer, handler);
            else
                mediaConnector.Disconnect(handler, outgoingAudioMixer);
        }
Ejemplo n.º 3
0
        public void DeAttachVoIPHandlerToCall(VoIPMediaHandler voIPMediaHandler)
        {
            AudioHandler handler = voIPMediaHandler as AudioHandler;

            if (handler == null)
            {
                return;
            }

            if (voIPMediaHandler is WaveStreamRecorder || voIPMediaHandler is MP3StreamRecorder)
            {
                mediaConnector.Connect(incomingAudioMixer, handler);
            }
            else
            {
                mediaConnector.Disconnect(handler, outgoingAudioMixer);
            }
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Indicates the current menu stops the reading.
 /// </summary>
 /// <param name="voiphandler"></param>
 protected void OnIntroductionStoped(VoIPMediaHandler voiphandler)
 {
     if (IntroductionStoped != null)
         IntroductionStoped(this, new VoIPEventArgs<VoIPMediaHandler>(voiphandler));
 }