Shutdown() public method

Close down the XMPP client completely along with the audio channel if it's open. This typically happens when the application is exiting.
public Shutdown ( ) : void
return void
Example #1
0
        //void videoElement_NewVideoSample(object sender, WPFMediaKit.DirectShow.MediaPlayers.VideoSampleArgs e)
        //{
        //    _videoLogger.Debug("New video frame sample received.");
        //}

        /// <summary>
        /// Application closing, shutdown the SIP, Google Voice and STUN clients.
        /// </summary>
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            _sipClient.Shutdown();
            _stunClient.Stop();

            if (_gingleClient != null)
            {
                _gingleClient.Shutdown();
            }
        }