bevy_iroh

crates.io docs.rs ci pages

Share Bevy entities between peers over iroh, with voice, video and screen sharing. Code and issues: github.com/rvdende/bevy_iroh · crate: crates.io/crates/bevy_iroh · API docs: docs.rs/bevy_iroh. The README follows the demos below, which are the crate's examples built for the browser.

webcamVoice, a camera and a screen: everyone's picture floats over their sphere, and a screen they share hangs above it. Asks for microphone and camera; "Share screen" asks for a tab, window or screen when pressed. voiceVoice only, with a mute button, a meter and device pickers. Asks for a microphone. cubeThe hello world: a cube each, driven with the arrow keys. Nothing to allow.

Each demo hosts a room and puts the invite link in the address bar. Open it in a second tab or on another device to see it work. A native build can join the same room with cargo run -- <ticket> in a checkout, using the ticket from that link; from there "Share screen" shares a monitor or window through the desktop's own picker on Linux, the main display on macOS, the primary output on Windows. Browsers connect to each other and to desktops over WebRTC; until that link is up, traffic goes through a relay.

Loading the README…