Android/Lineage OS and Screen mirroring ("Cast")

revision c9b90c965a0c1d69a0e8965cbff99006e9b87fe6

raw

README.rst

Android has native screen mirroring capabilities (when pulling down the status bar, there is a "cast" icon).

It uses for two technologies:

  • Miracast (WiFi Display)
  • Google Cast (Chromecast protocols CASTv1 and CASTv2)

Miracast is an open standard, Google Cast is proprietary.

Google Cast requires "gapps" on LineageOS. (proprietary google library)

Google Cast

Protocol v1

Uses DIAL (http://www.dial-multiscreen.org, https://en.wikipedia.org/wiki/Discovery_and_Launch)

CASTv1 receiver implementations

Senders:

Howto

Control it with curl:

Find receivers:

$ gssdp-discover --timeout=3 -t urn:dial-multiscreen-org:device:dialreceiver:1

Run a youtube video:

$ curl -X POST -d "v=zjR_AhxPnVM" http://dreambox:8008/apps/YouTube
raw

cast-icon.png

cast-icon.png
raw

no-cast-devices-found.png

no-cast-devices-found.png

History