Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
mediaway-device
Status: early development (
0.x). Not recommended for production; public APIs may change without notice. Part of the Mediaway media stack.
Device capture and playback: camera, microphone, screen/window capture, audio
playback, hotplug, and capability/permission probing. Shared vocabulary
(DeviceKind / DeviceId / Select, Support / PermissionState) plus domain
facades (camera, desktop, audio) over per-OS backends — Windows (DXGI screen,
WGC window, WASAPI mic/loopback/playback), Linux (xdg-desktop-portal + PipeWire + V4L2),
and Web (getUserMedia / getDisplayMedia).
Quick start
use Rational;
use ;
use WindowsScreenCapture; // Windows backend shown
use Select;
// Screen capture at 30 fps — DXGI Desktop Duplication (Zero-Copy:
// GPU `GpuBufferHandle` frames out).
let mut cap = open?;
loop
Cross-platform dispatch (per-OS backend selection) lives in
mediaway::platform::ScreenCapture::open.
Status
Status marks: ✅ first-class (tests for claimed scope) · ⚡ Zero-Copy path (no payload copy; implies ✅) · 🆗 best-effort / prototype · 🛠️ planned · ❌ attempted and genuinely blocked · 👻 not exercisable yet (no hardware / device / session available)
| Area | Status | Notes |
|---|---|---|
| Capture/playback traits + capability probing | ✅ | DeviceKind, Support, PermissionState |
| Windows screen capture (DXGI) | ✅ ⚡ | Zero-Copy out |
| Windows window capture (WGC) | ✅ | |
| Windows mic + system/process loopback (WASAPI) | ✅ | |
| Windows audio playback (WASAPI shared mode) | ✅ | |
Device enumeration (DeviceId/Select) |
✅ | Hardware-verified |
| Windows camera (Media Foundation) | 🛠️ | Planned |
Windows hotplug (IMMNotificationClient) |
🛠️ | Trait declared; backend pending |
Web capture (getUserMedia/getDisplayMedia) |
✅ | Picker only; no programmatic selection |
| Linux capture (portal + PipeWire + V4L2) | 👻 | Implemented; hardware verification pending |
Single-shot capture (capture_video_once) |
🛠️ | Design done (ADR-0006), not implemented |
Docs
docs/roadmap.md— stages, deferred items, design decisionsmediaway— convenience pipeline (platform::ScreenCaptureetc.)- Root README — device support matrix
Contributing
Contributions are welcome — open an issue or pull request at github.com/nyxways/mediaway.
License
MIT OR Apache-2.0.