lightglitch wrote:And to support xbox you need more extra info, that's why I give chii as an example.
I'll be sure to have a look when the integration actually works, thanks.
First things first!
- Code: Select all
UpnpServiceConfiguration configuration = new DefaultUpnpServiceConfiguration(STREAM_LISTEN_PORT);
Don't need the port, cling will use an automatic given by the system.
Yes, I noticed that. I was more thinking about staying compatible with what we currently offer; people kind of expect to find PMS on port 5001 and the documentation is geared towards that (thinking of firewalls etc. here). For now I didn't want to run into bind problems with the HTTP server at 5001, so I fixed the STREAM_LISTEN_PORT to 5002 for now.
And in cling support you have utils for DLNA headers, and Protocol-info.
Indeed, I'm using those in DLNAResource.getDidlObject().