Add support for AV1

Add option --codec=av1.

PR #3713 <https://github.com/Genymobile/scrcpy/pull/3713>
This commit is contained in:
Romain Vimont 2023-02-03 12:42:22 +01:00
commit d2dce51038
7 changed files with 25 additions and 6 deletions

View file

@ -163,6 +163,8 @@ sc_server_get_codec_name(enum sc_codec codec) {
return "h264";
case SC_CODEC_H265:
return "h265";
case SC_CODEC_AV1:
return "av1";
default:
return NULL;
}