Skip to content

Commit

Permalink
fix: Don't force for old devices if user imports settings where force…
Browse files Browse the repository at this point in the history
… is enabled
  • Loading branch information
LisoUseInAIKyrios committed Dec 8, 2024
1 parent 15f4cec commit 021c4ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public enum ClientType {
);

private static boolean forceAVC() {
return Settings.SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC.get();
return Settings.SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC.get()
&& DeviceHardwareSupport.DEVICE_HAS_HARDWARE_DECODING_VP9;
}

/**
Expand Down

0 comments on commit 021c4ed

Please sign in to comment.