refactor(desktop): replace the native voice engine with a standalone hardware encoder (#1677)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-16 19:24:31 +02:00
1 parent 98c40c6979
commit ccdd85b099
893 files changed
+620 -371790

No files matched your search

+5 -5
View File
@@ -29,8 +29,8 @@ const electronExternals = [
'electron-log',
'update-electron-app',
'velopack',
'@fluxer/hardware-encoder',
'@fluxer/webauthn',
'@fluxer/webrtc-sender',
'hunspell-asm',
];
const pathAliasPlugin = {
@@ -238,8 +238,8 @@ function expectedNativeRuntimeArtifactsForArch(platform, arch) {
runtimeFiles: ['index.js', 'loader-diagnostics.cjs', 'pure.cjs'],
});
artifacts.push({
label: '@fluxer/webrtc-sender',
relativePath: `webrtc-sender.${tag}.node`,
label: '@fluxer/hardware-encoder',
relativePath: `hardware-encoder.${tag}.node`,
runtimeFiles: ['index.js'],
});
if (platform === 'darwin') {
@@ -419,8 +419,8 @@ function buildNativeAddons() {
jsEntry: 'index.js',
});
buildNativeAddon({
label: '@fluxer/webrtc-sender',
dirName: 'webrtc-sender',
label: '@fluxer/hardware-encoder',
dirName: 'hardware-encoder',
commands: [['pnpm', 'build']],
jsEntry: 'index.js',
});