set up for working with virtmic module
This commit is contained in:
parent
0f065a715e
commit
63e9023a4f
3 changed files with 3 additions and 6 deletions
|
@ -1,3 +0,0 @@
|
||||||
export function createVirtmic () {
|
|
||||||
|
|
||||||
};
|
|
|
@ -109,7 +109,7 @@ function ScreenPicker({ screens, chooseScreen }: { screens: Source[]; chooseScre
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function StreamSettings({
|
export function StreamSettings({
|
||||||
source,
|
source,
|
||||||
settings,
|
settings,
|
||||||
setSettings
|
setSettings
|
||||||
|
|
|
@ -12,8 +12,8 @@ if (isLinux) {
|
||||||
|
|
||||||
var id: string|undefined;
|
var id: string|undefined;
|
||||||
try {
|
try {
|
||||||
let myDiscordAudioSink = await getAudioDevice('virtmic');
|
let vesktopAudioSink = await getAudioDevice('vesktop-virtmic');
|
||||||
id = myDiscordAudioSink?.deviceId;
|
id = vesktopAudioSink?.deviceId;
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
id = 'error';
|
id = 'error';
|
||||||
|
|
Reference in a new issue