Writing a DLNA server (DMS) in Cocoa/Objective-C/C
Asked Answered
O

4

11

I'd like to write a DLNA server in Cocoa for the Mac. Are there any libraries for speaking UPnP/DLNA in Objective-C or C? Failing that, where is the spec for DLNA so I can write my own?

Ovarian answered 8/5, 2010 at 15:9 Comment(0)
S
8

How about this one:

http://code.google.com/p/upnpx/

Smiley answered 9/5, 2012 at 18:41 Comment(1)
hi I am getting linking issues in Xcode 6. Could you please help meEmbonpoint
H
5

Have a look at Platinum UPnP. It's written in C++, but is very portable.

Historiated answered 9/5, 2010 at 10:58 Comment(2)
Awesome, it's got sample code for doing UPnP AV. It looks like that's the same as DLNA. If I'm getting this right, DLNA is a certification for UPnP protocols.Ovarian
hey I am able to integrate it but when I click on the start it showing in the list of DLNA but it is not returning any folders.i.e music,albums...... Could you please help meEmbonpoint
R
2

I had a look at the Platinum UPnP Framework too and I found it quite cumbersome to work with since the API is C++ and (fortunately or unfortunately I am not sure) I am not a very experienced C++ developer.

I found this which seems to look promising and has a nicer Objective-C API: CyberLinkForObjC

Rendering answered 7/12, 2011 at 10:44 Comment(1)
Platinum has an Objective-C layer so you don't have to deal with C++ if you don't want to.Tantamount
C
0

Don't know about DLNA, but if you want to do port mapping with UPnP, you can try TCMPortMapper.

Cox answered 9/5, 2010 at 0:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.