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,
|
||||
settings,
|
||||
setSettings
|
||||
|
|
|
@ -12,8 +12,8 @@ if (isLinux) {
|
|||
|
||||
var id: string|undefined;
|
||||
try {
|
||||
let myDiscordAudioSink = await getAudioDevice('virtmic');
|
||||
id = myDiscordAudioSink?.deviceId;
|
||||
let vesktopAudioSink = await getAudioDevice('vesktop-virtmic');
|
||||
id = vesktopAudioSink?.deviceId;
|
||||
}
|
||||
catch (error) {
|
||||
id = 'error';
|
||||
|
|
Reference in a new issue