#cast #chromecast #google

rust_cast

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

17 releases (11 breaking)

✓ Uses Rust 2018 edition

0.15.0 Jan 4, 2020
0.14.0 Oct 15, 2018
0.13.2 Aug 12, 2018
0.13.1 Jun 24, 2018
0.8.1 Jul 29, 2016

#29 in Multimedia

Download history 19/week @ 2019-10-07 57/week @ 2019-10-14 69/week @ 2019-10-21 188/week @ 2019-10-28 141/week @ 2019-11-04 334/week @ 2019-11-11 225/week @ 2019-11-18 153/week @ 2019-11-25 143/week @ 2019-12-02 175/week @ 2019-12-09 122/week @ 2019-12-16 139/week @ 2019-12-23 223/week @ 2019-12-30 118/week @ 2020-01-06 131/week @ 2020-01-13

647 downloads per month

MIT license

155KB
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
~87K SLoC