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
@@ -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;
|
||||
Reference in new issue
Block a user