mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Add Windows audio screensharing
This commit is contained in:
		
							parent
							
								
									93e969a1ad
								
							
						
					
					
						commit
						bed9e02059
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -28,7 +28,11 @@ function registerCustomHandler(): void { | |||
|             //console.log(id);
 | ||||
|             capturerWindow.close(); | ||||
|             let result = {id, name, width: 9999, height: 9999}; | ||||
|             if (process.platform === "win32") { | ||||
|                 callback({video: result, audio: "loopback"}); | ||||
|             } else { | ||||
|                 callback({video: result}); | ||||
|             } | ||||
|         }); | ||||
|         capturerWindow.loadURL(`file://${__dirname}/picker.html`); | ||||
|         capturerWindow.webContents.send("getSources", sources); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue