Skip to content

Commit

Permalink
fix(codecs) VP9 is enabled in Firefox 136
Browse files Browse the repository at this point in the history
  • Loading branch information
jallamsetty1 committed Feb 21, 2025
1 parent 6a0c803 commit 744488f
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions src/test/java/org/jitsi/meet/test/CodecSelectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,9 @@ public void testAsymmetricCodecs()
"return JitsiMeetJS.app.testing.isLargeVideoReceived();",
10);

// Check if p1 is sending VP9 and p2 is sending VP8 as per their codec preferences.
// Except on Firefox because it doesn't support VP9 encode.
if (participant1.getType().isFirefox())
{
TestUtils.waitForBoolean(participant1.getDriver(),
"return JitsiMeetJS.app.testing.isLocalCameraEncodingVp8();",
10);
}
else
{
TestUtils.waitForBoolean(participant1.getDriver(),
"return JitsiMeetJS.app.testing.isLocalCameraEncodingVp9();",
10);
}
TestUtils.waitForBoolean(participant1.getDriver(),
"return JitsiMeetJS.app.testing.isLocalCameraEncodingVp9();",
10);

TestUtils.waitForBoolean(participant2.getDriver(),
"return JitsiMeetJS.app.testing.isLocalCameraEncodingVp8();",
Expand Down

0 comments on commit 744488f

Please sign in to comment.