any one please help about upnp file transfer from server to renderer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

any one please help about upnp file transfer from server to renderer

kstar
i got client device, also found its AVTransport service.

then i used this code
ActionCallback setAVTransportURIAction = new SetAVTransportURI(servicecli,mediaUR, "NO METADATA") {
//mediaURI=file path in server //servicecli=AVTransport service

        @Override
        public void failure(ActionInvocation invocation, UpnpResponse operation, String defaultMsg) {
            System.err.println("something wrogh ");
        }
    };

for play action i used:
 ActionCallback playAction = new Pause(servicecli) { @Override public void failure(ActionInvocation invocation, UpnpResponse operation, String defaultMsg) { // Something was wrong } };

but didn't got any reaction at renderer side what's my wrong..
Reply | Threaded
Open this post in threaded view
|

Re: any one please help about upnp file transfer from server to renderer

raman bains
https://github.com/trishika/DroidUPnP this is the perfect example of an android application sending files(image,audio n video) to the tv using cling library