Audio support: mic capture and playback in the browser channel #28
Labels
No labels
bug
docs
enhancement
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pedromcaraujo/forge#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Forge channels are ttyd terminals in the browser, and there is no audio path
in either direction:
channel, so anything recording-shaped (
sox/rec,arecord, a transcribehelper) has no input device on nix-dev.
sink wired up on nix-dev and nothing carrying it back to the browser tab.
Concretely this blocks driving CLI audio tooling from a Forge channel — the
usual workaround is to fall back to the laptop, which defeats the point of the
browser workstation.
What "supported" would look like
getUserMedia), audio isstreamed to the engine and exposed as a capture device inside the channel's
session.
tab.
permission prompt.
Open questions
next to it? ttyd itself has no audio concept, so this is likely a sidecar
concern.
lighter like piping raw PCM into the session and skipping a real device node?
process" covers the actual use cases.
No urgency implied; filing it so the gap is recorded rather than rediscovered.