Skip to content

Commit 996821e

Browse files
authored
Merge pull request #18 from GetStream/feature/force-sw-codec-for-AV1-android
feat: force sw codec for AV1 by default on Android
2 parents 02a3349 + 0907899 commit 996821e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ example/ios/Flutter/flutter_export_environment.sh
4343
.pub/
4444
/build/
4545
/android/.gradle/
46+
**/android/app/.cxx
4647

4748

4849
android/.classpath

Diff for: android/src/main/java/io/getstream/webrtc/flutter/MethodCallHandlerImpl.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,9 @@ public void onMethodCall(MethodCall call, @NonNull Result notSafeResult) {
333333
forceSWCodecList.add(v.toString());
334334
}
335335
} else {
336-
// disable HW Codec for VP9 by default.
336+
// disable HW Codec for VP9 and AV1 by default.
337337
forceSWCodecList.add("VP9");
338+
forceSWCodecList.add("AV1");
338339
}
339340

340341
ConstraintsMap androidAudioConfiguration = null;

0 commit comments

Comments
 (0)