Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
test(codec-selection): skip AV1 test on Firefox 156
Jaya Allamsetty852b61cc040c
diff --git a/tests/specs/media/codecSelection.spec.ts b/tests/specs/media/codecSelection.spec.tsindex ad5fa56c45..5394c5c1ce 100644--- a/tests/specs/media/codecSelection.spec.ts+++ b/tests/specs/media/codecSelection.spec.ts@@ -46,7 +46,7 @@ describe('Codec selection', () => {]);});- it('asymmetric codecs with AV1', async () => {+ it('asymmetric codecs with AV1', async function() {await ensureThreeParticipants({configOverwrite: {videoQuality: {@@ -56,11 +56,18 @@ describe('Codec selection', () => {});const { p1, p2, p3 } = ctx;+ const majorVersion = parseInt(p1.driver.capabilities.browserVersion || '0', 10);++ // Skip on Firefox 156: it can't decode layered AV1 (L2T3_KEY) and stalls, so AV1 is disabled+ // when a Firefox client is present. https://bugzilla.mozilla.org/show_bug.cgi?id=2071030+ if (p1.driver.isFirefox && majorVersion === 156) {+ // eslint-disable-next-line @typescript-eslint/no-invalid-this+ this.skip();+ }+// Check if media is playing on p3.expect(await p3.execute(() => JitsiMeetJS.app.testing.isLargeVideoReceived())).toBe(true);- const majorVersion = parseInt(p1.driver.capabilities.browserVersion || '0', 10);-// Check if p1 is encoding in VP9, p2 in VP8 and p3 in AV1 as per their codec preferences.// Except on older versions of Firefox because they don't support VP9 encode.const p1ExpectedCodec = supportsVp9Encode(p1) ? VP9 : VP8;