RTSP client for AirPlay 2.
Starts as ordinary RTSP for /pair-setup, then can be upgraded to the AP2
ChaCha20-Poly1305 secure channel after transient pairing succeeds.
Summary
Functions
Parse a buffered RTSP response, returning :more until the body is complete.
Types
Functions
@spec close(t()) :: :ok
@spec connect(String.t(), :inet.port_number()) :: {:ok, t()} | {:error, term()}
@spec parse(binary()) :: {:ok, non_neg_integer(), map(), binary(), binary()} | :more
Parse a buffered RTSP response, returning :more until the body is complete.