captureSystemAudio
Screenshare-with-audio-on-Discord-with-Linux
captureSystemAudio | Screenshare-with-audio-on-Discord-with-Linux | |
---|---|---|
46 | 32 | |
39 | 654 | |
- | - | |
2.8 | 4.6 | |
about 2 months ago | 26 days ago | |
JavaScript | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
captureSystemAudio
-
JavaScript Standard Input/Output: Unspecified
Synchronous. Though non-blocking when we read the message from the browser, execute the command, then stream data output from the local application to the browser piped from QuickJS std.popen(), capture_system_audio.js
-
IAMA senior javascript dev, ask me anything
I've already achieved the requirement multiple ways, already; from using Native Messaging https://github.com/guest271314/native-messaging-espeak-ng, to using GNU Core Utilities tail, to Deno.watchFs() https://github.com/guest271314/fs, et al., see captureSystemAudio. The one approach I have not yet achieved is compiling to Emscripten - with SSML support.
-
Need help with ytdl-core and ExpressJS
Sure, see https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/background.js, in pertinent part
-
Kindly review this C QuickJS HTTP streaming Web server module
This is my second time writing C source code capture_system_audio.c. I got a lot of help doing that, too . I basically implemented the same Native Messaging host algorithm in C, C++, Python, WASI/WebAssembly, and JavaScript (Node.js, QuickJS) which is the programming language I write code most using.
-
Termino.js: Create command based apps on any website - great for games, chat-bots, animations and real world apps!
I just fetch the nightly node executable, get rid of everything else in the archive, use .mjs extension for import to work without package.json, then I can connect to the host https://github.com/guest271314/native-messaging-nodejs, and start subprocesses, e.g., raw PCM streams, where stdout is streamed to the client (browser), e.g, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio_node.js.
-
How to serve exactly 1 HTML file and 1 JavaScript file, then exit the program?
Technically I can just serve the raw data as long as the server is capable of opening creating sub-processes, e.g., using EventSource https://plnkr.co/edit/qX5tepJ38BuDOSZj?preview, in which case I would just need to convert this https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.c to accept GET request, read the URL, and send the named event stream to the client.
-
[AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
Chromium and Chrome refuses to capture monitor devices on Linux. Read this https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux README and the README at https://github.com/guest271314/captureSystemAudio very carefully. At best you can capture tab audio, not whatever is output to speakears and headphones, in spite of the systemAudio constraints, which is poorly named, and actually misleading.
-
[AskJS] Do specification authors and implementers listen to developers in the field?
How is capturing speechSynthesis.speak() a security vector https://github.com/guest271314/captureSystemAudio?
-
What chrome extensions are you using in 2023?
Capture audio output to speakers or headphones to MP3 or Opus in WebM https://github.com/guest271314/captureSystemAudio/tree/master/native_messaging/capture_system_audio
-
You can learn React and Python in browser without dev environment.
An example of using Native Messaging to capture "What-U-Hear", sound output to speakers and headphone, launching native GUI's https://github.com/guest271314/captureSystemAudio/tree/master/native_messaging/capture_system_audio; an adapter for espeak-ng so we can capture the output of speech synthesis engine and stream output to the browser https://github.com/guest271314/native-messaging-espeak-ng.
Screenshare-with-audio-on-Discord-with-Linux
-
Can this device make a phone call?
We can create virtual microphones, cameras, etc., e.g., and capture those devices using Web API's; see https://github.com/guest271314/SpeechSynthesisRecorder/issues/17, https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux. See also --use-fake-device-for-media-stream, --use-file-for-fake-video-capture flags on Chromium-based browsers
- [Linux_Gaming] PSA : Le partage d’écran Discord avec du son est possible sous Linux
-
[AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
Chromium and Chrome refuses to capture monitor devices on Linux. Read this https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux README and the README at https://github.com/guest271314/captureSystemAudio very carefully. At best you can capture tab audio, not whatever is output to speakears and headphones, in spite of the systemAudio constraints, which is poorly named, and actually misleading.
-
What are some things Linux still struggles with, that an average Windows user would likely take issue with?
Screen sharing with audio in Discord works fine.
-
How to Record Audio from a Web Browser
If you are actually trying to record output to speakers and headphones, not just microphone input see https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux, https://github.com/guest271314/captureSystemAudio.
-
Krisp is coming to Discord on Linux!
This github project does a great job of explaining the problems with discord screensharing on linux (as well as a solution). It also mentions to a standalone project that functions as a temporary replacement for discord screen sharing if you install the dependencies (e.g. Pipewire).
- Possible Discord Screenshare Audio Workaround?
- Why isn’t it possible to use Discord screensharing with audio without some hacky workaround
-
Android update for discord feels weird, seems unnecessary
Also I see all this work put in to seemingly unify the development processes between two different operating systems that somewhat undoes features that android already had, so i have to assume that this was done so android and ios could be updated with the same features simultaneously, but we already see what that looks like - a bunch of bugs on different android hardware and versions. And in all this time that this process to unify the development of the mobile app was worked on, there's a feature in the voice & video recommendations on the discord feedback website that has by far surpassed every other request in that section as something the community actually wants, a feature that has gotten daily comments for over 2 years, which is to fix the sound when sharing an application in linux - a process with a pretty thoroughly documented solution here
- What determines which programs Guilded can stream?
What are some alternatives?
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
Soundux - 🔊 A cross-platform soundboard
proposal-do-expressions - Proposal for `do` expressions
Element - A glossy Matrix collaboration client for the web.
comet - Browser extension to replace Youtube comments with Reddit comments or view the Reddit comments of any webpage.
owncast - Take control over your live stream video by running it yourself. Streaming + chat out of the box.
native-messaging-bash - Bash Native Messaging host.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
webextensions-examples - Example Firefox add-ons created using the WebExtensions API
obsninja - VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC.
GoogleNetworkSpeechSynthesis - Google's Network Speech Synthesis: Bring your own Google API key and proxy
obs-studio - OBS Studio - Free and open source software for live streaming and screen recording