12 lines
642 B
TypeScript
12 lines
642 B
TypeScript
--- electron/spec/api-media-handler.spec.ts.orig 2026-09-30 08:47:42 UTC
|
|
+++ electron/spec/api-media-handler.spec.ts
|
|
@@ -64,7 +64,7 @@ describe('setDisplayMediaRequestHandler', () => {
|
|
|
|
// Process-level loopback audio capture (restrictOwnAudio / loopbackWithoutChrome)
|
|
// is not supported on Linux audio backends (PulseAudio / PipeWire).
|
|
- ifit(process.platform !== 'linux')(
|
|
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')(
|
|
'honors the restrictOwnAudio constraint when granted loopback audio',
|
|
async function () {
|
|
if ((await desktopCapturer.getSources({ types: ['screen'] })).length === 0) {
|