Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DLNA Controller in Java
11-07-2012, 09:07 PM
Post: #8
RE: DLNA Controller in Java
ohNet handles all the protocol-specific functionality for you. You just need to consider the UI.

You can use the three classes in
  • CpProxyUpnpOrgAVTransport1.java
  • CpProxyUpnpOrgConnectionManager1.java
  • CpProxyUpnpOrgRenderingControl1.java
to access all functionality of a media renderer.

If you also want to access a media server, you can use
  • CpProxyUpnpOrgContentDirectory1.java
  • CpProxyUpnpOrgConnectionManager1.java
You might also need a X_MS_MediaReceiverRegistrar service which was defined by MicroSoft. If you do need this, you can generate a class like the ones above using the OhNetGen tool.

The UPnP forum contains a zip of protocol docs and service descriptions - see http://upnp.org/resources/upnpresources.zip.

You won't need anything else to work with a DLNA-certified server or renderer. It'd be worth reviewing the DLNA specs if they're available though - just in case they point to additional, optional but useful, functions.
Find all posts by this user


Messages In This Thread
DLNA Controller in Java - adaptiveal - 10-07-2012, 07:49 PM
RE: DLNA Controller in Java - simonc - 11-07-2012, 11:13 AM
RE: DLNA Controller in Java - adaptiveal - 11-07-2012, 02:33 PM
RE: DLNA Controller in Java - simonc - 11-07-2012, 02:57 PM
RE: DLNA Controller in Java - adaptiveal - 11-07-2012, 07:08 PM
RE: DLNA Controller in Java - simoncn - 11-07-2012, 07:49 PM
RE: DLNA Controller in Java - adaptiveal - 11-07-2012, 08:57 PM
RE: DLNA Controller in Java - simonc - 11-07-2012 09:07 PM
RE: DLNA Controller in Java - rajareddy - 03-09-2013, 12:48 PM
RE: DLNA Controller in Java - simonc - 03-09-2013, 01:23 PM

Forum Jump: