- commit
- 9ab7d9c5a820b0001f3702d285c96c62e41ed2b1
- parent
- a0ec729a3f2dfadc32027cb4fd2675ef4c6e9414
- author
- dami etoile <dami.etoile@gmail.com>
| M | docs/ | 11 | +++++++++-- |
@@ -25,6 +25,9 @@ sudo apt install -y libudev-dev libusb-1.0-0-dev pkg-config
2525 2626 # xcap Wayland support (needed even on X11)2727 sudo apt install -y libwayland-dev libpipewire-0.3-dev libgbm-dev28+29+# ffmpeg — screen capture + hardware encoding (NVENC/VAAPI)30+sudo apt install -y ffmpeg2831 ```2932 3033 If you are on Linux with an NVIDIA GPU, set this environment variable before running or building:@@ -39,6 +42,9 @@ Install the Tauri CLI (v2):
3942 4043 ```bash4144 cargo install tauri-cli --version "^2"45+46+# ffmpeg — screen capture + hardware encoding (VideoToolbox)47+brew install ffmpeg4248 ```4349 4450 Grant the following permissions in **System Settings > Privacy & Security**:@@ -95,9 +101,10 @@ Click **Connect** and tap your Titan key. The app derives the same host endpoint
95101 ## Architecture96102 97103 - **Transport**: Iroh 1.0 (peer-to-peer, relay-assisted)98-- **Screen capture**: xcap (X11/PipeWire on Linux, CoreGraphics on macOS)104+- **Screen capture + encoding**: ffmpeg subprocess (x11grab + NVENC/VAAPI on Linux, avfoundation + VideoToolbox on macOS)105+- **Fallback**: xcap capture + openh264 software encoding (if ffmpeg not installed)99106 - **FIDO2**: ctap-hid-fido2 (CTAP 2.0/2.1 over HID)100-- **Frame encoding**: H.264 via openh264107+- **Frame encoding**: H.264 (ffmpeg/NVENC primary, openh264 fallback for client-side decode)101108 - **Input injection**: enigo (cross-platform mouse/keyboard)102109 - **Protocol**: BiStream with frame header `[width:u32][height:u32][h264_len:u32][keyframe:u8][h264_data]`103110 - **Identity**: Iroh SecretKey derived from Titan hmac-secret extension; no address copy/paste