mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
refactor(desktop): replace the native voice engine with a standalone hardware encoder (#1677)
This commit is contained in:
1 parent
98c40c6979
commit
ccdd85b099
893 files changed
+620
-371790
No files matched your search
@@ -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',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user