Files
SpotiFLAC-Mobile/rust_backend/crates/network
zarzet 84b1ab8c6f feat(cast): add a Rust Google Cast sender and media server
New crate mornye-cast:
- Cast v2 sender over TLS (launch the Default Media Receiver, load,
  play, pause, seek, volume, heartbeat, status snapshots in the shape
  the Android plugin already emits).
- mDNS discovery of _googlecast._tcp receivers.
- HTTP media server on the route to the receiver: files with range
  requests, and a relay for http(s) sources such as network songs.

CastService exposes one call(method, args) surface. The mobile crate
wraps it as the UniFFI object CastBridge with polled events, and the
desktop crate dispatches it as castCall with castStatus and castDevices
events.

The server replaces the Dart one: on a 100 MB file it read 1.3 to 1.7x
faster, used less CPU and about a third of the memory, and does not
share the UI isolate.
2026-11-04 02:01:11 +07:00
..