upnp_client 1.0.0
upnp_client: ^1.0.0 copied to clipboard
Universal Plug and Play (UPnP) Client Implementation. Supports DLNA media casting. Will support IGD control in the future
UPnP Client #
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:
- Go to https://developer.apple.com/contact/request/networking-multicast and fill out the form for your app.
- Wait for the acceptance email (Approx. 30 days).
- Go to https://developer.apple.com/account/resources/identifiers/list.
- Choose the needed app.
- Go to "Additional Capabilities".
- Mark "Multicast Networking".
- Go to your project file "Runner.xcworkspace".
- Choose "Runner" -> "Signing & Capabilities" -> "+ capability" and search for "Multicast Networking".
- Build your project.
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.