Пример #1
0
 public RtspDevice(string friendlyName, string address, string uniqueDeviceName)
 {
     _friendlyName     = friendlyName;
     _serverAddress    = address;
     _uniqueDeviceName = uniqueDeviceName;
     _rtspSession      = new RtspSession(this);
 }
Пример #2
0
        public RtspDevice(UPnPDevice device)
        {
            var baseHost = new Uri(((IUPnPDeviceDocumentAccess)device).GetDocumentURL());

            _friendlyName     = device.FriendlyName;
            _uniqueDeviceName = device.UniqueDeviceName;
            _serverAddress    = baseHost.Host;
            _rtspSession      = new RtspSession(this);
        }