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?
Asked
Active
Viewed 7,623 times
4 Answers
8
How about this one:

ViggoV
- 2,133
- 2
- 20
- 22
-
hi I am getting linking issues in Xcode 6. Could you please help me – Tendulkar Jan 08 '15 at 11:48
5
Have a look at Platinum UPnP. It's written in C++, but is very portable.

sbooth
- 16,646
- 2
- 55
- 81
-
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. – Peeja May 09 '10 at 18:27
-
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 me – Tendulkar Jan 08 '15 at 11:49
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

Besi
- 22,579
- 24
- 131
- 223
-
Platinum has an Objective-C layer so you don't have to deal with C++ if you don't want to. – c0diq Apr 22 '14 at 20:24
0
Don't know about DLNA, but if you want to do port mapping with UPnP, you can try TCMPortMapper.

Nicholas Riley
- 43,532
- 6
- 101
- 124