AirPlay.Discovery (AirPlay v0.2.0)

Copy Markdown View Source

Discover AirPlay/RAOP receivers on the LAN via mDNS (multicast DNS, 224.0.0.251:5353) — the Bonjour service browse Apple devices use. Queries the _raop._tcp.local service and resolves each instance's SRV (host/port) + A (address) from the responses.

AirPlay is a different discovery + streaming stack. Returns %{name: String.t(), host: String.t(), port: non_neg_integer()} per receiver.

Summary

Functions

Browse for AirPlay/RAOP receivers for timeout_ms (default 2500).

Functions

receivers(timeout_ms \\ 2500)

@spec receivers(non_neg_integer()) :: [map()]

Browse for AirPlay/RAOP receivers for timeout_ms (default 2500).