NativeSsdpSearch class
The DLNA search over iOS's own sockets: the M-SEARCH to the multicast group and to every neighbour on the Wi-Fi directly, which iOS allows without Apple's multicast entitlement. Native because Dart closes a socket at its first refused send, and iOS refuses sends to a neighbour that didn't answer lately. The answers come at the end, read here; none off iOS or off any Wi-Fi.
- Implemented types
Constructors
- NativeSsdpSearch({MethodChannel? channel})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
{Duration timeout = const Duration(seconds: 4)}) → Stream< SsdpAnswer> -
The answers as they come, one per location, until
timeout.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited