media_cast_dlna
0.3.1, released 8 months ago by felnanuke.com.br
A Flutter plugin for discovering and controlling DLNA/UPnP media devices on Android.
What it does
Discover DLNA/UPnP devices on the local network and control media playback like casting, seeking, and volume. Uses native Pigeon-generated interfaces and the jUPnP library.
AI-written summary of version 0.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to discover and cast media to DLNA-compatible smart TVs and speakers from an Android app.
- You want event-driven streams for device discovery and connection states.
Skip it when
- You need iOS casting support, as iOS is not supported due to multicast limitations.
- You require universal device compatibility for advanced features like subtitle or playback speed control.
Strengths
- Provides smart device discovery and event-driven streams for device found/lost events.
- Type-safe native communication powered by Google's Pigeon package.
Weaknesses
- Android-only support; iOS is currently excluded.
- Feature support varies significantly across different DLNA device manufacturers.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires adding INTERNET, network state, and Wi-Fi permissions along with the AndroidUpnpServiceImpl service declaration in AndroidManifest.xml.
import 'package:media_cast_dlna/media_cast_dlna.dart';
final _api = MediaCastDlnaApi();
await _api.initializeUpnpService();Alternatives
Packages that do the same job and could replace media_cast_dlna.
- flutter_chrome_cast
Integrate Google Cast devices to discover, connect, and control media playback.
80Compare - flutter_screen_recording
Record device screen on Android, iOS, and web with optional audio.
71Compare