Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。
feat(web): improve display audio capture (#118)
AAA5975dc9b1252
diff --git a/docs/adr/0008-window-scoped-audio-capture.md b/docs/adr/0008-window-scoped-audio-capture.mdindex a344e67c..f52f9d79 100644--- a/docs/adr/0008-window-scoped-audio-capture.md+++ b/docs/adr/0008-window-scoped-audio-capture.md@@ -24,16 +24,14 @@ Windows 11 desktop (build 22000 or newer) and is not a Windows 10 fallback.## Decision-1. The Web sender requests Chromium's best-effort window-audio hints,- `windowAudio: "window"` and `systemAudio: "exclude"`. The latter avoids- offering the whole-system source in Chromium's picker. Older browsers may- ignore these dictionary members. The UI labels a returned track as- **window requested, scope unconfirmed** and warns that system audio may- still be present. It never retries with a wider source after a capture- failure and never claims isolation from a track's presence alone.+1. The Web sender requests `windowAudio: "window"` for window surfaces and+ `systemAudio: "include"` for monitor surfaces. The browser picker and user+ consent decide whether audio is shared; older browsers may ignore either+ hint, and track presence alone does not identify its source.2. The default Web route remains unchanged in topology, codecs, and relay- behavior. No Web Audio mixer, SDP rewrite, or app-owned audio bitrate knob- is introduced by this ADR.+ behavior. Returned audio tracks use the standard `contentHint = "music"`;+ this does not force a codec, bitrate, channel count, or processing mode. No+ Web Audio mixer, SDP rewrite, or app-owned audio bitrate knob is introduced.3. The native sender has an explicit Windows 11 local window target. BrowserVP8/H.264 may use that target only for `window-process-audio`; the separate`native-window-h264` source uses the same bound HWND/PID/creation time fordiff --git a/docs/project-memory.md b/docs/project-memory.mdindex 9f8839b1..bcfbceb9 100644--- a/docs/project-memory.md+++ b/docs/project-memory.md@@ -30,7 +30,7 @@ Last updated: 2026-08-21- C+B quality reparenting is edge-local and cooldown-bound; no score, timer, or global parent penalty.- Flagship media is UDP; HTTPS/WSS stays TLS/TCP; the old release remains rollback-only.- Treat settings as ceilings and degradation as unclassified. Use correlated Host A+B/Viewer C and one-variable evidence; never force AV1, infer by UA, or create a composite score.-- Web cannot isolate process audio. ADR-0008 Win11 audio is opt-in/source-only with no system-mix fallback or exposed PID; one Viewer got 495 Opus packets. Evaluation packaging includes the helper, hashes, and linked licenses; release, game sync, other routes, and Win10 remain open.+- Web requests window audio and offers system audio for full displays; both are browser hints. Returned tracks use the `music` hint. Native Win11 process audio stays source-only; one Viewer got 495 Opus packets.- Viewer-local names and the opt-in Web participant roster remain control-plane-only. Web Host names are deployed in the current release and stay socket/localStorage-only; Native remains outside the capability boundary.- Do not add scene detection, dynamic-FPS control, or forced AV1 without negotiation, encode, game, CPU/GPU, and sender evidence.- ADR-0002 grant/public access, the v3 room-password migration, and Web Host display names are deployed. Names/presence remain session-only without account or roster tables.@@ -53,7 +53,7 @@ Last updated: 2026-08-21- Chrome 151 synthetic topology/quality runs kept fanout 2/1 and decoding; one relay close recovered in 5.32 seconds. Control evidence only.- Deployed Web source uses LiveKit 2.22.0's two-layer `q,h` layout. Local Chrome 151/LiveKit 1.13.5 kept one SFU/UDP root with growing inbound/decoded/rendered counters, clean leaves and no TURN. Production SFU media, zero-child BWE, and calibrated C+B loss remain open.- C+B uses three hard-bad pairs, one-use samples and guarded intent/cooldown. Deployed admission rescue moves the oldest childless zero-capacity Host leaf below an unassigned one-slot relay in one revision; no score/timer/global rebalance. Deployment passed, but no real room triggered it.-- Web Host name/presence and window-audio hint are deployed. Native accepts bounded peer-assisted direct children and fails unsupported SFU/selected ingress; it has no LiveKit/TURN media. Its WGC/MF H.264 direct-child smoke rendered 203 frames plus 500 Opus packets and matched helper PID/LUID `VideoEncode`; packaging is source-only, unreleased and undeployed. VP8 remains the Web/production default. See `docs/research/native-h264-opt-in-path.md`.+- Web names/window audio are deployed; current source adds full-display system audio and the music hint. Native WGC/MF remains source-only: 203 rendered frames, 500 Opus packets, and matched PID/LUID `VideoEncode`. VP8 remains the Web default.## Provisional Quality Targetsdiff --git a/docs/research/browser-screen-audio-quality.md b/docs/research/browser-screen-audio-quality.mdindex 91e70390..64332148 100644--- a/docs/research/browser-screen-audio-quality.md+++ b/docs/research/browser-screen-audio-quality.md@@ -1,8 +1,8 @@# Browser Screen-Audio Quality Controls-Accessed: 2026-08-19+Accessed: 2026-08-21-Status: retained no-go for user-facing browser audio quality controls.+Status: standard music hint accepted; user-facing codec controls remain no-go.## Scope And Decision@@ -14,13 +14,17 @@ requirement.The Web sender keeps the current minimal behavior:- request audio with `audio: true`;+- request window audio for a selected window and offer system audio for a full+ display;+- mark returned audio tracks with `contentHint = "music"`;- treat an audio track as optional and warn before publishing when none exists;- preserve returned audio through source changes, picture pause, P2P, relay, andconfigured SFU routes; and- expose no channel-count, sample-rate, Opus bitrate, stereo, DTX, or FECquality control.-No codec-quality control is justified yet. In particular, Screener will not add+The music hint is not a codec or quality mode. No codec-quality control is+justified yet. In particular, Screener will not addapplication-owned SDP munging or a control whose value cannot be separated intorequested, applied, negotiated, and observed states using standard APIs. Thedeployed reports below do justify an explicit source-scope acceptance gate and@@ -42,12 +46,18 @@ and sent back. It is not ordinary microphone acoustic echo. AEC, noisesuppression, or post-mix Web Audio cannot recover the originating process andmust not be presented as a fix.+On 2026-08-21 the production picker was user-verified to keep tab and window+audio scoped as intended in that browser environment. Current source requests+the source-appropriate window and full-display audio choices. This is one+environment observation, not a cross-browser source guarantee.+## Standard API Boundary| Concern | Standard request or control | Honest readback | What it does not prove | Current product action || --- | --- | --- | --- | --- || Audio presence | `getDisplayMedia({ audio: true, video: ... })` expresses interest | `stream.getAudioTracks().length` proves only whether a track was returned | The browser may still return video only; a track does not identify system, window, tab, or selected-game audio | Keep the existing presence check and visible no-audio warning |-| Audio source choice | `systemAudio`, `windowAudio`, and `audioSelection` are picker hints that a user agent may ignore | There is no standard audio-source category readback corresponding to those hints | The selected audio scope, per-application isolation, or cross-browser availability | Do not present these hints as quality or source guarantees |+| Audio source choice | `windowAudio: "window"` asks for window audio and `systemAudio: "include"` offers system audio for monitor surfaces; a user agent may ignore either hint | There is no standard audio-source category readback corresponding to those hints | The selected audio scope, per-application isolation, or cross-browser availability | Let the picker expose the source-appropriate option without adding an inferred source label |+| Content intent | `track.contentHint = "music"` asks the media pipeline to treat the returned audio as music | The assigned hint can be read back | A codec, bitrate, stereo mode, or guarantee that browser processing changed | Apply the hint without presenting it as a quality preset || Voice-app exclusion | `restrictOwnAudio` concerns audio produced by the document that invoked capture; `suppressLocalAudioPlayback` concerns local playback of a captured browser surface | The app may observe whether a returned track exists, not which OS processes it contains | Excluding Discord, KOOK, WeChat, notifications, or any other independent process from system audio | Web keeps video-only available and warns that system audio may include calls/notifications; it does not claim isolation || Capture channels | The Screen Capture specification does not list generic `channelCount` as applicable to display audio | `track.getSettings().channelCount` may describe the returned track when the browser supplies it | That the app controlled the value, or that the RTP encoder sends stereo | Observe only in a future diagnostic; absent means unknown || Capture sample rate | The Screen Capture specification does not list generic `sampleRate` as applicable to display audio | `track.getSettings().sampleRate` may be present in an implementation | The Opus mode, RTP clock semantics, receiver output rate, or end-to-end fidelity | Observe only in a future diagnostic; absent means unknown |@@ -79,8 +89,10 @@ MDN browser-compatibility data on the access date reports:Windows and ChromeOS but tab-only audio on Linux and macOS;- no display-audio capture support in Firefox or Safari;- `systemAudio` in desktop Chromium from Chrome 105, but not Firefox or Safari;-- `windowAudio` only partially implemented in Chrome 141: `"exclude"` and- `"system"` are supported, while `"window"` is not; and+- `windowAudio` is listed as partial in Chrome 141: `"exclude"` and `"system"`+ are documented while `"window"` is not yet represented as supported in BCD;+ current Chrome deployments may differ, so runtime/user evidence stays local;+ and- `MediaTrackSettings.channelCount` as non-Baseline because it is missing inwidely used browsers.diff --git a/docs/status.md b/docs/status.mdindex 8065335b..2499c88d 100644--- a/docs/status.md+++ b/docs/status.md@@ -23,7 +23,7 @@ Flagship; parallel; min run/smoke/rollback; benchmark later. Active UI/config/lo- After an answer, a generation-bound 15s initial-connect deadline enters ICE restart; success/replacement/disposal cancels it. It is deployed but not mobile-verified.- Production includes LiveKit's two-layer `q,h` sender guard; its functional media proof remains local, not production.- Room `1` C+B reparenting remains uncalibrated. Deployed admission rescue promotes an unassigned one-slot relay over the oldest childless zero-capacity Host leaf, with no scores or periodic optimization.-- Web roster includes Host self-name and requests window-scoped display audio where supported; both are hints, and Native wire/media is unchanged.+- Web roster has Host names. Source requests window/system audio by surface and uses the music hint; the full-display change awaits deploy.## Verified Evidencediff --git "a/docs/\346\226\271\346\241\210\350\256\276\350\256\241.md" "b/docs/\346\226\271\346\241\210\350\256\276\350\256\241.md"index 817d98ac..baf162cd 100644--- "a/docs/\346\226\271\346\241\210\350\256\276\350\256\241.md"+++ "b/docs/\346\226\271\346\241\210\350\256\276\350\256\241.md"@@ -152,13 +152,13 @@ Zod 在服务边界拒绝未知类型、超长字符串、非法 SDP/candidate| 1080p30 | 1920x1080、30 fps | 5 Mbps/peer || 720p30 | 1280x720、30 fps | 3 Mbps/peer |-浏览器可返回更低设置,界面以 `track.getSettings()` 显示实际捕获结果。Current production 保留有界手动质量控制:视频 track 使用 `contentHint = "motion"`,默认采用清晰优先的 `degradationPreference = "maintain-resolution"`,并允许显式选择 balanced 或 fluid。折叠高级区将设置严格限制为 720p/1080p/1440p、15 至 60 整数 FPS、2 至 12 Mbps,以及 `maintain-resolution`、`balanced`、`maintain-framerate` 三种偏好。它们只是 ceiling 和浏览器偏好,不保证实际分辨率、帧率或码率。+浏览器可返回更低设置,界面以 `track.getSettings()` 显示实际捕获结果。Current production 保留有界手动质量控制:视频 track 使用 `contentHint = "motion"`,返回的音频 track 使用 `contentHint = "music"`;二者都是内容提示而不是 codec 或质量档位。视频默认采用清晰优先的 `degradationPreference = "maintain-resolution"`,并允许显式选择 balanced 或 fluid。折叠高级区将设置严格限制为 720p/1080p/1440p、15 至 60 整数 FPS、2 至 12 Mbps,以及 `maintain-resolution`、`balanced`、`maintain-framerate` 三种偏好。它们只是 ceiling 和浏览器偏好,不保证实际分辨率、帧率或码率。每次 `setParameters()` 都必须从当次 `getParameters()` 派生更新,然后读回 requested/applied `maxBitrate`、`maxFramerate`、`scaleResolutionDownBy` 和 degradation preference。拒绝或浏览器改写必须进入可见状态,不能只写 `console.warn`。线上已是 clarity-first bounded controls,但用户报告的严重降级尚未完成受控分类,ADR-0007 双层发布与拓扑分类也尚未实现;不得据此宣称画质提升。下一次真实质量验收仍需在同一高动态场景采样 1、2、3 名观看者的 direct-selected peer、relay-selected peer 与 SFU/UDP 路径;不得只提高 ceiling、强制 codec 或修改 SDP。PoC 不强制 codec,也不做 SDP munging。先通过 stats 记录实际协商 codec、`encoderImplementation` 和 `powerEfficientEncoder`,再依据目标机器测量决定是否调整 H.264、VP8、VP9 或 AV1 优先级。`getCapabilities()` 只证明可协商,Media Capabilities 的 supported/smooth/power-efficient 只提供候选证据;最终必须同时检查实际 outbound codec、区间 encode time、游戏 FPS、CPU/GPU encode 引擎和 sender 数量。AV1 压缩效率不能证明目标机器具有 WebRTC 硬件编码,强制后可能落入更重的软件路径。-`audio: true` 只是请求。若 `getAudioTracks()` 为空,分享者界面必须显示“当前来源没有可共享音频”。`systemAudio`、`windowAudio` 和 `audioSelection` 只影响选源器偏好,浏览器可以忽略且没有对应的标准音频来源类型读回,因此不能显示为系统、窗口或所选游戏音频保证。纯 Web 首版接受浏览器实际提供的标签页或系统音频,不承诺仅捕获某个游戏进程;系统音频可能把语音软件中观众自己的声音再次采入,这属于源内容泄漏而非 Host 页面回放,AEC 或 Web Audio 无法从已混合 track 恢复进程身份。Web 端必须保留 video-only 选择并明确风险,不能声称已隔离语音。+`audio: true` 只是请求。若 `getAudioTracks()` 为空,分享者界面必须显示“当前来源没有可共享音频”。Web 端同时传入 `windowAudio: "window"` 与 `systemAudio: "include"`:窗口选项请求该窗口/应用音频,整个屏幕选项允许用户勾选系统音频;标签页使用浏览器自身的标签页音频选择。浏览器可以忽略这些 picker hints,且没有对应的标准来源类型读回,因此 UI 不额外推断或标注来源。系统音频由用户显式选择,可能包含语音或通知;video-only 始终可用。当前 Windows Native sender 用本地 opaque ID 保存所选窗口的 HWND、PID 与进程创建时间;helper 在使用前重新验证三者绑定,并以 WASAPI process loopback 的 include-target-process-tree 捕获游戏及其子进程。目标进程无渲染流、退出或捕获失败时显示无声/未知,不回退为整机音频,也不上传 PID、路径、窗口标题、设备标识或原始音频。该路径只支持 Windows 11;Windows 10 game-only 音频保持明确不支持。diff --git "a/docs/\351\234\200\346\261\202\347\220\206\350\247\243.md" "b/docs/\351\234\200\346\261\202\347\220\206\350\247\243.md"index 77bdb8d3..41810504 100644--- "a/docs/\351\234\200\346\261\202\347\220\206\350\247\243.md"+++ "b/docs/\351\234\200\346\261\202\347\220\206\350\247\243.md"@@ -157,6 +157,8 @@- Given 部署版出现游戏低帧、持续 `bandwidth` 限制或只有 Host 刷新才能恢复,When 归因该报告,Then 用同一机器、浏览器、驱动、场景和单个有线 direct Viewer 对照精确 release `769de201f7cc` 与最新 `main`,依次比较受影响状态、只重建该 `HostPeer`、只替换 capture、完整 Host 重建和本地预览开/关;记录实际 codec/encoder、A+B/C、游戏 FPS、CPU 与 GPU encode 使用,不能把部署版报告直接归为最新代码缺陷。- Given 分享过程中切换 Wi-Fi/有线网络,When ICE 连接失败,Then 客户端触发 ICE restart,并在成功或超时后给出明确状态。- Given 浏览器未返回系统音轨,When 分享开始,Then 分享者在启播前看到“当前来源没有可共享音频”的提示。+- Given 分享者选择标签页或窗口,When 浏览器支持对应音频捕获,Then picker 提供该来源音频而不扩大为系统混音。Given 分享者选择整个屏幕,When 浏览器支持系统音频,Then picker 提供由用户决定的系统音频开关。应用同时请求 `windowAudio: "window"` 和 `systemAudio: "include"`,不根据 track 存在性伪造来源标签。+- Given 浏览器返回分享音轨,When 开始发布,Then 应用设置标准 `contentHint = "music"`;该提示不宣称或强制 Opus、码率、声道、采样率、FEC、DTX 或立体声。- Given 浏览器返回屏幕音轨,When 产品展示音频状态或未来连接详情,Then 只能把存在性、浏览器实际返回的 track settings、实际协商 codec/fmtp 和实际流量分别标为捕获、协商或观测事实;字段缺失必须显示为未知,且不得从 Opus 的 `48000/2` RTP 声明推断源采样率或实际 stereo。- Given Web 或后续 native sender 分享电影/视频音频,When 进行产品验收,Then 必须用独立 A/B/C 证据关联 capture audio track/settings、实际 negotiated codec/fmtp、outbound/inbound 实际码率、loss、jitter、concealment、jitter-buffer 与 A/V sync;native sender 必须通过该音质和同步矩阵,且不得把 audio `maxBitrate` ceiling 当作提质证明。- Given 分享者同时运行语音软件,When 选择仅分享游戏声音,Then supported Windows 11 native sender 只保留目标游戏及其子进程的渲染音频,观众、通知和其他应用声音不得进入分享;浏览器 system audio 无法满足时必须允许 video-only 或明确告知其可能包含语音/通知,不能用 AEC、降噪或来源标签伪称已隔离。@@ -169,7 +171,6 @@## 待确认事项- 哪些分享端硬件、质量档位和网络条件能稳定承载默认 1:8 工作负载,以及实测后是否需要降低默认值。-- 首版是否必须只捕获所选游戏的声音,还是允许整机系统音频。- 项目许可证及是否计划闭源商用。- 首批用户主要位于香港、内地还是跨地区;该信息决定 TURN 部署位置和测试矩阵。- iOS Safari 与 Android Chrome 的最低版本及是否要求平板适配。diff --git a/src/client/media/audio-capture.ts b/src/client/media/audio-capture.tsindex bff5c477..67672254 100644--- a/src/client/media/audio-capture.ts+++ b/src/client/media/audio-capture.ts@@ -1,44 +1,15 @@-/**- * Best-effort display-audio hints for Chromium. The Screen Capture API does- * not expose a portable readback for the selected audio source, so callers- * must keep the requested scope separate from the observed track presence.- */--export type BrowserAudioScope = "window-requested-unconfirmed" | "none";--export interface BrowserAudioCaptureStatus {- hasTrack: boolean;- scope: BrowserAudioScope;-}-type DisplayMediaAudioHints = DisplayMediaStreamOptions & {systemAudio?: "include" | "exclude";windowAudio?: "exclude" | "window" | "system";};-/**- * Ask Chromium to prefer audio from the selected display surface while- * excluding the whole-system source. Unknown dictionary members are ignored- * by older browsers; no fallback is added because silently widening to- * whole-system audio would leak sound.- */export function displayMediaOptions(video: MediaTrackConstraints,): DisplayMediaStreamOptions {return {video,audio: true,- systemAudio: "exclude",+ systemAudio: "include",windowAudio: "window",} as DisplayMediaAudioHints;}--export function browserAudioCaptureStatus(- stream: MediaStream,-): BrowserAudioCaptureStatus {- const hasTrack = stream.getAudioTracks().length > 0;- return {- hasTrack,- scope: hasTrack ? "window-requested-unconfirmed" : "none",- };-}diff --git a/src/client/media/quality.ts b/src/client/media/quality.tsindex 5ffe66f0..4ce21765 100644--- a/src/client/media/quality.ts+++ b/src/client/media/quality.ts@@ -138,6 +138,9 @@ export async function captureDisplay(throw new Error("浏览器没有返回可分享的视频轨道");}videoTrack.contentHint = "motion";+ for (const audioTrack of stream.getAudioTracks()) {+ audioTrack.contentHint = "music";+ }return stream;}diff --git a/src/client/pages/HostPage.tsx b/src/client/pages/HostPage.tsxindex 26f8fb65..5825f191 100644--- a/src/client/pages/HostPage.tsx+++ b/src/client/pages/HostPage.tsx@@ -63,10 +63,6 @@ import {} from "../lib/session";import { SignalingClient } from "../lib/signaling";import { labelViewerPresence } from "../lib/viewer-presence";-import {- browserAudioCaptureStatus,- type BrowserAudioCaptureStatus,-} from "../media/audio-capture";import {applyCaptureProfile,captureDisplay,@@ -113,20 +109,17 @@ interface CaptureDetails {resolution: string;frameRate: number | null;hasAudio: boolean;- audio: BrowserAudioCaptureStatus;}function captureDetails(stream: MediaStream): CaptureDetails {const settings = stream.getVideoTracks()[0]?.getSettings();- const audio = browserAudioCaptureStatus(stream);return {resolution:settings?.width && settings.height? `${settings.width}x${settings.height}`: "未知",frameRate: settings?.frameRate ?? null,- hasAudio: audio.hasTrack,- audio,+ hasAudio: stream.getAudioTracks().length > 0,};}@@ -1738,12 +1731,6 @@ export function HostPage({ onAuthorizationRequired }: HostPageProps = {}) {{!details?.hasAudio && stream && (<WarningBanner>当前来源没有可共享音频</WarningBanner>)}- {details?.audio.scope === "window-requested-unconfirmed" && stream && (- <WarningBanner>- 已请求所选窗口音频,但浏览器没有提供来源范围确认;当前音频仍可能包含系统混音。- 需要严格窗口独占时请使用 Windows 原生发送器。- </WarningBanner>- )}{qualityLimitation && (<WarningBanner>{qualityLimitation}</WarningBanner>)}diff --git a/tests/audio-capture.test.ts b/tests/audio-capture.test.tsindex cb01ceb6..c5cf1afc 100644--- a/tests/audio-capture.test.ts+++ b/tests/audio-capture.test.ts@@ -1,40 +1,15 @@import { describe, expect, it } from "vitest";-import {- browserAudioCaptureStatus,- displayMediaOptions,-} from "../src/client/media/audio-capture.ts";+import { displayMediaOptions } from "../src/client/media/audio-capture.ts";describe("browser display audio capture", () => {- it("requests the selected window audio without claiming source readback", () => {+ it("offers source-appropriate audio for windows and full displays", () => {const options = displayMediaOptions({ width: { ideal: 1280 } });expect(options).toMatchObject({audio: true,- systemAudio: "exclude",+ systemAudio: "include",windowAudio: "window",});});-- it("reports an audio track while keeping its scope unconfirmed", () => {- const stream = {- getAudioTracks: () => [{}],- } as unknown as MediaStream;-- expect(browserAudioCaptureStatus(stream)).toEqual({- hasTrack: true,- scope: "window-requested-unconfirmed",- });- });-- it("reports a missing audio track explicitly", () => {- const stream = {- getAudioTracks: () => [],- } as unknown as MediaStream;-- expect(browserAudioCaptureStatus(stream)).toEqual({- hasTrack: false,- scope: "none",- });- });});diff --git a/tests/quality.test.ts b/tests/quality.test.tsindex 47ae5dee..e69fb967 100644--- a/tests/quality.test.ts+++ b/tests/quality.test.ts@@ -19,6 +19,7 @@ function createVideoStream() {getSettings: () => ({ width: 1920, height: 1080, frameRate: 60 }),} as unknown as MediaStreamTrack;const audioTrack = {+ contentHint: "",enabled: true,} as unknown as MediaStreamTrack;const stream = {@@ -35,7 +36,7 @@ afterEach(() => {describe("realtime quality controls", () => {it("bounds initial capture to the selected profile", async () => {- const { stream, videoTrack } = createVideoStream();+ const { stream, videoTrack, audioTrack } = createVideoStream();const getDisplayMedia = vi.fn(async () => stream);vi.stubGlobal("navigator", { mediaDevices: { getDisplayMedia } });@@ -50,10 +51,11 @@ describe("realtime quality controls", () => {frameRate: { ideal: 30, max: 30 },},audio: true,- systemAudio: "exclude",+ systemAudio: "include",windowAudio: "window",});expect(videoTrack.contentHint).toBe("motion");+ expect(audioTrack.contentHint).toBe("music");});it("changes custom capture ceilings without selecting the source again", async () => {