confirmed issue #2935 is false report, set_bitrate was called, and

bandwidth has obvious change if you watch car game video
This commit is contained in:
rustdesk 2023-02-05 18:20:22 +08:00
parent 255c58ef7b
commit 133fba573b

View File

@ -498,7 +498,7 @@ fn run(sp: GenericService) -> ResultType<()> {
video_qos.target_bitrate, video_qos.target_bitrate,
video_qos.fps video_qos.fps
); );
encoder.set_bitrate(video_qos.target_bitrate).unwrap(); allow_err!(encoder.set_bitrate(video_qos.target_bitrate));
spf = video_qos.spf(); spf = video_qos.spf();
} }
drop(video_qos); drop(video_qos);