Philipp
Philipp

Reputation: 4799

Access DLNA TV with Java code

I want to control my DLNA TV from my Java program on my PC. In particular, I want to:

I believe, I need to implement the Digital Media Controller (DLNA-DMC) profile. Is there a Java library which allows me to do this easily?

I couldn't find much doc on this. Are the APIs under NDA?

Can you recommend some reading?

Upvotes: 4

Views: 12535

Answers (3)

simonc
simonc

Reputation: 42165

ohNet does exactly what you want.

It is available under BSD license and includes the control point stack you need and can generate code to greatly simplify use of the services in any profile (see the docs on ohNetGen).

(Disclaimer: I have contributed to this project)

Upvotes: 3

Shiv
Shiv

Reputation: 1267

Intel DLNA tools allows you to create DLNA control point very easily for any platform in any language c,c++, C#, Java. Try Intel® Software for UPnP* Technology: Download Tools

They even have tools to test you app.

Upvotes: 2

Riduidel
Riduidel

Reputation: 22292

Take a look at Cling. I'm not sure it implements the UPnP control point features you're in fact looking for, but at least it's a starting point.

Upvotes: 6

Related Questions