#cast #chromecast #google

rust_cast

Library that allows you to communicate with Google Cast enabled devices (e.g. Chromecast).

15 releases (9 breaking)

0.13.2 Aug 12, 2018
0.13.1 Jun 24, 2018
0.12.2 Jun 24, 2018
0.11.0 Jan 23, 2018
0.8.1 Jul 29, 2016

#7 in Multimedia

Download history 24/week @ 2018-08-15 40/week @ 2018-08-22 6/week @ 2018-08-29 11/week @ 2018-09-05 7/week @ 2018-09-12 4/week @ 2018-09-19 17/week @ 2018-09-26 47/week @ 2018-10-03 3/week @ 2018-10-10 123/week @ 2018-10-17 6/week @ 2018-10-24 19/week @ 2018-10-31 111/week @ 2018-11-07

236 downloads per month

MIT license

152KB
3.5K SLoC

Build Status

Usage

Build

Proto files are taken from Chromium GitHub mirror.

By default cargo build won't try to generate Rust code from the files located at protobuf/*, if you want to do that use GENERATE_PROTO environment variable during build and make sure you have protoc binary in $PATH:

$ GENERATE_PROTO=true cargo build

DNS TXT Record description

  • md - Model Name (e.g. "Chromecast");
  • id - UUID without hyphens of the particular device (e.g. xx12x3x456xx789xx01xx234x56789x0);
  • fn - Friendly Name of the device (e.g. "Living Room");
  • rs - Unknown (recent share???) (e.g. "Youtube TV");
  • bs - Uknonwn (e.g. "XX1XXX2X3456");
  • st - Unknown (e.g. "1");
  • ca - Unknown (e.g. "1234");
  • ic - Icon path (e.g. "/setup/icon.png");
  • ve - Version (e.g. "04").

Model names

  • Chromecast - Regular chromecast, supports video/audio;
  • Chromecast Audio - Chromecast Audio device, supports only audio.

Useful links and sources of inspiration

Dependencies

~4MB
~89K SLoC