mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
Mark the speaker detection check as fixme
Chromium's fake microphone never registers as a speaker at the SFU, and Firefox's steady tone does so in about two runs out of three, with or without the browser's audio processing. The test stays, out of the gate, until the dev SFU gets a lower speaker threshold or the harness a louder fake device. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
6bd6e3f953
commit
cad00aef08
@@ -90,16 +90,13 @@ test("muting the microphone and the camera is seen by the peer", async () => {
|
||||
});
|
||||
});
|
||||
|
||||
test("the peer's microphone is active while it sends sound, and not while muted", async ({
|
||||
browserName,
|
||||
}) => {
|
||||
// The SFU's speaker detection picks up Firefox's fake microphone, a steady
|
||||
// tone. Chromium's fake microphone never registers as a speaker there, so
|
||||
// the test has nothing to measure on it.
|
||||
test.skip(
|
||||
browserName === "chromium",
|
||||
"Chromium's fake microphone is silent to the SFU",
|
||||
);
|
||||
test("the peer's microphone is active while it sends sound, and not while muted", async () => {
|
||||
// Chromium's fake microphone never registers as a speaker at the SFU, and
|
||||
// Firefox's steady tone does so in about two runs out of three, with or
|
||||
// without the browser's audio processing. The pipeline is proven when it
|
||||
// passes; it needs a louder fake device or a lower SFU threshold to be
|
||||
// relied on.
|
||||
test.fixme(true, "the fake microphones do not reliably register at the SFU");
|
||||
const [page] = pages;
|
||||
const audio = remoteTile(1, 0).locator("audio");
|
||||
// The SFU only announces a change of speakers, so a tone that has been
|
||||
|
||||
Reference in New Issue
Block a user