Hi,
i want to listen to events from upnp renderers. At older versions i could use the function service.addEventListener to receive events, but this functions is not longer available. How can i receive events from upnp renderers using the new cyberlink version on android? Can anyone help me.
Thanks in advance,
rwebinger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i want to implement a UPnP-AV Control Point.
I can post actions to a UPnP renderer device but i don't know how to get "LastChange" from the RenderingControlService and the AvTransportService.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working on a ControlPoint too. I had subscribed my ControlPoint to the AVtransport Service and it has to implement the EventListener Interface. So I've got LastChange variable via eventReceived-Method.
But my problem that there are only information abaout the currents title metaData in it. I get only events on Start and Stop of a track. I get no information about the RelativeTimePosition.
Can someone help me with this issue?
Thanks & Greetings
weelaner
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i want to listen to events from upnp renderers. At older versions i could use the function service.addEventListener to receive events, but this functions is not longer available. How can i receive events from upnp renderers using the new cyberlink version on android? Can anyone help me.
Thanks in advance,
rwebinger
Hi,
Do you want to implement a UPnP renderer device ?
Check the following method instead of service.addEventListener
http://cgupnpjava.sourceforge.net/javadoc/html/org/cybergarage/upnp/Service.html#setActionListener(org.cybergarage.upnp.control.ActionListener)
Hi,
i want to implement a UPnP-AV Control Point.
I can post actions to a UPnP renderer device but i don't know how to get "LastChange" from the RenderingControlService and the AvTransportService.
Hi,
I am working on a ControlPoint too. I had subscribed my ControlPoint to the AVtransport Service and it has to implement the EventListener Interface. So I've got LastChange variable via eventReceived-Method.
But my problem that there are only information abaout the currents title metaData in it. I get only events on Start and Stop of a track. I get no information about the RelativeTimePosition.
Can someone help me with this issue?
Thanks & Greetings
weelaner
Hi Weelaner,
It seems that RelativeTimePosition is not variable is not event variable.
Please check the UPnP/AV specification, use the query or action to
get the value.