neko/server/internal
Hani bc19ab866f
feat(client): add microphone passthrough button to controls toolbar (#620)
* feat(client): add microphone passthrough button to controls toolbar

Add mic toggle button to the bottom controls bar that enables users to
share their local microphone with the remote neko session via WebRTC.

The server already supports microphone capture (capture.microphone.enabled)
but the legacy client had no UI to trigger getUserMedia and send an audio
track to the peer connection.

Changes:
- base.ts: Add enableMicrophone/disableMicrophone methods that call
  getUserMedia and addTrack/removeTrack on the RTCPeerConnection.
  Mic is cleaned up automatically on disconnect.
- controls.vue: Add mic button (fa-microphone/fa-microphone-slash) between
  play/pause and volume controls with tooltip and error handling.
- en-us.ts: Add i18n strings for mic tooltips and error dialog.

* if the error is not io.EOF, log it. Otherwise, it's a normal closure of the track.

* tie microphone to active host and auto-disable on control loss

---------

Co-authored-by: h1n054ur <admin@haniumer.com>
Co-authored-by: Miroslav Šedivý <sedivy.miro@gmail.com>
2026-02-17 17:02:51 +01:00
..
api rename package to github name. 2025-03-26 23:51:19 +01:00
capture add hostname to broadcast variables. (#576) 2025-09-10 22:53:52 +02:00
config change heartbeat interval from 120 to 10 seconds. #585 2025-09-24 21:00:55 +02:00
desktop desktop: add clipboard command replacement. (#539) 2025-05-28 21:30:58 +02:00
http fix(server): include path prefix in legacy API calls (#615) (#618) 2026-01-24 10:43:28 +01:00
member rename package to github name. 2025-03-26 23:51:19 +01:00
plugins rename package to github name. 2025-03-26 23:51:19 +01:00
session rename package to github name. 2025-03-26 23:51:19 +01:00
webrtc feat(client): add microphone passthrough button to controls toolbar (#620) 2026-02-17 17:02:51 +01:00
websocket websocket: fix unwrap err. 2025-04-06 16:16:45 +02:00