forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/client/src/share/camera.rsClear filter

2026-11-29

🐛 fix: default camera was index 0 (OBS loopback) while the picker checked the first listed device; both now use the chosen device if present, else the first capture node. idle loopback cameras (no capture cap) drop off the listAhmet Kaan Gümüş · f9f0188
🐛 fix: default camera was index 0 (OBS loopback) while the picker checked the first listed device; both now use the chosen device if present, else the first capture node. idle loopback cameras (no capture cap) drop off the list
🐛 fix: cameras with a metadata node (e.g. Razer Kiyo X video2) resolved to that node, so no modes and open failed; pick the same-named node with VIDEO_CAPTURE. camera modes sorted and dedupedAhmet Kaan Gümüş · a471c6a
🐛 fix: cameras with a metadata node (e.g. Razer Kiyo X video2) resolved to that node, so no modes and open failed; pick the same-named node with VIDEO_CAPTURE. camera modes sorted and deduped
🐛 fix: memory leak reopening a camera whose source left (nokhwa reuses the stuck thread's v4l fd, which still owns the loopback capture token, so the driver reports continuous ranges that nokhwa expands into billions of formats); an index stays held from open until its capture thread returnsAhmet Kaan Gümüş · dabd731
🐛 fix: memory leak reopening a camera whose source left (nokhwa reuses the stuck thread's v4l fd, which still owns the loopback capture token, so the driver reports continuous ranges that nokhwa expands into billions of formats); an index stays held from open until its capture thread returns
🐛 fix: camera open can't explode memory (nokhwa expands v4l2loopback continuous sizes×intervals into billions of formats; v4l pre-count rejects >100k) and a stuck camera thread keeps its device busy until it returnsAhmet Kaan Gümüş · ce566cb
🐛 fix: camera open can't explode memory (nokhwa expands v4l2loopback continuous sizes×intervals into billions of formats; v4l pre-count rejects >100k) and a stuck camera thread keeps its device busy until it returns

2026-11-28

🐛 fix: camera drop never blocks on a stuck v4l read (bounded 1s wait, was checking stall after taking the thread); lost shares drop off the async runtimeAhmet Kaan Gümüş · 5f5895e
🐛 fix: camera drop never blocks on a stuck v4l read (bounded 1s wait, was checking stall after taking the thread); lost shares drop off the async runtime
🐛 fix: lost capture sources end their share instead of freezing (camera stall watchdog since v4l reads block forever, pipewire Unconnected ends screen share); share menu refreshes camera list liveAhmet Kaan Gümüş · cb6d0a6
🐛 fix: lost capture sources end their share instead of freezing (camera stall watchdog since v4l reads block forever, pipewire Unconnected ends screen share); share menu refreshes camera list live
✨ feat: Turkish language, redesigned person card, Ctrl+K and room headerAhmet Kaan Gümüş · 61a5ac2
✨ feat: Turkish language, redesigned person card, Ctrl+K and room header

Translations live in crates/client/lang/{en,tr}/*.txt and build.rs turns them into typed Words; language is a setting, defaulting to the system locale. Dates take month names and order from the language files.

Person card: name alone, status under it, presence is the avatar dot (own card: dot opens a presence menu), account switcher is a chevron after your name. Ctrl+K and the room header follow the approved canvas. The app reopens the last chat per account. The sidebar shield button is gone (Builder lives in Ctrl+K). Stale avatar size test fixed.

2026-11-27

✨ feat: camera device selection (saved, switches live); camera popover shows devices, screen popover shows Sound; resolution/fps/codec fold under Quality in bothAhmet Kaan Gümüş · 2d82f82
✨ feat: camera device selection (saved, switches live); camera popover shows devices, screen popover shows Sound; resolution/fps/codec fold under Quality in both
✨ feat: login screen picks the server: address field (built-in default, saved when changed) and 'Accept any certificate' switch (works in release too); network reconnects as soon as either changes; saved accounts are per serverAhmet Kaan Gümüş · b986e58
✨ feat: login screen picks the server: address field (built-in default, saved when changed) and 'Accept any certificate' switch (works in release too); network reconnects as soon as either changes; saved accounts are per server
🐛 fix: Windows N (no Media Feature Pack) failed to start: Media Foundation DLLs are delay-loaded and the camera is skipped when they are missing; harness/imports.sh fails on any import outside the DLLs every Windows hasAhmet Kaan Gümüş · a66fcda
🐛 fix: Windows N (no Media Feature Pack) failed to start: Media Foundation DLLs are delay-loaded and the camera is skipped when they are missing; harness/imports.sh fails on any import outside the DLLs every Windows has
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)Ahmet Kaan Gümüş · cf604c4
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first openAhmet Kaan Gümüş · 5da5470
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first open

2026-11-26

🐛 fix: camera opens at the lowest frame rate meeting the setting instead of the highest (720p30 setting opened 720p60 MJPEG); camera decode 11% → 5% of a core on a real webcamAhmet Kaan Gümüş · a5b0c2c
🐛 fix: camera opens at the lowest frame rate meeting the setting instead of the highest (720p30 setting opened 720p60 MJPEG); camera decode 11% → 5% of a core on a real webcam
⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largestAhmet Kaan Gümüş · 6b212ab
⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largest

- PipeWire offers edith's importable modifiers first, then SHM; an import failure renegotiates to SHM
- capture callback holds the buffer until every encode lane drops the frame
- camera prefers raw over MJPEG at equal size and reopens when camera quality changes
- frame counters seed from wall clock so a reopened share keeps counting forward
- YUMUSH_NO_DMABUF disables the GPU path

2026-11-25

✨ feat: open the camera at its highest resolutionAhmet Kaan Gümüş · 62e0f76
✨ feat: open the camera at its highest resolution

Ask nokhwa for the highest resolution at 30, then 60, then 25 fps before falling back to the absolute highest frame rate, and raise the camera quality cap to 2160p60 so clamp limits it by the camera and encoder. MJPEG decoding moves into the opt level 3 pixel crate using zune-jpeg with BGRA output.
💄 ui: friendly camera and screen capture errorsAhmet Kaan Gümüş · 4ac1292
💄 ui: friendly camera and screen capture errors

Capture start failures now map to a plain Device error instead of the network: prefixed text, a missing camera says No camera found and logs the V4L2 detail, and an open timeout says Camera did not respond.
♻️ refactor: simplify the whole workspace and fix the bugs found on the wayAhmet Kaan Gümüş · d58bc19
♻️ refactor: simplify the whole workspace and fix the bugs found on the way

Collapse duplicated helpers across client, server and common: one gui widget
module, one capture worker type, shared db query helpers, one name validator.
Gate the capture modules behind a stub so macOS compiles again, close the
portal screencast session on stop, stop camera read spins, stop double
WatchShare requests, fix frame pacing jitter drops, mention prefix matching,
validation holes and a set of server cleanup and auth gaps.