Ejemplo n.º 1
0
 public RtspDevice(string friendlyName, string address, string uniqueDeviceName)
 {
     _friendlyName     = friendlyName;
     _serverAddress    = address;
     _uniqueDeviceName = uniqueDeviceName;
     _rtspSession      = new RtspSession(this);
 }
Ejemplo n.º 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);
        }