Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from jitsi:master #139

Merged
merged 1 commit into from
Jun 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/test/java/org/jitsi/meet/test/CodecSelectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public void setupClass()
@Test
public void testAsymmetricCodecs()
{
ensureOneParticipant(getJitsiMeetUrl());
ensureOneParticipant(getJitsiMeetUrl()
.appendConfig("config.videoQuality.codecPreferenceOrder=[ 'VP9', 'VP8', 'AV1' ]"));
WebParticipant participant1 = getParticipant1();

WebParticipant participant2 = joinSecondParticipant(getJitsiMeetUrl()
Expand Down Expand Up @@ -153,7 +154,10 @@ public void testCodecSwitchOver()
{
hangUpAllParticipants();

ensureTwoParticipants();
JitsiMeetUrl url = getJitsiMeetUrl()
.appendConfig("config.videoQuality.codecPreferenceOrder=[ 'VP9', 'VP8', 'AV1' ]");

ensureTwoParticipants(url, url);
WebParticipant participant1 = getParticipant1();
WebParticipant participant2 = getParticipant2();

Expand All @@ -171,10 +175,10 @@ public void testCodecSwitchOver()
"return JitsiMeetJS.app.testing.isLocalCameraEncodingVp9();",
10);

JitsiMeetUrl url = getJitsiMeetUrl()
JitsiMeetUrl meetUrl = getJitsiMeetUrl()
.appendConfig("config.videoQuality.codecPreferenceOrder=[ 'VP8' ]");

WebParticipant participant3 = joinThirdParticipant(url, null);
WebParticipant participant3 = joinThirdParticipant(meetUrl, null);
participant3.waitToJoinMUC();
participant3.waitForIceConnected();
participant3.waitForSendReceiveData(true, true);
Expand Down
Loading