mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add --audio-bit-rate
Add an option to configure the audio bit-rate.
This commit is contained in:
parent
f75dc2e477
commit
a331c2c653
12 changed files with 48 additions and 6 deletions
|
|
@ -221,6 +221,8 @@ execute_server(struct sc_server *server,
|
|||
}
|
||||
if (!params->audio) {
|
||||
ADD_PARAM("audio=false");
|
||||
} else if (params->audio_bit_rate) {
|
||||
ADD_PARAM("audio_bit_rate=%" PRIu32, params->audio_bit_rate);
|
||||
}
|
||||
if (params->video_codec != SC_CODEC_H264) {
|
||||
ADD_PARAM("video_codec=%s",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue