Skip to main content

Crate renderrelay

Crate renderrelay 

Source
Expand description

Render Relay Protocol (RRP) — server-rendered streaming to TVs and displays.

This crate provides message schemas and optional WebSocket transport for the Render Relay Protocol.

§Features

  • viewer — (reserved for future viewer-side helpers)
  • renderer — (reserved for future renderer-side helpers)
  • client — [RrpClient] WebSocket client (connects to a renderer)
  • server — [RrpListener] / [RrpConnection] WebSocket server (accepts viewers)

Re-exports§

pub use error::RrpError;
pub use message::RrpMessage;
pub use types::AuthMode;
pub use types::InputCaps;
pub use types::KeyState;
pub use types::Severity;
pub use types::StreamCaps;
pub use types::StreamFormat;
pub use types::StreamSelection;

Modules§

error
RRP error types.
message
RRP message types.
types
RRP domain types: stream formats, key states, capabilities.

Constants§

DEFAULT_PATH
Default WebSocket path for RRP connections.
SPEC_VERSION
The RRP spec version this crate implements.