Reputation: 155
I am working on an UPnP implementation for Android. I have downloaded a MediaRenderer code stream2android
. I compiled it and it's working fine. Now I want to install a MediaServer.
I have few questions.
stream2android
?Any input will be helpful.
Edit:- One more thing i want to ask, android framework has already some class like
WifiP2pUpnpServiceInfo http://developer.android.com/reference/android/net/wifi/p2p/nsd/WifiP2pUpnpServiceInfo.html
WifiP2pUpnpServiceRequest http://developer.android.com/reference/android/net/wifi/p2p/nsd/WifiP2pUpnpServiceRequest.html
so instead of using any library, can we directly use this class. By reading these class it's not very clear, how we can use them. I am not asking for any sample code or something, just a little detail about these classes.
Thanks in advance
Upvotes: 1
Views: 1559
Reputation: 7278
stream2android
is MediaRenderer only, you cannot "install MediaServer for it". It is using CyberLink Java library for basic UPnP support and builds just MediaRenderer on it. If you want stream2android
to act as MediaServer too, you can implement it yourself on the CyberLink. Get an idea at x360mediaserver which implements MediaServer with CyberLink.
Or you can install any of the existing MediaServers for Android.
MediaServer can be any device capable of TCP and UDP socket communication. It is roughly equivalent to a webserver. So it can be your Android device, other Linux too. Or Windows. Or Symbian if you want.
I don't understand the question.
Upvotes: 2