- Peer-to-peer connection using
iroh - Simple handshake (
PHINY_HANDSHAKE_V1) for stream setup - CLI with
listenandconnect <ticket>commands - Audio input/output processing utilities present in core
phiny-core: Core library (audio IO/processing, P2P primitives)phiny-cli: CLI tool for testing P2P connections and simple calls
- Requires Rust (
cargo) - Build the workspace:
cargo build
- Build CLI only:
cargo build -p phiny-cli
- Start listener (prints a ticket to share):
cargo run -p phiny-cli -- listen
- Connect to a listener using the ticket:
cargo run -p phiny-cli -- connect <ticket>
Notes:
- Run the listener first, copy the printed ticket, then start the connector.
- In terminal A:
cargo run -p phiny-cli -- listen- Copy the printed ticket
- In terminal B:
cargo run -p phiny-cli -- connect <ticket>
- P2P:
phiny-core::p2p::Peerhandles listen/connectConnectionwrapsirohsend/recv streams with length-prefixed messages
- CLI:
listen: accepts connection, prints ticket, exchanges messagesconnect: connects using provided ticket, exchanges messages
- Audio:
phiny-core::audio::ioandprocessingexist for capture/playback
- Add a clean
AudioSessioninterface for multi-participant calls - Per-participant controls (mute, volume) and simple mixer
- Resilience: reconnection and session state handling
- Documentation for audio device setup across platforms



