dlna

DLNA开发

空扰寡人 提交于 2019-12-11 10:32:12
最近在基于dlna开源库重新实现dlna服务,对于手机端来说主要提供ControlPoint+媒体文件HttpServer功能。 调研了国内APP和友商的实现,以使用libupnp和Cling的居多,部分使用Platinum; Cling Java开发的,对于APP来说容易导入,缺陷就是github上现在不再维护了; Libupnp以C实现,设备和服务封装不如cling及Platinum,开发起来不如后两者容易,但胜在BSD license; Platinum C++实现,对于device和服务封装的较好,使用起来简单;只是在用NDK R20进行编译时需要修改config文件,费了半天功夫才编出可用.a文件; Platinum GPL license,商用时有一定代价;但提供的mediacontroller 对象及FileMediaServer对象提供CP及媒体文件传输功能,只需要再实现代理对象的回调函数即可,开发难度相对简单,DIDL功能在代码里也有实现。另外提供的测试可执行文件,对于理解DIDL,封装的filemediaserver, MicMediaController这些对象很有帮助. 另外记录下github上找到的各种方案的实现demo easydlna(libupnp) geniusgithub/MediaRender(platinum)

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

流过昼夜 提交于 2019-12-09 05:23:15
问题 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? 回答1: How about this one: http://code.google.com/p/upnpx/ 回答2: Have a look at Platinum UPnP. It's written in C++, but is very portable. 回答3: 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

SSDP and interface IP address

最后都变了- 提交于 2019-12-04 14:28:53
I'm writing a UPnP AV / DLNA DMS which needs to send and receive SSDP messages. In response to some M-SEARCH packets I need to send a reply with the URL of a resource (in this case a HTTP server), which I've chosen to bind to INADDR_ANY ( 0.0.0.0 ). Of course this address is meaningless to the sender of the M-SEARCH packet: The address of the interface on which the M-SEARCH was received is most appropriate. How can I determine the appropriate address to send in the reply packet? Some ideas I've considered are: Binding a different receiver to each socket. When a receiver gets an M-SEARCH packet

Creating a DLNA server/service in VB.NET [closed]

你。 提交于 2019-12-03 07:26:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I would like to create a DLNA server in VB.NET. Since a lot of multimedia devices start supporting DLNA, i would like to see what is possible. Not only streaming video/audio and pictures but see what else can be done. Anybody any starting points? protocol info, some basic code to get started? DLNA is based on

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

假如想象 提交于 2019-12-03 06:17:28
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? How about this one: http://code.google.com/p/upnpx/ Have a look at Platinum UPnP . It's written in C++, but is very portable. 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:

Why is the minidlna database not being refreshed?

拜拜、爱过 提交于 2019-12-03 04:43:42
问题 I am developing a MiniDLNA server to stream media over WiFi. Existing files are shown properly. However, when I add new files to media folders the changes are not updated across MiniDLNA clients. I have also tried to restart the server but it does not reflect the changes. I changed inotify_interval = 60 but it's still not updating files.db which is the MiniDLNA media list database. If I delete this database and restart the server it shows the changes. Does anyone know what the problem might

Creating a DLNA server/service in VB.NET [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-02 22:14:45
I would like to create a DLNA server in VB.NET. Since a lot of multimedia devices start supporting DLNA, i would like to see what is possible. Not only streaming video/audio and pictures but see what else can be done. Anybody any starting points? protocol info, some basic code to get started? DLNA is based on UPnP so i geuss that is the direction i have to start looking. UPnP MediaServer using Intels SDK for Windows Home Server and Xbox 360 is written in C# and does not have all the functionallity required but it is a start. I'd like to see an open source implementation of DLNA in .NET You

WIFI-Direct(Wifi直连)、AirPlay、DLAN、Miracast功能介绍

风流意气都作罢 提交于 2019-12-01 08:59:24
不知道大家对无线同屏技术有多少了解,当这种技术普及的时候,我想我们的工作与生活又会方便很多吧!下面是目前三种主流同屏技术的介绍: 目前这种将终端信号经由WiFi传输到电视、电视盒的技术有三种:DLNA、AirPlay、Miracast。 一、AirPlay AirPlay 是苹果开发的一种无线技术,可以通过WiFi将iPhone 、iPad、iPodtouch 等iOS 设备上的包括图片、音频、视频通过无线的方式传输到支持AirPlay 设备。售价99美元的Apple TV就具备这样的功能,现在一些传统的家庭影院和HIFI如马兰士和天龙的新品功放和网络播放器已经支持AirPlay功能。。 AirPlay具备与DLNA所没有的镜像功能,这一功能叫AirPlay镜像,可将iPhone 或iPad 上的画面无线传输到电视上,也就是说你设备显示的是什么,电视屏幕显示就就是什么,而不仅限于图片和视频。你可以拿着iPad 来当做方向盘,然后看着大屏玩游戏。 另外AirPlay镜像最牛地方是它可以实现双屏游戏,让你的游戏有更多的交互。比如,电视里显示的是游戏画面,而iPad上显示的是比赛的路线图。            目前,苹果的AirPlay更多的只适用于认证过的苹果设备,目前支持这一技术的主要是苹果自己的设备包括了iPad、iPhone、Apple TV等