Code Monkey home page Code Monkey logo

upnatom's Introduction

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.14.5+
  • Xcode 10.3

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.14.5+ support
  • Swift 4.2
  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.