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

+17
View File
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
export interface HardwareEncoderCapability {
available: boolean;
backend: 'nvenc' | 'videotoolbox' | 'none';
compiled: boolean;
runtime: boolean;
codecs: Array<string>;
zeroCopy: boolean;
nativeInputs: Array<'dmabuf' | 'd3d11-texture' | string>;
reason?: string;
detail?: string;
}
export declare function isSupported(): boolean;
export declare function getHardwareEncoderCapability(): HardwareEncoderCapability;
export declare function getHardwareEncoderCapabilities(): HardwareEncoderCapability;