From 2ae8bf2d0152c4d82e31e27894d406a268cd39b4 Mon Sep 17 00:00:00 2001 From: DIAMOND <276397553@qq.com> Date: Thu, 22 Feb 2024 09:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=86=E9=A2=91=E9=87=87?= =?UTF-8?q?=E6=A0=B7=EF=BC=8C=E8=BD=AC=E6=8D=A2mp2=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/electron.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electron/electron.js b/electron/electron.js index 7cf00e0..091854e 100644 --- a/electron/electron.js +++ b/electron/electron.js @@ -59,6 +59,9 @@ ipcMain.on('openRtsp', (event, rtsp) => { ffmpegOptions: { '-stats': '', '-r': 30, + // '-b:a': '128k', + '-ar': '44100', + '-codec:a': 'mp2', }, }).on('exitWithError', () => { stream.stop();