UPnAtom
UPnAtom copied to clipboard
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.
line 186 of RenderControl1Service.swift success(volume: Int(String(stateVariableValue)) ?? 0) unwrapping stateVariableValue solves the problem success(volume: Int(String(stateVariableValue!)) ?? 0) Hope it helps to get the library better and better
repro: 1. execute discovery (using sample app) 2. wait for the discovery to complete the posting in console 3. read the value of the property unless you use the stop...
I'm not completely sure but I have suspicions that sometimes the event subscriptions miss out some incoming events from time to time. Can anybody else confirm this? Am I missing...
file: GCDAsyncUDpSocket line 1446 The matching of the currently in use network adapter fails the condition resulting in not making the binding possible when the code exist the call back....
It seems to be possible since AFNetworking 3.1.0 supports tvOS
Observing events on one service is working ok, however when adding an observer to a second service immediately crashes the app ``` #0 0x0000000199fff140 in __pthread_kill () #1 0x000000019a0c8ef8 in...
The example app on the swift-2.1 branch crashes on discovery of only some UPnP devices with a "attempted to retain deallocated object" error. ``` #0 0x00000001007ed418 in _swift_abortRetainUnowned () #1...
Devices can list their own services and (sub)devices in the serviceList and deviceList properties (and those can in their place list services and devices, etc). In the current implementation discovery...
Using pure Swift classes in Objective-C is getting harder and harder every version. The following now generates the compiler error: "Only classes that inherit from NSObject can be declared @objc"...
Dev Forum Discussions: - https://devforums.apple.com/message/1062810#1062810 - https://devforums.apple.com/message/1113604#1113604 Workaround: Initialize all non-optional properties before returning nil from a failable initializer :( **Base class case** ``` swift // from if let uuid...