I'm trying to connect to the upnp server, using the microsoft control point api
FriendlyName: dev2 (Media Center)
Description: JRiver Media Center UPnP Media Server
ManufacturerName: JRiver, Inc.
ManufacturerURL:
http://169.254.2.2:49310/www.jrmediacenter.comModelName: Media Center
ModelNumber: 1.0.50
Type: urn:schemas-upnp-org:device:MediaServer:1
UniqueDeviceName: uuid:31406D27-9330-4999-A8AB-8D39B48D657C
if I do a search, that works ok:
(lua programming language)
local deviceObj = nil
local soMediaServers = deviceFinder:FindByType( "urn:schemas-upnp-org:device:MediaServer:1", 0 )
for index,dObj in luacomE.pairs (soMediaServers) do
if (dObj.FriendlyName == "dev2 (Media Center)") then
deviceObj = dObj
break
end
end
but this takes 10 seconds.
If I try to connect directly, using the UDN, that doesn't work :
local deviceObj = deviceFinder:FindByUDN( "uuid:31406d27-9330-4999-a8ab-8d39b48d657c" )
this method works ok for all my other uPNP devices (denon 3808, twonkyvision, HDX900 NMT) ?
Regards,
Marcel