UPnP Client

License Supported Dart SDK Package Version Package download statistics Development Status

Universal Plug and Play (UPnP) Client Implementation. Supports IGD control as well as DLNA

Installation

Use the package manager pub to install the upnp client.

dart pub add upnp_client

Usage

Refer to the example folder, e.g.

dart run example/upnp_client_example.dart

To use on an Android device

You must add the following permissions in your AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" android.usesPermissionFlags="neverForLocation"/>

To use on an iOS device (Required for iOS 14+)

You need to follow these steps to use Multicast Networking functionalities on any iOS device:

  1. Go to https://developer.apple.com/contact/request/networking-multicast and fill out the form for your app.
  2. Wait for the acceptance email (Approx. 30 days).
  3. Go to https://developer.apple.com/account/resources/identifiers/list.
  4. Choose the needed app.
  5. Go to "Additional Capabilities".
  6. Mark "Multicast Networking".
  7. Go to your project file "Runner.xcworkspace".
  8. Choose "Runner" -> "Signing & Capabilities" -> "+ capability" and search for "Multicast Networking".
  9. Build your project.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Libraries

didl
upnp_client