public RtspDevice(string friendlyName, string address, string uniqueDeviceName) { _friendlyName = friendlyName; _serverAddress = address; _uniqueDeviceName = uniqueDeviceName; _rtspSession = new RtspSession(this); }
public RtspDevice(UPnPDevice device) { var baseHost = new Uri(((IUPnPDeviceDocumentAccess)device).GetDocumentURL()); _friendlyName = device.FriendlyName; _uniqueDeviceName = device.UniqueDeviceName; _serverAddress = baseHost.Host; _rtspSession = new RtspSession(this); }