Questions tagged [upnp]

Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment.

539 questions
4
votes
1 answer

How do I correctly set up my UdpClient to listen on the multicast address 239.255.255.250:1900 in C#

I am setting up a small local network with 3 laptops. My goal is to experiment with the UpNP protocol and have the laptops discover each other using UpNP. In order to do this, they need to be able to listen for notifications from each other. As…
Curtis
  • 5,794
  • 8
  • 50
  • 77
4
votes
1 answer

Streaming web video to Roku

Does anyone know how technically to send videos (i.e. Youtube Videos) to a Roku player? There is a "Twonky Beam" app that allows streaming and what it appears to do is to send .mp4 files to Roku for playback. See the demo here:…
gbtv
  • 209
  • 1
  • 3
  • 8
4
votes
3 answers

Is there any script, that can search whole local network for UPnP devices?

So, I find some programs, that can search UPnP devices from local network, but I can't find the same realization in Powershell. Maybe someone can tell, how to write Powershell script using UPnP for searching devices?
Vertigo
  • 141
  • 1
  • 5
3
votes
3 answers

Trying to get NAT's external IPAddress with INATExternalIPAddressCallback in C#

How do I get the external IP Address of a NAT using the windows library? I am trying to find any information on INATExternalIPAddressCallback, but have only found one example in C++ using unavailable interfaces to C#. Any guidance would be much…
Superman
  • 3,686
  • 6
  • 34
  • 46
3
votes
2 answers

JAXB generated classes from Xml schema doesnt return getter setters for all attributes

I am using Jaxb to build Java classes for marshalling xml data from the upnp didlite specification, the required xsd files can be found at https://gitlab.gnome.org/GNOME/gupnp-av/-/tree/master/data It works but not as well as I would like some…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
3
votes
1 answer

Is this offical Xml schema invalid or is error limitation of Jaxb

uPnP defines a number of Xml schemas including didl-lite.xsd, including this section:
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
3
votes
1 answer

Add a NAT UPnP mapping on a complex network using C#

I am creating an application that listens for connections (server) from a different application (client) via a tcp connection. So if both application where to be on the same network it will be easy to establish the connection. so I am trying to add…
Tono Nam
  • 34,064
  • 78
  • 298
  • 470
3
votes
0 answers

How to implement a media server for local music files on the phone in flutter that can be used by DLNA

I am working on a flutter app (for iOS and Android). One of the function of the app is to find DLNA renderes in the local network and allow user to play the local music files on his phone on these DLNA renderes. I have incorperated the DART-DLNA…
3
votes
0 answers

SSDP UPnP discovery using Network

I am trying to search for UPnP devices in my network by sending an SSDP discovery packet. I can send them but I do not receive responses from devices and I do not know what I am missing. Maybe someone here can help me out. Goal is not to use any…
3
votes
1 answer

Is there any reasonable SSDP or DIDL Lib for java/groovy/python?

For a future project I am looking for a library to handle SSDP communication and messages in DIDL-Lite xml dialect. Is there any reasonable implementation of java, groovy or python? I don't like to use implementations of existing UPnP stacks like…
Timo
  • 597
  • 1
  • 6
  • 11
3
votes
2 answers

How to set DNS Servers on Router from OSX Client?

I want to set the dns servers that my router will hand out to all clients from a program running on osx. Is there any native way to do this. Does osx provide any uPNP wrapper apis. I have seen some 3rd party apis for uPNP like minipnp etc, but would…
Joelio
  • 4,621
  • 6
  • 44
  • 80
3
votes
0 answers

Raspberry Pi as UPNP Device on Google Home

I would like to use a Raspberry Pi with NodeJS as an upnp device, which will be recognized by a standard Google Home device search action. Where can I find any documentation on how a google home discovers devices with upnp? If there is an ready to…
3
votes
1 answer

UPnP and SOAP to router

I am trying to make call for action on my router. Here is the specification about service:
echo6667
  • 75
  • 5
3
votes
1 answer

SSDP and interface IP address

I'm writing a UPnP AV/DLNA DMS which needs to send and receive SSDP messages. In response to some M-SEARCH packets I need to send a reply with the URL of a resource (in this case a HTTP server), which I've chosen to bind to INADDR_ANY (0.0.0.0). Of…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
3
votes
1 answer

portforward with UPnP

I am writing a networking application and need to forward a port on a router if UPnP is enabled. Where can I find C++ code for forwarding a port with UPnP? The the code must work on windows xp, windows vista, and windows 7.
David Chen
  • 301
  • 1
  • 3
  • 4