/// <summary> /// Default constructor. /// </summary> /// <param name="url">Device URL.</param> internal SatIpDevice(string url) { if (url == null) { throw new ArgumentNullException("url"); } Init(new Uri(url)); _rtspSession = new RtspSession(_baseUrl.Host); }
protected virtual void Dispose(bool disposing) { if (!_disposed) { if (disposing) { if (_rtspSession != null) { _rtspSession.Dispose(); _rtspSession = null; } } } _disposed = true; }