mirror of
https://github.com/DevL0rd/SkyNX
synced 2024-11-25 20:40:19 +00:00
using built in audio driver now
This commit is contained in:
parent
133eb8829c
commit
7639223640
3 changed files with 2 additions and 2 deletions
BIN
SkyNX-Streamer/NxStreamingService/lib/outTest.mp3
Normal file
BIN
SkyNX-Streamer/NxStreamingService/lib/outTest.mp3
Normal file
Binary file not shown.
|
@ -47,7 +47,7 @@ function plugControllerIn() {
|
|||
function startAudioProcess() {
|
||||
ffmpegAudioProcess = spawn(
|
||||
"./lib/ffmpeg.exe",
|
||||
["-y", "-f", "avfoundation", "-i", "audio=virtual-audio-capturer", "-af", "equalizer=f=100:t=h:width=200:g=-64", "-f", "s16le", "-ar", "16000", "-ac", "2", "-c:a", "pcm_s16le", "udp://" + ip + ":2224?pkt_size=640"],
|
||||
["-y", "-f", "dshow", "-i", "audio=virtual-audio-capturer", "-af", "equalizer=f=100:t=h:width=200:g=-64", "-f", "s16le", "-ar", "16000", "-ac", "2", "-c:a", "pcm_s16le", "udp://" + ip + ":2224?pkt_size=640"],
|
||||
{ detached: false }
|
||||
);
|
||||
ffmpegAudioProcess.stdout.on("data", data => {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@echo off
|
||||
cd lib
|
||||
ffmpeg.exe -y -f dshow -i audio=virtual-audio-capturer -af equalizer=f=100:t=h:width=200:g=-64 -f s16le -ar 16000 -ac 2 -c:a pcm_s16le outTest.mp3
|
||||
ffmpeg.exe -y -f dshow -i audio=virtual-audio-capturer -af equalizer=f=100:t=h:width=200:g=-64 -f s16le -ar 16000 -ac 2 -c:a pcm_s16le udp://172.16.0.12:2224?pkt_size=640
|
||||
pause
|
Loading…
Reference in a new issue