3 Star 0 Fork 0

Gitee 极速下载 / upnatom

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/master-nevi/UPnAtom
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

UPnAtom: Modern UPnP in Swift Version Platform License Build Status

An open source Universal Plug and Play library with a focus on media streaming coordination using the UPnP A/V profile; written in Swift but for both Objective-C and Swift apps. Supports only iOS 8 and higher due to iOS 7's limitation of not supporting dynamic libraries via Clang module.

Requirements:

  • iOS 8.0+
  • OSX 10.9+
  • Xcode 7.2

Install:

Add following to Podfile:

pod 'UPnAtom'

Usage:

Objective-C
@import UPnAtom;
Swift
import UPnAtom
More documentation is on the way.

For now, it is highly recommended you check out the example projects. They are exactly the same app however one is in Swift, and the other is in Objective-C. They demonstrate almost all of the library's features minus the ability to add your own UPnP service/device classes. If you create your own service/device classes simply register them following UPnAtom.swift as an example.

Note: On iOS, transport security has blocked cleartext HTTP (http://) resource loads since it is insecure. Since many, if not most, UPnP devices serve resources over http, temporary exceptions can be configured via your app's Info.plist file. Remove this restriction at your own risk.

Milestones:

  • Usable in both Swift and Objective-C projects via CocoaPod framework
  • Create your own service and device object via class registration
  • UPnP Version 1 Compliance
  • Ability to archive UPnP objects after initial discovery and persist somewhere via NSCoder/NSCoding
  • OSX 10.9+ support
  • Swift 2.0
  • In-house implementation of SSDP discovery
  • A/V Profile Feature parity with upnpx library
  • Documentation (Until then please check out the example projects)
  • UPnP Version 2 Compliance

Tested Support On:

UPnP Servers:
UPnP Clients:

Contribute:

Currently I'm only taking feature requests, bugs, and bug fixes via Github issue. Sorry no pull requests for features or major changes until the library is mature enough.

  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
The MIT License (MIT) Copyright (c) 2014 master-nevi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

UPnAtom 是开源通用的即插即用库,使用 UpnP A/V 配置文件协调媒体流,支持 Objective-C 和 Swift 应用 展开 收起
Swift 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Swift
1
https://gitee.com/mirrors/upnatom.git
git@gitee.com:mirrors/upnatom.git
mirrors
upnatom
upnatom
master

搜索帮助