Can I get the local address in a media server browse call?
When extending AbstractContentDirectoryService to create a media server, in the browse method, is there a way to obtain the local address the client used? I want to return the http URLs to the media files on the same server the UPnP server is running on. In case there are multiple network interfaces I want to use the address of the one the client used for the browse request.
Re: Can I get the local address in a media server browse call?
Ah, thanks for pointing me to the sample. So I simply cannot use the provided AbstractContentDirectoryService template class but have to create my own with the additional parameter. Although this is no problem it would be nice if the provided AbstractContentDirectoryService class already had this additional paramter and also passed it to the abstract callbacks for browse and search.