rust-cast
rust-cast copied to clipboard
Library written in Rust to communicate with the Google Cast devices
Implements requested feature #20 to map/handle media error events returned by a Chromecast device. The message type `MESSAGE_TYPE_ERROR` has been added within the `parse` fn of `MediaChannel`. Tests have been...
``` [Media] NotImplemented("ERROR", Object {"detailedErrorCode": Number(104), "itemId": Number(1), "type": String("ERROR")}) [Media] NotImplemented("ERROR", Object {"detailedErrorCode": Number(104), "type": String("ERROR")}) ``` MEDIA_SRC_NOT_SUPPORTED https://developers.google.com/android/reference/com/google/android/gms/cast/MediaError.DetailedErrorCode
Hi, I am interested in an `async` module that communicates with my Chromecast as part of a web application. Would you open to collaborating on this? Alternatively I can make...
Here is a branch that converts rust-cast to an async message stream. The interesting changes are in src/message_manager.rs (going from Read+Write to AsyncRead+AsyncWrite) and src/lib.rs (connecting is changed to use...
This PR implements metadata handling and adds a new `json_metadata` feature to allow the use of a generic `serde_json::Value` to represent the metadata. This feature enables using metadata when the...