@rmsstudios/rmic
v6.1.1
Published
linux audio screenshare for discord (or any electron app) via pipewire
Maintainers
Readme
[!WARNING]
This project is not intended for standalone usage. You need a modified discord client that makes use of this.
📖 Usage
Rmic can be used as node-module or as a local rest-server. The node-module is mainly intended for internal usage by RMSTop. For a usage example, see the following RMSTop source files:
- src/main/rmic.ts
- src/renderer/patches/screenShareFixes.ts
- src/renderer/components/ScreenSharePicker.tsx: 1, 2, 3
The Rest-Server exposes three simple endpoints
(POST)
/listList all available applications to share.
You can optionally define a JSON-Body containing all the props the listed nodes should have (i.e.["node.name"]).(POST)
/link(GET)
/unlinkUnlinks the currently linked application
🏗️ Compiling
- Rest-Server
git clone https://github.com/RMS-Studios/Rmic && cd Rmic
cmake -B build && cmake --build build- Node-Addon
git clone https://github.com/RMS-Studios/Rmic && cd Rmic
pnpm install🐛 Debugging
When reporting an issue please make sure to set the environment variable RMIC_ENABLE_LOG.
If said variable is set Rmic will output a lot of useful information to stdout and a log-file which can be found in ~/.local/state/rmic/rmic.log.
It is highly recommended to include this log file in your issue report otherwise we may not be able to help you!
