简体   繁体   English

带有iOS 10的DLNA / UPNP技术

[英]DLNA/UPNP Technology with iOS 10

I am new to DLNA And UPNP Technology. 我是DLNA和UPNP技术的新手。 I am building one app to cast videos(specially Live Streaming formats: .M3U8 & .RTMP) and audios to smartTVs(Samsung, LG, Sony, Panasonic, Toshiba, Sharp and Philips). 我正在构建一个应用程序,用于将视频(特别是实时流格式:.M3U8和.RTMP)和音频投射到smartTV(三星,LG,索尼,松下,东芝,夏普和飞利浦)。 I searched a lot about DLNA/UPNP and also found some helpful resources but confused at some points. 我搜索了很多有关DLNA / UPNP的信息,还发现了一些有用的资源,但有时会感到困惑。

  1. Can we cast Live Streaming Videos? 我们可以播放直播视频吗?

  2. How to test app with all brand smart TVs as I don't have any smart TV. 我没有任何智能电视,因此如何在所有品牌的智能电视上测试应用程序。 3). 3)。

  3. Which library is better to use in swift? 快速使用哪个库更好?

And also suggest me Good tutorials and steps to use technology into App I would like to use swift language but suggestions for Objective-C also ok :) any help will be appreciated. 同时也向我建议将技术应用于App的良好教程和步骤我想使用快速的语言,但对Objective-C的建议也可以:)任何帮助将不胜感激。

1) Yes, you can cast live streaming videos. 1)是的,您可以投射实时流视频。 I suggest you start off with something simple like chromecast. 我建议您从简单的东西开始,例如chromecast。 https://codelabs.developers.google.com/codelabs/cast-videos-ios https://codelabs.developers.google.com/codelabs/cast-videos-ios

2) You will need to buy the TVs to test, some of the manufacturers provide the emulators to test apps on their tvs, but I doubt you'd be able to cast live videos to them. 2)您需要购买电视进行测试,一些制造商提供了仿真器来测试其电视上的应用程序,但是我怀疑您是否可以向他们播放实况视频。

3) You will need to use to the libraries provided by each manufacturer, not all of them would be written for swift natively, but I imagine it wouldn't be hard to get them working with swift. 3)您将需要使用每个制造商提供的库,并不是所有的库都是本机为Swift编写的,但是我想让它们使用Swift并不难。 Samsung's SmartView SDK is written to be compatible with both swift and Obj-C 三星的SmartView SDK编写为与swift和Obj-C兼容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM