mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
fix(desktop): capture screen share audio from chosen devices (#3456)
This commit is contained in:
1 parent
123c4d5bbf
commit
97b2ac91ca
56 files changed
+2338
-291
No files matched your search
@@ -187,6 +187,7 @@ export interface NativeAudioAvailability {
|
||||
processInclude?: boolean;
|
||||
processExclude?: boolean;
|
||||
sessionMixer?: boolean;
|
||||
endpointSelect?: boolean;
|
||||
systemLoopbackMode?: 'process-exclude' | 'session-mixer' | 'unavailable';
|
||||
};
|
||||
reason?:
|
||||
@@ -213,6 +214,7 @@ export interface NativeAudioStartOptions {
|
||||
macBackend?: 'sck' | 'coreaudio' | 'auto';
|
||||
macCaptureScope?: 'process' | 'system';
|
||||
winCaptureScope?: 'process' | 'system' | 'session-mixer';
|
||||
winEndpoints?: Array<string>;
|
||||
linuxRule?: VirtmicLinkOptions & {
|
||||
include?: Array<VirtmicNode>;
|
||||
exclude?: Array<VirtmicNode>;
|
||||
@@ -221,6 +223,21 @@ export interface NativeAudioStartOptions {
|
||||
};
|
||||
}
|
||||
|
||||
export interface NativeAudioPlaybackDeviceSession {
|
||||
pid: number;
|
||||
rootPid: number;
|
||||
exe: string;
|
||||
state: 'active' | 'inactive';
|
||||
excluded: boolean;
|
||||
}
|
||||
|
||||
export interface NativeAudioPlaybackDevice {
|
||||
id: string;
|
||||
name: string;
|
||||
isDefault: boolean;
|
||||
sessions: Array<NativeAudioPlaybackDeviceSession>;
|
||||
}
|
||||
|
||||
export interface NativeAudioStartResult {
|
||||
captureId: string;
|
||||
sampleRate: number;
|
||||
|
||||
Reference in new issue
Block a user