public void HandleMediaProviderRegistrationMessageReceived(uint connectionID)
 {
     TCPRemoteClient client;
     if(true == _server.GetTCPRemoteClient(connectionID, out client))
     {
         _mediaProvider = new Participant(connectionID);
         Log.info("Media provider set.");
     }
 }
        public void OnRemoteClientRemoved(uint remoteClientID)
        {
            //KTODO remove message service from list if exist
            _remoteClientMessageServices.Remove(remoteClientID);

            if(_mediaProvider != null)
            {
                if (_mediaProvider.ConnectionID == remoteClientID)
                {
                    _mediaProvider = null;
                    Log.info("Removed media provider.");
                }
            }

            if(_mediaConsumer != null)
            {
                if (_mediaConsumer.ConnectionID == remoteClientID)
                {
                    _mediaConsumer = null;
                    Log.info("Removed media consumer.");
                }
            }
        }